Consolidate edittext alert dialogs into one layout
This commit is contained in:
parent
8371a508a2
commit
bf7d98f359
6 changed files with 44 additions and 52 deletions
18
app/src/main/res/layout/dialog_edit_text.xml
Normal file
18
app/src/main/res/layout/dialog_edit_text.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clickable="false"
|
||||
android:paddingLeft="@dimen/video_item_search_padding"
|
||||
android:paddingTop="@dimen/video_item_search_padding"
|
||||
android:paddingRight="@dimen/video_item_search_padding">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/dialogEditText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
android:maxLines="1" />
|
||||
</RelativeLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue