diff options
author | Christine Chen <christinech@google.com> | 2013-09-30 11:21:37 -0700 |
---|---|---|
committer | Christine Chen <christinech@google.com> | 2013-09-30 11:21:37 -0700 |
commit | 37811899a6b40f78bfe7f16cb317cb8faa5df591 (patch) | |
tree | 91b87fa0be3dad4dd3c5c8867dc4998917f1ae4e | |
parent | 50c92e029f55d07f48fc23355109b5da8fe3a7eb (diff) |
Enlarge the click area of star in favorite tiles
Bug: 10980561
Change-Id: I609a45b6a16b0d8004e0983555bd0292316b0552
-rw-r--r-- | res/layout/phone_favorite_tile_view.xml | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/res/layout/phone_favorite_tile_view.xml b/res/layout/phone_favorite_tile_view.xml index 1a8b2f31b..fce25eafe 100644 --- a/res/layout/phone_favorite_tile_view.xml +++ b/res/layout/phone_favorite_tile_view.xml @@ -87,15 +87,20 @@ <ImageView android:id="@+id/contact_favorite_star" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignRight="@id/contact_tile_image" - android:layout_alignEnd="@id/contact_tile_image" - android:layout_alignBottom="@id/contact_tile_image" - android:layout_marginRight="7dip" - android:layout_marginEnd="7dip" - android:layout_marginBottom="7dip" + android:background="?android:attr/selectableItemBackground" + android:layout_height="@dimen/contact_tile_info_button_height_and_width" + android:layout_width="@dimen/contact_tile_info_button_height_and_width" + android:paddingLeft="8dp" + android:paddingRight="8dp" + android:paddingStart="8dp" + android:paddingEnd="8dp" + android:paddingTop="8dp" + android:paddingBottom="8dp" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" android:src="@drawable/ic_star_marked_as_fav" + android:scaleType="center" android:visibility="gone" /> |