summaryrefslogtreecommitdiff
path: root/android/res/layout/statusbar.xml
blob: cf49264eba0ca377bd5b0cdb4904cc048a42e776 (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
<?xml version="1.0" encoding="ISO-8859-1"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
	android:layout_width="fill_parent" 
	android:layout_height="fill_parent"
	android:paddingLeft="6dp"
	android:paddingRight="6dp"
    android:paddingTop="0dp"
    android:paddingBottom="0dp"
	android:orientation="horizontal">

	<ImageView android:id="@+id/artwork"
	    android:gravity="center"
		android:padding="2dp"
		android:scaleType="center"
		android:adjustViewBounds="false"
		android:layout_width="wrap_content"
		android:layout_height="fill_parent">
	</ImageView>
    <LinearLayout android:layout_width="match_parent" 
    	android:layout_height="wrap_content" 
    	android:orientation="vertical">
    	<LinearLayout android:layout_width="match_parent"
	    	android:layout_height="wrap_content"
	    	android:orientation="horizontal">
		    
	        <TextView android:id="@+id/title"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:focusable="true"
				android:ellipsize="end"
                android:textStyle="bold"
				android:singleLine="true"
				android:textAppearance="?android:attr/textAppearanceMediumInverse"
				android:gravity="center"
                android:paddingTop="0dp"
				android:paddingLeft="6dp" />
    	</LinearLayout>

		<LinearLayout android:layout_width="wrap_content" 
	    	android:layout_height="wrap_content"
	    	android:paddingLeft="3dp"
	        android:orientation="horizontal">
	        <TextView android:id="@+id/content"  
		        android:layout_gravity="left"
		        android:scrollHorizontally="true"
                android:maxLines="2"
		        android:ellipsize="end"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:textAppearance="?android:attr/textAppearanceSmallInverse"
		        />
		</LinearLayout>
    </LinearLayout>
</LinearLayout>