Make the add widget button hitrectangle smaller.

Bug: 7421953
Proto-Id: I04fe3f06a7c53603dc38434a18cc52053ccc6bac
Change-Id: Ie26ad9a9c683f41bd8bf0b0b24e6832ab32d9469
This commit is contained in:
Daniel Sandler
2012-10-26 14:49:11 -04:00
parent b42b842ee8
commit 082351c98f
4 changed files with 14 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -23,11 +23,18 @@
android:id="@+id/keyguard_add_widget"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal">
<ImageView
android:id="@+id/keyguard_add_widget_view"
android:clickable="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/add_widget" />
>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<ImageView
android:id="@+id/keyguard_add_widget_view"
android:clickable="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="24dp"
android:src="@drawable/add_widget" />
</FrameLayout>
</com.android.internal.policy.impl.keyguard.KeyguardWidgetFrame>