aboutsummaryrefslogtreecommitdiff
path: root/res/layout/main_buttons.xml
blob: 3c190cca456623b78eb806ffe2a10e41dcc82cb7 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="wrap_content">

    <LinearLayout
            android:id="@+id/main_select_server"
            android:orientation="horizontal"
            android:paddingTop="2dip"
            android:paddingBottom="2dip"
            android:paddingLeft="6dp"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:minHeight="?android:attr/listPreferredItemHeight">

        <ImageView
                android:src="?attr/select_server"
                android:layout_gravity="center_vertical"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"/>

        <LinearLayout
                android:orientation="vertical"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content">

            <TextView android:id="@+id/main.select_server_1"
                      android:text="@string/main.select_server"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="10dip"
                      android:layout_marginTop="6dip"
                      android:textAppearance="?android:attr/textAppearanceLarge"/>

            <TextView android:id="@+id/main.select_server_2"
                      android:layout_width="fill_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="10dip"
                      android:textAppearance="?android:attr/textAppearanceSmall"/>

        </LinearLayout>
    </LinearLayout>
	
	<TextView
		android:id="@+id/main_offline"
		android:text="@string/main.offline"
		android:drawablePadding="12dip"
		android:drawableLeft="?attr/offline_icon"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:gravity="center_vertical"
        android:paddingLeft="6dp"
		android:paddingBottom="4dp"
		android:minHeight="50dip"/>

	<TextView
		android:id="@+id/main_albums"
		android:text="@string/main.albums_title"
		style="@style/MainAlbumButtonLabel"/>

	<LinearLayout
		android:id="@+id/main_albums_newest"
		android:layout_width="fill_parent"
		android:layout_height="wrap_content"
		android:minHeight="46dip">

		<TextView
			android:layout_width="wrap_content"
			android:layout_height="fill_parent"
			android:text="@string/main.albums_newest"
			style="@style/MainAlbumButton"/>

		<TextView
			android:id="@+id/main_albums_recent_count"
			android:layout_width="32dp"
			android:layout_height="32dp"
			android:layout_marginRight="12dp"
			android:background="@drawable/ic_number_border"
			android:focusable="false"
			android:paddingRight="10dp"
			android:layout_marginLeft="20px"
			android:layout_marginBottom="4px"
			android:text="99"
			android:textAppearance="?android:attr/textAppearanceSmallPopupMenu"
			android:textSize="11sp"
			android:gravity="right|center_vertical"
			android:layout_gravity="center_vertical"
			android:visibility="gone"/>
	</LinearLayout>

	<TextView
		android:id="@+id/main_albums_recent"
		android:text="@string/main.albums_recent"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_frequent"
		android:text="@string/main.albums_frequent"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_highest"
		android:text="@string/main.albums_highest"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_starred"
		android:text="@string/main.albums_starred"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_genres"
		android:text="@string/main.albums_genres"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_year"
		android:text="@string/main.albums_year"
		style="@style/MainAlbumButton"/>
	<TextView
		android:id="@+id/main_albums_random"
		android:text="@string/main.albums_random"
		style="@style/MainAlbumButton"/>

</LinearLayout>