PageRenderTime 30ms CodeModel.GetById 23ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/embedding/android/resources/layout/notification_progress.xml

http://github.com/zpao/v8monkey
XML | 53 lines | 49 code | 4 blank | 0 comment | 0 complexity | 10f72d579a9c4100fe21fb93246c80a3 MD5 | raw file
 1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 2        android:layout_width="fill_parent"
 3        android:layout_height="fill_parent"
 4        android:orientation="vertical"
 5        android:paddingTop="7dp"
 6        android:paddingLeft="5dp"
 7        >
 8
 9    <LinearLayout
10        android:layout_width="fill_parent"
11        android:layout_height="wrap_content"
12        android:orientation="horizontal"
13        >
14        <ImageView android:id="@+id/notificationImage"
15            android:layout_width="25dp"
16            android:layout_height="25dp"
17            android:scaleType="fitCenter" />
18        <TextView android:id="@+id/notificationTitle"
19            android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
20            android:layout_width="fill_parent"
21            android:layout_height="wrap_content"
22            android:layout_weight="1"
23            android:singleLine="true"
24            android:ellipsize="marquee"
25            android:fadingEdge="horizontal"
26            android:paddingLeft="10dp"
27            />
28    </LinearLayout>
29
30    <LinearLayout
31        android:layout_width="fill_parent"
32        android:layout_height="wrap_content"
33        android:orientation="horizontal"
34        >
35        <TextView android:id="@+id/notificationText"
36            android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
37            android:layout_width="wrap_content"
38            android:layout_height="wrap_content"
39            android:paddingLeft="3dp"
40            />
41
42        <ProgressBar android:id="@+id/notificationProgressbar"
43            style="?android:attr/progressBarStyleHorizontal"
44            android:layout_width="fill_parent"
45            android:layout_height="wrap_content"
46            android:layout_marginTop="1dip"
47            android:layout_marginBottom="1dip"
48            android:layout_marginLeft="4dip"
49            android:layout_marginRight="10dip"
50            android:layout_centerHorizontal="true" />
51    </LinearLayout>
52
53</LinearLayout>