The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 1 | <?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 Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Wink Saville | 79085fc | 2009-06-09 10:27:23 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 10 | 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 Guy | 3a6cabb | 2010-01-08 15:07:12 -0800 | [diff] [blame] | 18 | android:layout_width="match_parent" |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 19 | android:layout_height="wrap_content" |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 20 | android:orientation="horizontal" |
| 21 | android:fitsSystemWindows="true"> |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 22 | |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 23 | <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 Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 38 | |
samalin | e985808 | 2018-05-30 22:18:44 +0800 | [diff] [blame] | 39 | <HorizontalScrollView |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 40 | android:layout_width="match_parent" |
samalin | e985808 | 2018-05-30 22:18:44 +0800 | [diff] [blame] | 41 | 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" |
samalin | e985808 | 2018-05-30 22:18:44 +0800 | [diff] [blame] | 47 | android:maxLines="1" |
| 48 | style="@android:style/TextAppearance.DeviceDefault.Widget.ActionBar.Title" /> |
| 49 | </HorizontalScrollView> |
| 50 | |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 51 | </LinearLayout> |
The Android Open Source Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 52 | |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 53 | <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 Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 58 | |
Takanori Nakano | 4854435 | 2016-12-02 18:32:59 +0900 | [diff] [blame] | 59 | <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 Project | 9d9730a | 2009-03-03 19:32:37 -0800 | [diff] [blame] | 68 | </LinearLayout> |