updated the Small MainView to use the Material 2 theme
This commit is contained in:
parent
4b8ccdd2b1
commit
b28d4cb458
42 changed files with 358 additions and 571 deletions
|
|
@ -3,130 +3,52 @@
|
|||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/numpad_key_height"
|
||||
style="@style/TTheme.CommandPalette.Wrapper"
|
||||
tools:showIn="@layout/main_small">
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_101"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_dpad_left"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_1"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_dpad_left" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_102"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_select_none"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_2"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_select_none" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_103"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_dpad_right"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_3"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_dpad_right" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_104"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_word_back"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_4"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_word_back" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_105"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_select_all"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_5"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_select_all" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_106"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_word_forward"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_6"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_word_forward" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_107"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_cut"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_7"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_cut" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_108"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_copy"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
|
||||
<View
|
||||
android:id="@+id/separator_10_8"
|
||||
style="@style/numSeparator" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_copy" />
|
||||
|
||||
<io.github.sspanak.tt9.ui.main.keys.SoftKeyFn
|
||||
android:id="@+id/soft_key_109"
|
||||
style="@android:style/Widget.Holo.Button.Borderless"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:drawableBottom="@drawable/ic_txt_paste"
|
||||
android:paddingBottom="@dimen/soft_key_drawable_bottom_padding"
|
||||
android:textSize="@dimen/soft_key_drawable_title_size" />
|
||||
style="@style/TTheme.CommandPalette.Key"
|
||||
android:drawableBottom="@drawable/ic_txt_paste" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue