aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res/layout/button_bar.xml
blob: 1d576775f1cb8a814cef485436db8cd2180957d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?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_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>