mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
add toolbar button style for 'large' devices so buttons are bigger on
the Kindle Fire but not too big on phones.
This commit is contained in:
parent
8ebe180eab
commit
be9ed5b963
2 changed files with 11 additions and 0 deletions
|
@ -43,7 +43,9 @@
|
|||
android:orientation="horizontal"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="48dp"
|
||||
>
|
||||
|
||||
<ImageButton android:id="@+id/prevhint_button_horizontal"
|
||||
style="@style/toolbar_button"
|
||||
android:src="@drawable/prev_hint"
|
||||
|
|
9
xwords4/android/XWords4/res/values-large/styles.xml
Normal file
9
xwords4/android/XWords4/res/values-large/styles.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="toolbar_button">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_weight">1</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
Loading…
Reference in a new issue