aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-11-04 21:33:37 -0800
committerScott Jackson <daneren2005@gmail.com>2013-11-04 21:33:37 -0800
commit3f735b00f6e180bbd4a66f606bde0b8bb1b3620b (patch)
tree332eda1ee5ebdaa1831a16a91e16001e7a1b751e /res
parent2f3068bd3f2db71d4750000f1e39d286a42b77c8 (diff)
downloaddsub-3f735b00f6e180bbd4a66f606bde0b8bb1b3620b.tar.gz
dsub-3f735b00f6e180bbd4a66f606bde0b8bb1b3620b.tar.bz2
dsub-3f735b00f6e180bbd4a66f606bde0b8bb1b3620b.zip
Slightly better layout for buttons on tablets
Diffstat (limited to 'res')
-rw-r--r--res/layout/abstract_fragment_activity.xml39
1 files changed, 24 insertions, 15 deletions
diff --git a/res/layout/abstract_fragment_activity.xml b/res/layout/abstract_fragment_activity.xml
index 11357313..605b988a 100644
--- a/res/layout/abstract_fragment_activity.xml
+++ b/res/layout/abstract_fragment_activity.xml
@@ -55,22 +55,31 @@
android:text="@string/search.albums"/>
</LinearLayout>
- <ImageButton
- style="@style/PlaybackControl.Small"
- android:id="@+id/download_previous"
- android:src="?attr/media_button_backward"
- android:layout_centerVertical="true"/>
+ <LinearLayout
+ android:layout_height="wrap_content"
+ android:layout_width="0dp"
+ android:layout_weight="1">
- <ImageButton
- style="@style/PlaybackControl.Small"
- android:id="@+id/download_start"
- android:src="?attr/media_button_start"
- android:layout_centerVertical="true"/>
+ <ImageButton
+ style="@style/PlaybackControl.Small"
+ android:id="@+id/download_previous"
+ android:src="?attr/media_button_backward"
+ android:layout_width="0dp"
+ android:layout_weight="1"/>
- <ImageButton
- style="@style/PlaybackControl.Small"
- android:id="@+id/download_next"
- android:src="?attr/media_button_forward"
- android:layout_centerVertical="true"/>
+ <ImageButton
+ style="@style/PlaybackControl.Small"
+ android:id="@+id/download_start"
+ android:src="?attr/media_button_start"
+ android:layout_width="0dp"
+ android:layout_weight="1"/>
+
+ <ImageButton
+ style="@style/PlaybackControl.Small"
+ android:id="@+id/download_next"
+ android:src="?attr/media_button_forward"
+ android:layout_width="0dp"
+ android:layout_weight="1"/>
+ </LinearLayout>
</LinearLayout>
</LinearLayout> \ No newline at end of file