Side Fps Toast theme changes according to system theme.
Test: Manual Bug: 241484317 Change-Id: I728a54d1807ff818ba090259a38f12fe76b45ed4
This commit is contained in:
committed by
Joshua Mccloskey
parent
e830c6b55f
commit
84a06426a6
@@ -20,13 +20,14 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:minWidth="350dp"
|
android:minWidth="350dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:theme="?attr/alertDialogTheme">
|
android:background="@color/side_fps_toast_background">
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/fp_power_button_enrollment_title"
|
android:text="@string/fp_power_button_enrollment_title"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
|
android:textColor="@color/side_fps_text_color"
|
||||||
android:paddingLeft="20dp"/>
|
android:paddingLeft="20dp"/>
|
||||||
<Space
|
<Space
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@@ -39,5 +40,6 @@
|
|||||||
android:text="@string/fp_power_button_enrollment_button_text"
|
android:text="@string/fp_power_button_enrollment_button_text"
|
||||||
android:paddingRight="20dp"
|
android:paddingRight="20dp"
|
||||||
style="?android:attr/buttonBarNegativeButtonStyle"
|
style="?android:attr/buttonBarNegativeButtonStyle"
|
||||||
|
android:textColor="@color/side_fps_button_color"
|
||||||
android:maxLines="1"/>
|
android:maxLines="1"/>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -41,4 +41,9 @@
|
|||||||
<!-- Lily Language Picker language item view colors -->
|
<!-- Lily Language Picker language item view colors -->
|
||||||
<color name="language_picker_item_text_color">#F1F3F4</color>
|
<color name="language_picker_item_text_color">#F1F3F4</color>
|
||||||
<color name="language_picker_item_text_color_secondary">#BDC1C6</color>
|
<color name="language_picker_item_text_color_secondary">#BDC1C6</color>
|
||||||
|
|
||||||
|
<!-- Color for side fps toast dark theme-->
|
||||||
|
<color name="side_fps_toast_background">#2E3132</color>
|
||||||
|
<color name="side_fps_text_color">#EFF1F2</color>
|
||||||
|
<color name="side_fps_button_color">#33B9DB</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -454,4 +454,9 @@
|
|||||||
<!-- Lily Language Picker language item view colors -->
|
<!-- Lily Language Picker language item view colors -->
|
||||||
<color name="language_picker_item_text_color">#202124</color>
|
<color name="language_picker_item_text_color">#202124</color>
|
||||||
<color name="language_picker_item_text_color_secondary">#5F6368</color>
|
<color name="language_picker_item_text_color_secondary">#5F6368</color>
|
||||||
|
|
||||||
|
<!-- Color for side fps toast light theme -->
|
||||||
|
<color name="side_fps_toast_background">#F7F9FA</color>
|
||||||
|
<color name="side_fps_text_color">#191C1D</color>
|
||||||
|
<color name="side_fps_button_color">#00677E</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user