renaming our keyboard related styles

This commit is contained in:
tibbi 2022-01-21 20:11:53 +01:00
parent e69a48aa0f
commit 1af9d28107
4 changed files with 5 additions and 7 deletions

View File

@ -1,6 +1,6 @@
<com.simplemobiletools.keyboard.views.MyKeyboardView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/mini_keyboard_view"
style="@style/Widget.KeyboardViewPopup"
style="@style/MyKeyboardViewPopup"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/minikeyboard_background" />

View File

@ -1,6 +1,6 @@
<com.simplemobiletools.keyboard.views.MyKeyboardView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/keyboard_view"
style="@style/Widget.KeyboardView"
style="@style/MyKeyboardView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"

View File

@ -41,8 +41,6 @@
<attr name="keyLabel" format="string" />
<!-- The icon to display on the key instead of the label. -->
<attr name="keyIcon" format="reference" />
<!-- Mode of the keyboard. If the mode doesn't match the requested keyboard mode, the key will be skipped. -->
<attr name="keyboardMode" />
<!-- Top small number shown above letters of the first row. -->
<attr name="topSmallNumber" format="string" />
</declare-styleable>

View File

@ -2,15 +2,15 @@
<style name="AppTheme" parent="AppTheme.Base" />
<style name="Widget">
<style name="MyKeyboard">
<item name="itemTextAppearance">?attr/itemTextAppearance</item>
</style>
<style name="Widget.KeyboardView" parent="Widget">
<style name="MyKeyboardView" parent="MyKeyboard">
<item name="keyTextSize">@dimen/keyboard_text_size</item>
</style>
<style name="Widget.KeyboardViewPopup" parent="Widget.KeyboardView">
<style name="MyKeyboardViewPopup" parent="MyKeyboard">
<item name="keyTextSize">@dimen/preview_text_size</item>
</style>
</resources>