Added horizontal spacing

This commit is contained in:
ByteHamster 2020-07-18 09:29:08 +02:00
parent 8480db8dc1
commit bb753f46c1
10 changed files with 23 additions and 4 deletions

View File

@ -26,6 +26,7 @@
android:clipToPadding="false"
android:paddingTop="@dimen/list_vertical_padding"
android:paddingBottom="@dimen/list_vertical_padding"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:layout_above="@id/loadingMore"
tools:itemCount="13"
tools:listitem="@layout/feeditemlist_item" />

View File

@ -52,6 +52,8 @@
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:clipToPadding="false"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<ProgressBar

View File

@ -5,6 +5,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:orientation="vertical">
<LinearLayout

View File

@ -36,6 +36,8 @@
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:clipToPadding="false"
android:layout_below="@id/divider" />
<ProgressBar

View File

@ -36,6 +36,7 @@
android:layout_below="@id/recyclerViewFeeds"
android:layout_marginTop="-4dp"
android:paddingTop="12dp"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:clipToPadding="false"
android:layout_width="match_parent"
android:layout_height="match_parent"/>

View File

@ -14,6 +14,7 @@
<de.danoeh.antennapod.view.EpisodeItemListRecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingHorizontal="@dimen/additional_horizontal_spacing"
android:layout_below="@id/toolbar"
android:id="@+id/recyclerView"
android:clipToPadding="false"/>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="additional_horizontal_spacing">56dp</dimen>
</resources>

View File

@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- increase FAB speed dial label's max width if the screen is wide enough
(300dp ~ 1.875 inch, devices with 3.5-inch screens have a width of ~ 1.9in
so the setup is applicable for most phones)
-->
<dimen name="additional_horizontal_spacing">0dp</dimen>
<!--
Overwrites FAB library.
Increase FAB speed dial label's max width if the screen is wide enough
(300dp ~ 1.875 inch, devices with 3.5-inch screens have a width of ~ 1.9in
so the setup is applicable for most phones)
-->
<dimen name="sd_label_max_width" tools:ignore="MissingDefaultResource, UnusedResources">240dp</dimen>
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="additional_horizontal_spacing">0dp</dimen>
</resources>