choose_type_and_account.xml revision b04fe4e82abb073b4e5d82563b0882cea0dcc139
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/common/assets/res/layout/list_content.xml
4**
5** Copyright 2011, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent"
22    android:layout_height="match_parent"
23    android:orientation="vertical"
24    android:paddingLeft="16dip"
25    android:paddingRight="16dip">
26
27    <TextView android:id="@+id/title"
28        android:layout_width="wrap_content"
29        android:layout_height="wrap_content"
30        android:textAppearance="?android:attr/textAppearanceMedium"
31        android:layout_gravity="left"
32        android:text="@string/choose_account_label"
33        android:paddingTop="16dip"
34        android:paddingBottom="16dip"
35        android:textColor="@android:color/holo_blue_light"
36    />
37
38    <View android:layout_height="3dip"
39          android:layout_width="match_parent"
40          android:background="#323232"/>
41    
42    <TextView android:id="@+id/description"
43        android:layout_width="wrap_content"
44        android:layout_height="wrap_content"
45        android:textAppearance="?android:attr/textAppearanceMedium"
46        android:layout_gravity="left|center_vertical"
47        android:text="@string/choose_account_text"
48        android:paddingTop="16dip"
49        android:paddingBottom="16dip"
50    />
51
52    <ListView android:id="@android:id/list"
53        android:layout_width="match_parent"
54        android:layout_height="wrap_content"
55        android:drawSelectorOnTop="false"
56        android:layout_weight="1"
57        android:scrollbarAlwaysDrawVerticalTrack="true" />
58
59    <Button android:id="@+id/addAccount"
60        android:layout_width="match_parent"
61        android:layout_height="wrap_content"
62        android:layout_marginLeft="2dip"
63        android:layout_marginRight="2dip"
64        android:textAppearance="?android:attr/textAppearanceMedium"
65        android:text="@string/add_account_button_label"
66    />
67</LinearLayout>
68