abouttreesummaryrefslogcommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorJules Aguillon2021-12-28 19:12:50 +0100
committerJules Aguillon2021-12-28 19:12:50 +0100
commit40b1ec63a932606fb432ee81801acf147e9ee70e (patch)
tree8215f0203f449be7b1d2f06199f4ae726e3edd6c /res/layout
parent93704cca0ace3bff31dea5d3841ba185ad89398a (diff)
downloadunexpected-keyboard-40b1ec63a932606fb432ee81801acf147e9ee70e.tar.gz
unexpected-keyboard-40b1ec63a932606fb432ee81801acf147e9ee70e.zip
Use the themes abstraction
Themes replace 'colors.xml' and soon will replace 'dimens.xml'.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/emoji_pane.xml4
-rw-r--r--res/layout/keyboard.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/emoji_pane.xml b/res/layout/emoji_pane.xml
index 2d249f3..3c58330 100644
--- a/res/layout/emoji_pane.xml
+++ b/res/layout/emoji_pane.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:hardwareAccelerated="false">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:hardwareAccelerated="false" android:theme="@style/Dark">
<juloo.keyboard2.EmojiGroupButtonsBar android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content"/>
- <juloo.keyboard2.EmojiGridView android:id="@+id/emoji_grid" android:background="@color/bg" android:layout_width="fill_parent" android:layout_height="@dimen/emoji_grid_height"/>
+ <juloo.keyboard2.EmojiGridView android:id="@+id/emoji_grid" android:background="?attr/colorKeyboard" android:layout_width="fill_parent" android:layout_height="@dimen/emoji_grid_height"/>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<juloo.keyboard2.EmojiKeyButton style="@style/emojiKeyButton" key="switch_back_emoji"/>
<juloo.keyboard2.EmojiKeyButton style="@style/emojiKeyButton" android:layout_weight="4" key="space"/>
diff --git a/res/layout/keyboard.xml b/res/layout/keyboard.xml
index 43b3e47..b15f6d0 100644
--- a/res/layout/keyboard.xml
+++ b/res/layout/keyboard.xml
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
-<juloo.keyboard2.Keyboard2View xmlns:android="http://schemas.android.com/apk/res/android" android:background="@color/bg" android:hardwareAccelerated="false"/>
+<juloo.keyboard2.Keyboard2View xmlns:android="http://schemas.android.com/apk/res/android" android:hardwareAccelerated="false" android:theme="@style/Dark" android:background="?attr/colorKeyboard"/>