Dark theme support for emoji variation selector.

This commit is contained in:
Greyson Parrelli 2018-11-15 11:43:38 -08:00
parent 3716d69b0b
commit ff9d5df0e0
4 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="5dp" />
<solid android:color="@color/core_grey_85" />
</shape>

View File

@ -4,6 +4,6 @@
android:orientation="horizontal" android:orientation="horizontal"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="@drawable/emoji_variation_selector_background_light"> android:background="?attr/emoji_variation_selector_background">
</LinearLayout> </LinearLayout>

View File

@ -64,6 +64,7 @@
<attr name="emoji_category_symbol" format="reference"/> <attr name="emoji_category_symbol" format="reference"/>
<attr name="emoji_category_flags" format="reference"/> <attr name="emoji_category_flags" format="reference"/>
<attr name="emoji_category_emoticons" format="reference"/> <attr name="emoji_category_emoticons" format="reference"/>
<attr name="emoji_variation_selector_background" format="reference|color" />
<attr name="quick_camera_icon" format="reference"/> <attr name="quick_camera_icon" format="reference"/>
<attr name="quick_mic_icon" format="reference"/> <attr name="quick_mic_icon" format="reference"/>

View File

@ -185,6 +185,7 @@
<item name="emoji_category_symbol">@drawable/emoji_category_symbol_light</item> <item name="emoji_category_symbol">@drawable/emoji_category_symbol_light</item>
<item name="emoji_category_flags">@drawable/emoji_category_flags_light</item> <item name="emoji_category_flags">@drawable/emoji_category_flags_light</item>
<item name="emoji_category_emoticons">@drawable/emoji_category_emoticons_light</item> <item name="emoji_category_emoticons">@drawable/emoji_category_emoticons_light</item>
<item name="emoji_variation_selector_background">@drawable/emoji_variation_selector_background_light</item>
<item name="conversation_item_bubble_background">@color/core_grey_05</item> <item name="conversation_item_bubble_background">@color/core_grey_05</item>
@ -362,6 +363,7 @@
<item name="emoji_category_symbol">@drawable/emoji_category_symbol_dark</item> <item name="emoji_category_symbol">@drawable/emoji_category_symbol_dark</item>
<item name="emoji_category_flags">@drawable/emoji_category_flags_dark</item> <item name="emoji_category_flags">@drawable/emoji_category_flags_dark</item>
<item name="emoji_category_emoticons">@drawable/emoji_category_emoticons_dark</item> <item name="emoji_category_emoticons">@drawable/emoji_category_emoticons_dark</item>
<item name="emoji_variation_selector_background">@drawable/emoji_variation_selector_background_dark</item>
<item name="quick_camera_icon">@drawable/quick_camera_dark</item> <item name="quick_camera_icon">@drawable/quick_camera_dark</item>
<item name="quick_mic_icon">@drawable/ic_mic_white_24dp</item> <item name="quick_mic_icon">@drawable/ic_mic_white_24dp</item>