widgets: add widget layout preview
Add a layout preview to the Android 12 widget metadata. I'm holding off on implementing a drawable until the widgets are completely finalized.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
android:id="@android:id/background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/colorSurface"
|
||||
android:theme="@style/Theme.Widget">
|
||||
|
||||
<android.widget.ImageView
|
||||
|
||||
@@ -52,9 +52,7 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/spacing_medium"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
android:layout_marginTop="@dimen/spacing_small">
|
||||
|
||||
<!--
|
||||
Can't use a normal unbounded ripple here since it causes a weird bug
|
||||
|
||||
Reference in New Issue
Block a user