summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-11-13 13:03:30 -0800
committerYorke Lee <yorkelee@google.com>2013-11-13 14:27:18 -0800
commitfb34fdaeb60eaa20dbc825983edc17b45d879440 (patch)
tree4cdb89108db0a92958858d4016f9469c81993f59 /res/layout
parentc3cb63b627b30e7bebd88dab2583604eb4e7fa88 (diff)
Change all contacts button to look like list item
Rewrite layout of all contacts button to look like a regular contact list item. Update list default avatar background Bug: 11654293 Bug: 11668831 Change-Id: Iafa8f69e618b39eabf823cafd8153ed24ddbdfbd
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/show_all_contact_button.xml23
1 files changed, 2 insertions, 21 deletions
diff --git a/res/layout/show_all_contact_button.xml b/res/layout/show_all_contact_button.xml
index 824d10cdb..30060d77b 100644
--- a/res/layout/show_all_contact_button.xml
+++ b/res/layout/show_all_contact_button.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
-<LinearLayout
+<com.android.contacts.common.list.ContactListItemView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/show_all_contact_button"
android:orientation="horizontal"
@@ -23,23 +23,4 @@
android:layout_height="match_parent"
android:minHeight="?android:attr/listPreferredItemHeight"
android:gravity="center"
- android:background="?android:attr/selectableItemBackground"
- android:focusable="true">
-
- <ImageView
- android:layout_height="match_parent"
- android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:src="@drawable/ic_menu_all_contacts_dk"
- android:layout_marginEnd="10dp"/>
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:textSize="14sp"
- android:ellipsize="marquee"
- android:singleLine="true"
- android:text="@string/show_all_contacts_button_text"
- android:textAlignment="center"
- android:gravity="center"/>
-</LinearLayout> \ No newline at end of file
+ android:focusable="true" /> \ No newline at end of file