Merge "Make the add widget button hitrectangle smaller." into jb-mr1-lockscreen-dev

This commit is contained in:
Daniel Sandler
2012-10-26 12:39:06 -07:00
committed by Android (Google) Code Review
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>