1 <?xml version="1.0" encoding="utf-8"?>
4 ** Copyright 2008, The Android Open Source Project
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
10 ** http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
20 <TabWidget xmlns:android="http://schemas.android.com/apk/res/android"
21 android:id="@+id/buttonbar"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content" >
26 android:id="@+id/artisttab"
27 android:focusable="true"
28 android:background="@drawable/buttonbarbackground"
29 android:drawableTop="@drawable/ic_tab_artists"
30 android:text="@string/browse_menu"
31 android:textAppearance="?android:attr/textAppearanceSmall"
32 android:paddingTop="7dip"
33 android:paddingBottom="2dip"
34 android:gravity="center"
35 android:layout_weight="1"
36 android:layout_marginLeft="-3dip"
37 android:layout_marginRight="-3dip"
38 android:layout_width="wrap_content"
39 android:layout_height="64dip" />
42 android:id="@+id/albumtab"
43 android:focusable="true"
44 android:background="@drawable/buttonbarbackground"
45 android:drawableTop="@drawable/ic_tab_albums"
46 android:text="@string/albums_menu"
47 android:textAppearance="?android:attr/textAppearanceSmall"
48 android:paddingTop="7dip"
49 android:paddingBottom="2dip"
50 android:gravity="center"
51 android:layout_weight="1"
52 android:layout_marginLeft="-3dip"
53 android:layout_marginRight="-3dip"
54 android:layout_width="wrap_content"
55 android:layout_height="64dip" />
58 android:id="@+id/songtab"
59 android:focusable="true"
60 android:background="@drawable/buttonbarbackground"
61 android:drawableTop="@drawable/ic_tab_songs"
62 android:text="@string/tracks_menu"
63 android:textAppearance="?android:attr/textAppearanceSmall"
64 android:paddingTop="7dip"
65 android:paddingBottom="2dip"
66 android:gravity="center"
67 android:layout_weight="1"
68 android:layout_marginLeft="-3dip"
69 android:layout_marginRight="-3dip"
70 android:layout_width="wrap_content"
71 android:layout_height="64dip" />
74 android:id="@+id/playlisttab"
75 android:focusable="true"
76 android:background="@drawable/buttonbarbackground"
77 android:drawableTop="@drawable/ic_tab_playlists"
78 android:text="@string/playlists_menu"
79 android:textAppearance="?android:attr/textAppearanceSmall"
80 android:paddingTop="7dip"
81 android:paddingBottom="2dip"
82 android:gravity="center"
83 android:layout_weight="1"
84 android:layout_marginLeft="-3dip"
85 android:layout_marginRight="-3dip"
86 android:layout_width="wrap_content"
87 android:layout_height="64dip" />
90 android:id="@+id/nowplayingtab"
91 android:focusable="false"
92 android:background="@drawable/buttonbarbackground"
93 android:drawableTop="@drawable/ic_tab_playback"
94 android:text="@string/nowplaying_title"
95 android:textAppearance="?android:attr/textAppearanceSmall"
96 android:paddingTop="7dip"
97 android:paddingBottom="2dip"
98 android:gravity="center"
99 android:layout_weight="1"
100 android:layout_marginLeft="3dip"
101 android:layout_marginRight="-3dip"
102 android:layout_width="wrap_content"
103 android:layout_height="64dip" />