blob: 52f49c1ab0ad3e1c15c20ae63992592816e20250 [file] [log] [blame]
The Android Open Source Project0c908882009-03-03 19:32:16 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** assets/res/any/layout/browser_bookmark_item.xml
5**
6** Copyright 2006, The Android Open Source Project
7**
8** Licensed under the Apache License, Version 2.0 (the "License");
9** you may not use this file except in compliance with the License.
10** You may obtain a copy of the License at
11**
12** http://www.apache.org/licenses/LICENSE-2.0
13**
14** Unless required by applicable law or agreed to in writing, software
15** distributed under the License is distributed on an "AS IS" BASIS,
16** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17** See the License for the specific language governing permissions and
18** limitations under the License.
19*/
20-->
21
22<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy15b8ec62010-01-08 15:06:43 -080023 android:layout_width="match_parent"
Leon Scroggins III1c330f42010-03-22 10:17:58 -040024 android:layout_height="wrap_content"
25 android:paddingRight="?android:attr/scrollbarSize"
26 >
The Android Open Source Project0c908882009-03-03 19:32:16 -080027
28 <ImageView android:id="@+id/download_icon"
29 android:layout_width="@android:dimen/app_icon_size"
30 android:layout_height="@android:dimen/app_icon_size"
31 android:layout_alignParentTop="true"
32 android:layout_alignParentLeft="true"
33 android:scaleType="fitCenter"
34 />
35
36 <TextView android:id="@+id/download_title"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:maxLines="1"
40 android:layout_alignParentTop="true"
41 android:layout_toRightOf="@id/download_icon"
42 android:textAppearance="?android:attr/textAppearanceMedium"
43 />
44 <TextView android:id="@+id/domain"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_toRightOf="@id/download_icon"
48 android:layout_below="@id/download_title"
49 android:maxLines="1"
50 android:textAppearance="?android:attr/textAppearanceSmall"
51 />
52
53 <TextView android:id="@+id/complete_date"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:maxLines="1"
57 android:textAppearance="?android:attr/textAppearanceSmall"
58 android:layout_below="@id/domain"
59 android:layout_alignParentRight="true"
60 android:visibility="gone"
61 />
62
63 <TextView android:id="@+id/complete_text"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:layout_below="@id/domain"
67 android:layout_toRightOf="@id/download_icon"
68 android:layout_toLeftOf="@id/complete_date"
69 android:textAppearance="?android:attr/textAppearanceSmall"
70 android:visibility="gone"
71 />
72
73 <ProgressBar android:id="@+id/download_progress"
74 style="?android:attr/progressBarStyleHorizontal"
Romain Guy15b8ec62010-01-08 15:06:43 -080075 android:layout_width="match_parent"
The Android Open Source Project0c908882009-03-03 19:32:16 -080076 android:layout_height="wrap_content"
77 android:layout_below="@id/download_icon"
78 android:layout_alignParentLeft="true"
79 android:layout_alignParentRight="true"
80 android:max="100"
81 />
82 <TextView android:id="@+id/progress_text"
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:maxLines="1"
86 android:textAppearance="?android:attr/textAppearanceSmall"
87 android:layout_centerHorizontal="true"
88 android:layout_below="@id/download_progress"
89 />
90</RelativeLayout>
91