blob: 562e4dca8fcc74f9552663150c6c57c902852b5d [file] [log] [blame]
The Android Open Source Project9d9730a2009-03-03 19:32:37 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Wink Saville79085fc2009-06-09 10:27:23 -07007
The Android Open Source Project9d9730a2009-03-03 19:32:37 -08008 http://www.apache.org/licenses/LICENSE-2.0
Wink Saville79085fc2009-06-09 10:27:23 -07009
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Romain Guy3a6cabb2010-01-08 15:07:12 -080018 android:layout_width="match_parent"
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080019 android:layout_height="wrap_content"
Takanori Nakano48544352016-12-02 18:32:59 +090020 android:orientation="horizontal"
21 android:fitsSystemWindows="true">
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080022
Takanori Nakano48544352016-12-02 18:32:59 +090023 <LinearLayout android:id="@+id/left_container"
24 android:layout_width="wrap_content"
25 android:layout_height="wrap_content"
26 android:orientation="horizontal"
27 android:layout_weight="1"
28 android:layout_centerVertical="true">
29 <ImageView android:id="@+id/title_icon"
30 android:visibility="gone"
31 android:layout_width="32dip"
32 android:layout_height="32dip"
33 android:layout_marginLeft="2dip"
34 android:layout_marginRight="9dip"
35 android:layout_gravity="center_vertical"
36 android:layout_alignParentLeft="true"
37 android:scaleType="fitCenter" />
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080038
samaline9858082018-05-30 22:18:44 +080039 <HorizontalScrollView
Takanori Nakano48544352016-12-02 18:32:59 +090040 android:layout_width="match_parent"
samaline9858082018-05-30 22:18:44 +080041 android:layout_height="match_parent"
42 android:scrollbars="none">
43 <TextView android:id="@+id/title_text"
44 android:gravity="center_vertical"
45 android:layout_width="match_parent"
46 android:layout_height="32dip"
samaline9858082018-05-30 22:18:44 +080047 android:maxLines="1"
48 style="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title" />
49 </HorizontalScrollView>
50
Takanori Nakano48544352016-12-02 18:32:59 +090051 </LinearLayout>
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080052
Takanori Nakano48544352016-12-02 18:32:59 +090053 <LinearLayout android:id="@+id/right_container"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_alignParentRight="true"
57 android:layout_centerVertical="true">
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080058
Takanori Nakano48544352016-12-02 18:32:59 +090059 <ProgressBar android:id="@+id/progress_bar"
60 style="?android:attr/progressBarStyleSmallTitle"
61 android:layout_width="32dip"
62 android:layout_height="32dip"
63 android:layout_marginLeft="5dip"
64 android:layout_centerVertical="true"
65 android:visibility="gone"
66 android:max="10000" />
67 </LinearLayout>
The Android Open Source Project9d9730a2009-03-03 19:32:37 -080068</LinearLayout>