File tree 2 files changed +36
-1
lines changed
2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 61
61
/>
62
62
63
63
</android .support.design.widget.TextInputLayout>
64
+
65
+ <android .support.design.widget.TextInputLayout
66
+
67
+ app : theme =" @style/override_theme2"
68
+ android : layout_width =" fill_parent"
69
+ android : layout_height =" wrap_content" >
70
+
71
+ <android .support.v7.widget.AppCompatEditText
72
+ android : layout_width =" fill_parent"
73
+ android : layout_height =" wrap_content"
74
+ android : hint =" Special empty 2"
75
+ />
76
+
77
+ </android .support.design.widget.TextInputLayout>
78
+
79
+ <android .support.design.widget.TextInputLayout
80
+ app : theme =" @style/override_theme2"
81
+ android : layout_width =" fill_parent"
82
+ android : layout_height =" wrap_content" >
83
+
84
+ <android .support.v7.widget.AppCompatEditText
85
+ android : layout_width =" fill_parent"
86
+ android : layout_height =" wrap_content"
87
+ android : hint =" Special hint2"
88
+ android : text =" This should look different2"
89
+ />
90
+
91
+ </android .support.design.widget.TextInputLayout>
64
92
</LinearLayout >
Original file line number Diff line number Diff line change 5
5
<!-- Customize your theme here. -->
6
6
<item name =" colorPrimary" >#2196F3</item >
7
7
<item name =" colorPrimaryDark" >#1565C0</item >
8
- <item name =" colorAccent" >#ffbE63</item >
8
+ <item name =" colorAccent" >#ffbE63</item > <!-- Used for the underline and floating color -->
9
9
</style >
10
10
11
11
<style name =" override_theme" parent =" AppTheme" >
12
12
<item name =" colorPrimary" >#FF0000</item >
13
13
<item name =" colorPrimaryDark" >#00FF00</item >
14
14
<item name =" colorAccent" >#00FFFF</item >
15
+ <item name =" android:textColorHint" >#FF0000</item > <!-- Used for the hint text AND floating when text is filled in -->
16
+ </style >
17
+
18
+ <style name =" override_theme2" parent =" AppTheme" >
19
+ <item name =" colorControlNormal" >#7F0000</item > <!-- Used for the underline when not selected -->
20
+ <item name =" colorControlActivated" >#007F00</item > <!-- Underline and floating text when active -->
21
+ <item name =" colorControlHighlight" >#007F7F</item >
15
22
</style >
16
23
17
24
</resources >
You can’t perform that action at this time.
0 commit comments