mobile/android/base/resources/layout/notification_progress.xml

branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
equal deleted inserted replaced
-1:000000000000 0:a2dd231939de
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
5
6 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
7 android:layout_width="fill_parent"
8 android:layout_height="fill_parent"
9 android:orientation="vertical"
10 android:paddingTop="7dp"
11 android:paddingLeft="5dp">
12
13 <LinearLayout android:layout_width="fill_parent"
14 android:layout_height="wrap_content"
15 android:orientation="horizontal">
16
17 <ImageView android:id="@+id/notification_image"
18 android:layout_width="25dp"
19 android:layout_height="25dp"
20 android:scaleType="fitCenter"/>
21
22 <TextView android:id="@+id/notification_title"
23 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent.Title"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:layout_weight="1"
27 android:singleLine="true"
28 android:ellipsize="marquee"
29 android:fadingEdge="horizontal"
30 android:paddingLeft="10dp"/>
31
32 </LinearLayout>
33
34 <LinearLayout android:layout_width="fill_parent"
35 android:layout_height="wrap_content"
36 android:orientation="horizontal">
37 <TextView android:id="@+id/notification_text"
38 android:textAppearance="@android:style/TextAppearance.StatusBar.EventContent"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:paddingLeft="3dp"/>
42 <ProgressBar android:id="@+id/notification_progressbar"
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>

mercurial