Skip to content

Commit f29b575

Browse files
committed
Fixes FirebaseLoginPrompt input colors
1 parent 4f730d7 commit f29b575

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

library/src/main/res/layout/fragment_firebase_login.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626
android:id="@+id/email"
2727
android:ems="10"
2828
android:hint="Email"
29-
android:paddingTop="20dp" />
29+
android:paddingTop="20dp"
30+
style="@style/FirebaseEditTextTheme"
31+
android:theme="@style/FirebaseEditTextTheme"/>
3032

3133
<EditText
3234
android:layout_width="match_parent"
@@ -35,7 +37,9 @@
3537
android:ems="10"
3638
android:hint="Password"
3739
android:paddingTop="20dp"
38-
android:password="true" />
40+
android:password="true"
41+
style="@style/FirebaseEditTextTheme"
42+
android:theme="@style/FirebaseEditTextTheme"/>
3943

4044
<Button
4145
android:layout_width="match_parent"

library/src/main/res/values/style.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<style name="FirebaseEditTextTheme">
4+
<item name="colorControlActivated">#1194F6</item>
5+
<!-- colorControlActivated & colorControlHighlight use the colorAccent color by default -->
6+
</style>
7+
</resources>

0 commit comments

Comments
 (0)