File tree Expand file tree Collapse file tree 9 files changed +5
-17
lines changed
java/com/firebase/ui/auth/ui/idp Expand file tree Collapse file tree 9 files changed +5
-17
lines changed Original file line number Diff line number Diff line change 34
34
<!-- Auth UI demo -->
35
35
<activity
36
36
android : name =" .auth.AuthUiActivity"
37
- android : theme =" @style/AppTheme.NoActionbar"
38
37
android : label =" @string/name_auth_ui" />
39
38
<activity
40
39
android : name =" .auth.SignedInActivity"
41
- android : theme =" @style/AppTheme.NoActionbar"
42
40
android : label =" @string/name_auth_ui" />
43
41
44
42
<!-- Storage UI demo-->
Original file line number Diff line number Diff line change 6
6
<item name =" colorAccent" >@color/colorAccent</item >
7
7
</style >
8
8
9
- <style name =" AppTheme.NoActionbar" >
10
- <item name =" windowActionBar" >false</item >
11
- <item name =" windowNoTitle" >true</item >
12
- </style >
13
-
14
9
<style name =" PurpleTheme" parent =" FirebaseUI" >
15
10
<item name =" colorPrimary" >@color/material_deep_purple_500</item >
16
11
<item name =" colorPrimaryDark" >@color/material_deep_purple_700</item >
Original file line number Diff line number Diff line change 54
54
55
55
<activity
56
56
android : name =" .ui.idp.AuthMethodPickerActivity"
57
- android : theme =" @style/FirebaseUI.NoActionBar"
58
57
android : label =" @string/default_toolbar_title"
59
58
android : exported =" false" />
60
59
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ protected void onCreate(Bundle savedInstanceState) {
81
81
82
82
populateIdpList (mActivityHelper .getFlowParams ().providerInfo );
83
83
84
+ getSupportActionBar ().hide (); // Need to hide action bar programmatically - setting via theme doesn't work.
84
85
int logoId = mActivityHelper .getFlowParams ().logoId ;
85
86
if (logoId == AuthUI .NO_LOGO ) {
86
87
findViewById (R .id .logo_layout ).setVisibility (View .GONE );
Original file line number Diff line number Diff line change 3
3
<item >
4
4
<shape android : shape =" rectangle" >
5
5
<corners android : radius =" 3dp" />
6
- <solid android : color =" #D0021B " />
6
+ <solid android : color =" #747474 " />
7
7
</shape >
8
8
</item >
9
9
</selector >
Original file line number Diff line number Diff line change 4
4
android : layout_width =" match_parent"
5
5
android : layout_height =" match_parent"
6
6
android : clipToPadding =" false"
7
- android : background =" @color/white"
8
7
android : clipChildren =" false"
9
8
android : orientation =" horizontal"
10
9
android : weightSum =" 2" >
Original file line number Diff line number Diff line change 3
3
android : layout_width =" match_parent"
4
4
android : layout_height =" match_parent"
5
5
xmlns : tools =" http://schemas.android.com/tools"
6
- android : background =" @color/white"
7
6
android : clipChildren =" false"
8
7
android : clipToPadding =" false"
9
8
android : gravity =" center"
Original file line number Diff line number Diff line change 11
11
12
12
<color name =" transparent" >#00FFFFFF</color >
13
13
<color name =" black" >#000000</color >
14
+ <color name =" gray_1" >#e4e4e4</color >
14
15
<color name =" gray_2" >#d8d8d8</color >
15
16
<color name =" gray_3" >#bbbbbb</color >
16
17
<color name =" gray_4" >#888888</color >
Original file line number Diff line number Diff line change 13
13
<item name =" android:textColorPrimary" >@color/authui_inputTextColor</item >
14
14
<item name =" android:buttonStyle" >@style/FirebaseUI.Button</item >
15
15
<item name =" android:editTextStyle" >@style/FirebaseUI.EditText</item >
16
- </style >
17
-
18
- <style name =" FirebaseUI.NoActionBar" >
19
- <item name =" windowActionBar" >false</item >
20
- <item name =" windowNoTitle" >true</item >
16
+ <item name =" android:windowBackground" >@color/gray_1</item >
21
17
</style >
22
18
23
19
<style name =" FirebaseUI.Transparent" parent =" FirebaseUI" >
244
240
<item name =" android:lineSpacingExtra" >5sp</item >
245
241
<item name =" android:gravity" >center</item >
246
242
<item name =" android:textSize" >16sp</item >
247
- <item name =" android:textColor" >@color/gray_3 </item >
243
+ <item name =" android:textColor" >@color/gray_6 </item >
248
244
</style >
249
245
250
246
<style name =" FirebaseUI.FullWidthButtonSettleUp" parent =" FirebaseUI.Text" >
You can’t perform that action at this time.
0 commit comments