Skip to content

Commit 1f887cb

Browse files
dsandlerAndroid (Google) Code Review
authored andcommitted
Merge "Make the add widget button hitrectangle smaller." into jb-mr1-lockscreen-dev
2 parents 61426f3 + 082351c commit 1f887cb

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed
-6.83 KB
Loading
-11.9 KB
Loading
-4.12 KB
Loading

core/res/res/layout/keyguard_add_widget.xml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,18 @@
2323
android:id="@+id/keyguard_add_widget"
2424
android:layout_width="match_parent"
2525
android:layout_height="match_parent"
26-
android:gravity="center_horizontal">
27-
<ImageView
28-
android:id="@+id/keyguard_add_widget_view"
29-
android:clickable="true"
30-
android:layout_width="match_parent"
31-
android:layout_height="match_parent"
32-
android:src="@drawable/add_widget" />
26+
>
27+
<FrameLayout
28+
android:layout_width="match_parent"
29+
android:layout_height="match_parent"
30+
>
31+
<ImageView
32+
android:id="@+id/keyguard_add_widget_view"
33+
android:clickable="true"
34+
android:layout_width="wrap_content"
35+
android:layout_height="wrap_content"
36+
android:layout_gravity="center"
37+
android:padding="24dp"
38+
android:src="@drawable/add_widget" />
39+
</FrameLayout>
3340
</com.android.internal.policy.impl.keyguard.KeyguardWidgetFrame>

0 commit comments

Comments
 (0)