-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Squashed 'libs/editor/' changes from 2b066be..eb8d070
eb8d070 Merge pull request #311 from wordpress-mobile/issue/310-add-labels-to-link-edittext 6c99e24 wrap DialogLink's EditText inside TextInputLayout git-subtree-dir: libs/editor git-subtree-split: eb8d070e013e9c9ce30d20ba28825831b4689e79
- Loading branch information
Showing
2 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,41 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:orientation="vertical" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content"> | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical"> | ||
|
||
<android.support.design.widget.TextInputLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="@dimen/link_dialog_margin_inner" | ||
android:layout_marginLeft="@dimen/link_dialog_margin_outer" | ||
android:layout_marginRight="@dimen/link_dialog_margin_outer" | ||
android:layout_marginTop="@dimen/link_dialog_margin_outer"> | ||
|
||
<EditText | ||
android:id="@+id/linkURL" | ||
android:inputType="textUri" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/link_dialog_margin_outer" | ||
android:layout_marginLeft="@dimen/link_dialog_margin_outer" | ||
android:layout_marginRight="@dimen/link_dialog_margin_outer" | ||
android:layout_marginBottom="@dimen/link_dialog_margin_inner" | ||
android:hint="@string/link_enter_url" | ||
android:imeOptions="actionNext" | ||
tools:ignore="HardcodedText"/> | ||
android:inputType="textUri" | ||
tools:ignore="HardcodedText" /> | ||
</android.support.design.widget.TextInputLayout> | ||
|
||
<android.support.design.widget.TextInputLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="@dimen/link_dialog_margin_outer" | ||
android:layout_marginLeft="@dimen/link_dialog_margin_outer" | ||
android:layout_marginRight="@dimen/link_dialog_margin_outer" | ||
android:layout_marginTop="@dimen/link_dialog_margin_inner"> | ||
|
||
<EditText | ||
android:id="@+id/linkText" | ||
android:inputType="text" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="@dimen/link_dialog_margin_inner" | ||
android:layout_marginLeft="@dimen/link_dialog_margin_outer" | ||
android:layout_marginRight="@dimen/link_dialog_margin_outer" | ||
android:layout_marginBottom="@dimen/link_dialog_margin_outer" | ||
android:hint="@string/link_enter_url_text" /> | ||
</LinearLayout> | ||
android:hint="@string/link_enter_url_text" | ||
android:inputType="text" /> | ||
</android.support.design.widget.TextInputLayout> | ||
</LinearLayout> |