Bringing Choose account dialog up to spec
Bug:30079784
Change-Id: I7daa8e24b4bca03c22cfbe013babfadde72b895a
diff --git a/res-common/layout/account_selector_list_item_condensed.xml b/res-common/layout/account_selector_list_item_condensed.xml
index a9aeaa0..e017c04 100644
--- a/res-common/layout/account_selector_list_item_condensed.xml
+++ b/res-common/layout/account_selector_list_item_condensed.xml
@@ -15,13 +15,14 @@
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="?android:attr/listPreferredItemHeight"
+ android:layout_width="280dp"
+ android:layout_height="72dp"
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="24dip"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="16dp"
android:layout_gravity="center_vertical" />
<LinearLayout
@@ -36,6 +37,8 @@
android:layout_height="wrap_content"
android:layout_marginRight="8dip"
android:layout_marginEnd="8dip"
+ android:textSize="16sp"
+ android:textColor="#000000"
android:textAppearance="?android:attr/textAppearanceMedium"
android:singleLine="true"
android:ellipsize="end"/>
@@ -45,6 +48,7 @@
android:layout_height="wrap_content"
android:layout_marginRight="8dip"
android:layout_marginEnd="8dip"
+ android:textSize="14sp"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary"
android:singleLine="true"
diff --git a/res-common/layout/dialog_title.xml b/res-common/layout/dialog_title.xml
new file mode 100644
index 0000000..d673e23
--- /dev/null
+++ b/res-common/layout/dialog_title.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 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.
+-->
+
+<TextView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingTop="24dp"
+ android:paddingStart="24dp"
+ android:paddingEnd="24dp"
+ android:textSize="20sp"
+ android:textColor="#000000"
+ android:textStyle="bold"
+ android:ellipsize="end"
+/>
\ No newline at end of file