summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar/res/layout/chrono_notification.xml
blob: 913a8606fd1b4131c6df5d575d875cb65eb7050c (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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="80sp"
    android:orientation="horizontal"
    >

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

        <ImageView android:id="@+id/icon"
            android:layout_width="wrap_content"
            android:layout_height="45dp"
            android:layout_gravity="center"
            android:scaleType="fitCenter"
            android:src="@android:drawable/sym_def_app_icon"
            />

        <Chronometer android:id="@+id/time"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:singleLine="true"
            android:textColor="#ffffffff" />

    </LinearLayout>

    <TextView android:id="@+id/appName"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_weight="1"
        android:paddingTop="4dp"
        android:textSize="12sp"
        android:textColor="#ffffffff"
        />

</LinearLayout>