res/layout/account_settings.xml
author "Vincent Veronis"
Sat, 16 Apr 2011 13:16:28 +0200
changeset 884 b5104ccb1916
permissions -rw-r--r--
Override AccountSettings
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
884
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     2
	<!--
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     3
		/* //device/apps/common/assets/res/layout/list_content.xml ** **
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     4
		Copyright 2006, The Android Open Source Project ** ** Licensed under
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     5
		the Apache License, Version 2.0 (the "License"); ** you may not use
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     6
		this file except in compliance with the License. ** You may obtain a
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     7
		copy of the License at ** **
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     8
		http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
     9
		applicable law or agreed to in writing, software ** distributed under
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    10
		the License is distributed on an "AS IS" BASIS, ** WITHOUT WARRANTIES
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    11
		OR CONDITIONS OF ANY KIND, either express or implied. ** See the
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    12
		License for the specific language governing permissions and **
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    13
		limitations under the License. */
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    14
	-->
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    15
<LinearLayout
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    16
	xmlns:android="http://schemas.android.com/apk/res/android"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    17
	android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    18
	android:layout_height="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    19
	android:orientation="vertical">
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    20
	<LinearLayout
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    21
		xmlns:android="http://schemas.android.com/apk/res/android"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    22
		android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    23
		android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    24
		android:id="@+id/title_area"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    25
		android:orientation="horizontal">
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    26
		<ImageView
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    27
			android:id="@+id/provider_icon"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    28
			android:layout_width="48dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    29
			android:layout_height="48dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    30
			android:layout_margin="5dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    31
			android:layout_gravity="center_vertical" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    32
		<LinearLayout
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    33
			android:layout_width="0dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    34
			android:layout_weight="1"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    35
			android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    36
			android:orientation="vertical">
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    37
			<TextView
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    38
				android:id="@+id/user_id"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    39
				android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    40
				android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    41
				android:textStyle="bold"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    42
				android:singleLine="true"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    43
				android:ellipsize="end"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    44
				android:gravity="center_vertical"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    45
				android:layout_marginTop="5dip" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    46
			<TextView
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    47
				android:id="@+id/provider_id"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    48
				android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    49
				android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    50
				android:singleLine="true"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    51
				android:ellipsize="end"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    52
				android:layout_gravity="bottom"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    53
				android:layout_marginBottom="5dip" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    54
		</LinearLayout>
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    55
	</LinearLayout>
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    56
	<ListView
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    57
		xmlns:android="http://schemas.android.com/apk/res/android"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    58
		android:id="@android:id/list"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    59
		android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    60
		android:layout_height="0dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    61
		android:layout_weight="1"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    62
		android:drawSelectorOnTop="false"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    63
		android:scrollbarAlwaysDrawVerticalTrack="true" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    64
	<TextView
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    65
		android:id="@+id/sync_settings_error_info"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    66
		android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    67
		android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    68
		android:text="SYNC FAILING" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    69
	<LinearLayout
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    70
		android:id="@+id/remove_account_area"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    71
		android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    72
		android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    73
		android:orientation="horizontal"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    74
		android:background="@android:drawable/bottom_bar">
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    75
		<View
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    76
			android:layout_width="0dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    77
			android:layout_height="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    78
			android:layout_weight="1" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    79
		<Button
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    80
			android:id="@+id/remove_account_button"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    81
			android:layout_width="0dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    82
			android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    83
			android:layout_weight="2"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    84
			android:layout_marginTop="5dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    85
			android:text="REMOVE ACCOUNT LABEL" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    86
		<View
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    87
			android:layout_width="0dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    88
			android:layout_height="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    89
			android:layout_weight="1" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    90
	</LinearLayout>
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    91
	<RelativeLayout
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    92
		android:id="@+id/finish_button_area"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    93
		android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    94
		android:layout_width="match_parent"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    95
		android:background="@android:drawable/bottom_bar"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    96
		android:visibility="gone">
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    97
		<Button
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    98
			android:id="@+id/finish_button"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
    99
			android:layout_width="150dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   100
			android:layout_height="wrap_content"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   101
			android:layout_margin="5dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   102
			android:layout_alignParentRight="true"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   103
			android:drawablePadding="3dip"
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   104
			android:text="FINISH" />
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   105
	</RelativeLayout>
b5104ccb1916 Override AccountSettings
"Vincent Veronis"
parents:
diff changeset
   106
</LinearLayout>