• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
17<merge xmlns:android="http://schemas.android.com/apk/res/android">
18    <!-- fat title over list views -->
19
20    <LinearLayout
21        android:layout_width="fill_parent"
22        android:layout_height="?android:attr/listPreferredItemHeight"
23        android:orientation="horizontal"
24        android:background="@drawable/text_box_light"
25        android:gravity="center" >
26        <View
27            android:id="@+id/chip"
28            android:background="@drawable/appointment_indicator_leftside_1"
29            android:layout_width="4dip"
30            android:layout_height="56dip"
31            android:layout_centerVertical="true" />
32        <LinearLayout
33            android:layout_width="0dip"
34            android:layout_height="wrap_content"
35            android:layout_weight="1"
36            android:layout_marginLeft="8dip"
37            android:orientation="vertical" >
38            <TextView
39                android:id="@+id/account_name"
40                android:textAppearance="?android:attr/textAppearanceMedium"
41                android:textColor="?android:attr/textColorPrimary"
42                android:layout_width="wrap_content"
43                android:layout_height="wrap_content" />
44            <TextView
45                android:id="@+id/account_status"
46                android:textAppearance="?android:attr/textAppearanceSmall"
47                android:textColor="?android:attr/textColorTertiary"
48                android:layout_width="wrap_content"
49                android:layout_height="wrap_content" />
50        </LinearLayout>
51        <Button
52            android:id="@+id/button_compose"
53            android:layout_width="wrap_content"
54            android:layout_height="wrap_content"
55            android:background="@*android:drawable/ic_menu_compose" />
56        <!-- TODO: Make refresh & progress take the same space so we can toggle them -->
57        <Button
58            android:id="@+id/button_refresh"
59            android:layout_width="wrap_content"
60            android:layout_height="wrap_content"
61            android:background="@*android:drawable/ic_menu_refresh" />
62        <!-- heavy padding & margining is just to make it flicker less when
63             swapping with button.  totally non-final. -->
64        <ProgressBar
65            android:id="@+id/progress"
66            android:layout_height="wrap_content"
67            android:layout_width="wrap_content"
68            android:layout_marginRight="4dip"
69            android:visibility="gone"
70            android:paddingLeft="14dip"
71            android:paddingRight="14dip"
72            style="?android:attr/progressBarStyleSmall" />
73    </LinearLayout>
74</merge>