Dialog improvements.

This commit is contained in:
Juha Heinanen
2020-06-05 18:05:29 +03:00
parent 7e8a8e69db
commit c5d5b54671
4 changed files with 77 additions and 43 deletions
+14 -4
View File
@@ -1,12 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="20dp" >
android:orientation="vertical" >
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="?dialogPreferredPadding"
android:textSize="20sp"
android:background="@color/colorPrimary"
android:textColor="@color/colorWhite" />
<com.google.android.material.textfield.TextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:padding="?dialogPreferredPadding" >
<EditText
android:id="@+id/password"
@@ -26,4 +36,4 @@
</com.google.android.material.textfield.TextInputLayout>
</FrameLayout>
</LinearLayout>