Skip to content

Commit 38b151f

Browse files
SUPERCILEXsamtstern
authored andcommitted
Fixup button styling (#822)
1 parent 72f884d commit 38b151f

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

auth/src/main/res/layout/fui_register_email_layout.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<Button
7878
android:id="@+id/button_create"
7979
style="@style/FirebaseUI.Button"
80-
android:layout_gravity="right"
8180
android:text="@string/fui_button_text_save"
8281
tools:ignore="RtlHardcoded" />
8382

auth/src/main/res/layout/fui_welcome_back_idp_prompt_layout.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323

2424
<Button
2525
android:id="@+id/welcome_back_idp_button"
26-
android:layout_width="wrap_content"
27-
android:layout_height="wrap_content"
28-
android:layout_gravity="end"
26+
style="@style/FirebaseUI.Button"
2927
android:text="@string/fui_sign_in_default" />
3028

3129
</LinearLayout>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<style name="FirebaseUI.Button" parent="@style/Widget.AppCompat.Button.Colored">
102102
<item name="android:layout_width">wrap_content</item>
103103
<item name="android:layout_height">wrap_content</item>
104-
<item name="android:layout_gravity">right</item>
104+
<item name="android:layout_gravity">end</item>
105105
</style>
106106

107107
<style name="FirebaseUI.VerifyPhoneButton" parent="FirebaseUI.Button">

0 commit comments

Comments
 (0)