Skip to content
This repository was archived by the owner on Sep 3, 2023. It is now read-only.

Commit 1f7b433

Browse files
authored
Do not set app:hintEnabled and remove styles in/for md_dialog_stub_input, fixes #1857
1 parent 985e161 commit 1f7b433

File tree

2 files changed

+13
-35
lines changed

2 files changed

+13
-35
lines changed
Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<FrameLayout
3-
xmlns:android="http://schemas.android.com/apk/res/android"
4-
xmlns:app="http://schemas.android.com/apk/res-auto"
2+
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
53
xmlns:tools="http://schemas.android.com/tools"
64
android:layout_width="match_parent"
75
android:layout_height="wrap_content"
8-
android:paddingBottom="@dimen/md_dialog_frame_margin_vertical_less"
96
android:paddingLeft="@dimen/md_dialog_frame_margin_horizontal"
107
android:paddingRight="@dimen/md_dialog_frame_margin_horizontal"
11-
>
8+
android:paddingBottom="@dimen/md_dialog_frame_margin_vertical_less">
129

13-
<com.google.android.material.textfield.TextInputLayout
14-
android:id="@+id/md_input_layout"
15-
app:hintEnabled="false"
16-
style="@style/MD_Dialog_Input_Layout"
17-
>
18-
<com.google.android.material.textfield.TextInputEditText
19-
android:id="@+id/md_input_message"
20-
tools:text="Hello, World!"
21-
style="@style/MD_Dialog_Input_Layout.Message"
22-
/>
23-
</com.google.android.material.textfield.TextInputLayout>
10+
<com.google.android.material.textfield.TextInputLayout
11+
android:id="@+id/md_input_layout"
12+
android:layout_width="match_parent"
13+
android:layout_height="wrap_content">
14+
15+
<com.google.android.material.textfield.TextInputEditText
16+
android:id="@+id/md_input_message"
17+
android:layout_width="match_parent"
18+
android:layout_height="wrap_content"
19+
tools:text="Hello, World!" />
20+
</com.google.android.material.textfield.TextInputLayout>
2421

2522
</FrameLayout>

input/src/main/res/values/styles.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)