Skip to content

Commit f487ce8

Browse files
author
Iain McGinniss
committed
Remove "nascar" term from styles and layouts
Change-Id: Ie9502ffcd9b2d1467590dbb2004f441d3fcc9e56
1 parent 2438284 commit f487ce8

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

auth/src/main/java/com/firebase/ui/auth/ui/idp/AuthMethodPickerActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class AuthMethodPickerActivity
6969
@Override
7070
protected void onCreate(Bundle savedInstanceState) {
7171
super.onCreate(savedInstanceState);
72-
setContentView(R.layout.nascar_layout);
72+
setContentView(R.layout.auth_method_picker_layout);
7373
Button emailButton = (Button) findViewById(R.id.email_provider);
7474
emailButton.setOnClickListener(this);
7575
populateIdpList(mActivityHelper.flowParams.providerInfo);
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
android:layout_width="match_parent"
4-
android:layout_height="match_parent"
5-
android:gravity="center|bottom"
6-
>
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:gravity="center|bottom">
6+
77
<LinearLayout
8-
style="@style/FirebaseUI.NASCAR.ButtonHolder"
9-
android:id="@+id/btn_holder">
8+
android:id="@+id/btn_holder"
9+
style="@style/FirebaseUI.AuthMethodPicker.ButtonHolder">
10+
1011
<Button
1112
android:id="@+id/email_provider"
1213
style="@style/FirebaseUI.Button.AccountChooser.EmailButton"
1314
android:text="@string/email_button_text"/>
15+
1416
</LinearLayout>
17+
1518
</LinearLayout>

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@
194194
<item name="android:paddingBottom">8dp</item>
195195
</style>
196196

197-
<!-- NASCAR screen -->
198-
<style name="FirebaseUI.NASCAR"></style>
197+
<!-- Authentication method picker styles -->
198+
<style name="FirebaseUI.AuthMethodPicker" />
199199

200-
<style name="FirebaseUI.NASCAR.ButtonHolder">
200+
<style name="FirebaseUI.AuthMethodPicker.ButtonHolder">
201201
<item name="android:orientation">vertical</item>
202202
<item name="android:paddingBottom">56dp</item>
203203
<item name="android:layout_width">220dp</item>

0 commit comments

Comments
 (0)