blob: 05c91a09854be65e9d7bde1aa5759d88626c4d88 [file] [log] [blame]
Michael Kolbf2055602011-04-09 17:20:03 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2011 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
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
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
Michael Kolb2814a362011-05-19 15:49:41 -070017<LinearLayout
Michael Kolbf2055602011-04-09 17:20:03 -070018 xmlns:android="http://schemas.android.com/apk/res/android"
Michael Kolb2814a362011-05-19 15:49:41 -070019 android:id="@+id/main"
Michael Kolb4bd767d2011-05-27 11:33:55 -070020 android:layout_width="match_parent"
21 android:layout_height="wrap_content"
Michael Kolbf2055602011-04-09 17:20:03 -070022 android:orientation="vertical"
Michael Kolb9829b432011-06-04 13:29:00 -070023 android:background="@drawable/nav_tab_bg"
Michael Kolb2814a362011-05-19 15:49:41 -070024 android:focusable="false">
Michael Kolbf2055602011-04-09 17:20:03 -070025 <LinearLayout
26 android:id="@+id/titlebar"
27 android:orientation="horizontal"
28 android:layout_width="match_parent"
Michael Kolb9829b432011-06-04 13:29:00 -070029 android:layout_height="48dip"
Michael Kolb4bd767d2011-05-27 11:33:55 -070030 android:layout_gravity="center_horizontal"
Michael Kolb9829b432011-06-04 13:29:00 -070031 android:paddingLeft="32dip"
32 android:paddingRight="24dip">
Michael Kolbf2055602011-04-09 17:20:03 -070033 <TextView
34 android:id="@+id/title"
35 android:layout_width="0dip"
Michael Kolb2814a362011-05-19 15:49:41 -070036 android:layout_height="match_parent"
Michael Kolbf2055602011-04-09 17:20:03 -070037 android:layout_weight="1.0"
Michael Kolb2814a362011-05-19 15:49:41 -070038 android:gravity="center_vertical"
Michael Kolbf2055602011-04-09 17:20:03 -070039 android:singleLine="true"
40 android:ellipsize="end"
41 android:lines="1"
Michael Kolb9829b432011-06-04 13:29:00 -070042 android:textAppearance="?android:attr/textAppearanceSmall"
43 android:scrollHorizontally="true" />
44 <ImageView
45 android:id="@+id/closetab"
46 android:src="@drawable/ic_stop_holo_dark"
47 android:layout_gravity="center_vertical"
Michael Kolb2814a362011-05-19 15:49:41 -070048 android:layout_width="wrap_content"
Michael Kolb9829b432011-06-04 13:29:00 -070049 android:layout_height="wrap_content" />
Michael Kolb2814a362011-05-19 15:49:41 -070050 </LinearLayout>
Michael Kolb9ef259a2011-07-12 15:33:08 -070051 <ImageView
Michael Kolb2814a362011-05-19 15:49:41 -070052 android:id="@+id/tab_view"
53 android:layout_width="@dimen/nav_tab_width"
54 android:layout_height="@dimen/nav_tab_height"
Michael Kolb4bd767d2011-05-27 11:33:55 -070055 android:layout_gravity="center_horizontal"
Michael Kolb9ef259a2011-07-12 15:33:08 -070056 android:focusable="false" />
Michael Kolb2814a362011-05-19 15:49:41 -070057</LinearLayout>