Fix dark theme in search.

Fixed #7821
This commit is contained in:
Greyson Parrelli 2018-05-22 12:26:40 -04:00
parent 622b3afce0
commit 3a827d1c48
4 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@
</item>
<item android:top="1dp">
<shape android:shape="rectangle" >
<solid android:color="@color/white" />
<solid android:color="?attr/search_background" />
</shape>
</item>
</layer-list>

View File

@ -9,7 +9,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:background="@color/white"
android:background="?attr/search_background"
android:visibility="gone" />
<android.support.v7.widget.RecyclerView

View File

@ -135,6 +135,7 @@
<attr name="shared_contact_details_titlebar" format="color"/>
<attr name="search_toolbar_background" format="color"/>
<attr name="search_background" format="color"/>
<attr name="contact_list_divider" format="reference"/>

View File

@ -240,6 +240,7 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Fix</item>
<item name="search_toolbar_background">@color/white</item>
<item name="search_background">@color/white</item>
<item name="invite_background">@color/signal_primary</item>
</style>
@ -364,6 +365,7 @@
<item name="group_members_dialog_icon">@drawable/ic_group_white_24dp</item>
<item name="preferenceTheme">@style/PreferenceThemeOverlay.Fix</item>
<item name="search_toolbar_background">@color/black</item>
<item name="search_background">@color/black</item>
<item name="invite_background">@color/black</item>
</style>