1
0
Fork 0

Closes #463 - Add attr for home divider color for private mode theming

master
Emily Kager 2019-02-12 16:58:27 -08:00 committed by Emily Kager
parent 2fa814947a
commit ffd3049d99
3 changed files with 4 additions and 1 deletions

View File

@ -78,7 +78,7 @@
android:id="@+id/homeDivider"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/photonGrey30"
android:background="?attr/homeDividerColor"
app:layout_constraintTop_toBottomOf="@id/toolbar_wrapper"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent"

View File

@ -22,6 +22,7 @@
<attr name="toolbarWrapperBackground" format="reference"/>
<attr name="toolbarTextColor" format="reference"/>
<attr name="navigationBarColorHome" format="reference"/>
<attr name="homeDividerColor" format="reference" />
<!-- Search fragment -->
<attr name="searchBackground" format="reference"/>

View File

@ -23,6 +23,7 @@
<item name="menuButtonTint">@android:color/black</item>
<item name="toolbarWrapperBackground">@drawable/home_search_background_light</item>
<item name="toolbarTextColor">@color/search_text</item>
<item name="homeDividerColor">@color/photonGrey30</item>
<!-- Search fragment colors -->
<item name="searchBackground">@color/off_white</item>
@ -62,6 +63,7 @@
<item name="menuButtonTint">@color/off_white</item>
<item name="toolbarWrapperBackground">@drawable/home_search_background_private</item>
<item name="toolbarTextColor">@color/off_white</item>
<item name="homeDividerColor">@color/search_private_background</item>
<!-- Search fragment colors -->
<item name="searchBackground">@color/private_browsing_bottom_gradient</item>