aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/button_bar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-android/res/layout/button_bar.xml')
-rw-r--r--subsonic-android/res/layout/button_bar.xml61
1 files changed, 61 insertions, 0 deletions
diff --git a/subsonic-android/res/layout/button_bar.xml b/subsonic-android/res/layout/button_bar.xml
new file mode 100644
index 00000000..59b18437
--- /dev/null
+++ b/subsonic-android/res/layout/button_bar.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/button_bar"
+ android:orientation="vertical"
+ android:layout_gravity="bottom"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <View
+ android:layout_width="fill_parent"
+ android:layout_height="1px"
+ android:background="@color/dividerColor"/>
+
+ <LinearLayout android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
+
+ <ImageButton android:id="@+id/button_bar_home"
+ android:src="@drawable/menu_home"
+ android:contentDescription="@string/button_bar.home"
+ android:background="@drawable/menubar_button"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageButton android:id="@+id/button_bar_music"
+ android:src="@drawable/menu_browse"
+ android:contentDescription="@string/button_bar.browse"
+ android:background="@drawable/menubar_button"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageButton android:id="@+id/button_bar_search"
+ android:src="@drawable/menu_search"
+ android:contentDescription="@string/button_bar.search"
+ android:background="@drawable/menubar_button"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageButton android:id="@+id/button_bar_playlists"
+ android:src="@drawable/menu_playlists"
+ android:contentDescription="@string/button_bar.playlists"
+ android:background="@drawable/menubar_button"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ <ImageButton android:id="@+id/button_bar_now_playing"
+ android:src="@drawable/menu_now_playing"
+ android:contentDescription="@string/button_bar.now_playing"
+ android:background="@drawable/menubar_button"
+ android:layout_weight="1"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"/>
+
+ </LinearLayout>
+</LinearLayout>
+