Skip to content

Commit

Permalink
Improve rendering of layout previews.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjohndoe committed Oct 24, 2021
1 parent 2e48662 commit e991c24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/src/main/res/layout/fragment_subscriptions.xml
Expand Up @@ -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">
Expand Down Expand Up @@ -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>

Expand Down
4 changes: 3 additions & 1 deletion app/src/main/res/layout/quick_feed_discovery_item.xml
Expand Up @@ -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"
Expand All @@ -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>

0 comments on commit e991c24

Please sign in to comment.