summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2012-12-04 14:59:50 -0800
committerChiao Cheng <chiaocheng@google.com>2012-12-04 14:59:50 -0800
commite420de7fca9005d7084be275f268962a14094a22 (patch)
treeff517d8f1c161c94c43ca594ff159686b3e117d1 /res/layout
parent756457c831b7a2c30166b6e7af8319ad04112e7d (diff)
downloadandroid_packages_apps_ContactsCommon-e420de7fca9005d7084be275f268962a14094a22.tar.gz
android_packages_apps_ContactsCommon-e420de7fca9005d7084be275f268962a14094a22.tar.bz2
android_packages_apps_ContactsCommon-e420de7fca9005d7084be275f268962a14094a22.zip
Moving SelectAccountDialogFragment to ContactsCommon.
In preparation to move ImportExportDialogFragment to common. Also moved a few more string resources left out from previous move. Bug: 6993891 Change-Id: I978e490d256cf783db91b52bca46f4a1c678e415
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/account_selector_list_item.xml51
1 files changed, 51 insertions, 0 deletions
diff --git a/res/layout/account_selector_list_item.xml b/res/layout/account_selector_list_item.xml
new file mode 100644
index 00000000..4cba3e96
--- /dev/null
+++ b/res/layout/account_selector_list_item.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="?android:attr/listPreferredItemHeight"
+ android:orientation="horizontal">
+ <ImageView android:id="@android:id/icon"
+ android:layout_width="@dimen/detail_network_icon_size"
+ android:layout_height="@dimen/detail_network_icon_size"
+ android:layout_margin="8dip"
+ android:layout_gravity="center_vertical" />
+
+ <LinearLayout
+ android:layout_width="0dip"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:orientation="vertical"
+ android:layout_gravity="center_vertical">
+
+ <TextView android:id="@android:id/text1"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="8dip"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:singleLine="true"
+ android:ellipsize="end"/>
+
+ <TextView android:id="@android:id/text2"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="8dip"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="?android:attr/textColorSecondary"
+ android:singleLine="true"
+ android:ellipsize="end"/>
+ </LinearLayout>
+</LinearLayout>