Improve rendering of layout previews.
This commit is contained in:
parent
2e486623a6
commit
e991c2471f
|
@ -2,6 +2,7 @@
|
|||
<RelativeLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
@ -42,7 +43,8 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:paddingBottom="88dp"
|
||||
android:clipToPadding="false" />
|
||||
tools:itemCount="2"
|
||||
tools:listitem="@layout/subscription_item" />
|
||||
|
||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:squareImageView="http://schemas.android.com/apk/de.danoeh.antennapod"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="4dp"
|
||||
|
@ -14,7 +15,8 @@
|
|||
android:elevation="4dp"
|
||||
android:outlineProvider="bounds"
|
||||
android:foreground="?android:attr/selectableItemBackground"
|
||||
squareImageView:direction="width" />
|
||||
squareImageView:direction="width"
|
||||
tools:src="@android:drawable/sym_def_app_icon"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Reference in New Issue