Added Webtoon with Padding viewer (#2618)

* Added Webtoon with Padding viewer

* Change webtoon padding to be a config option

* Removed obselete padded_webtoon

* Switch ambiguous padding to vertical padding
This commit is contained in:
Unlocked
2020-02-23 12:44:50 -05:00
committed by GitHub
parent 275bd44e15
commit ca10356fd9
8 changed files with 33 additions and 1 deletions

View File

@@ -249,6 +249,15 @@
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintTop_toBottomOf="@id/webtoon_prefs" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/pad_pages_vert_webtoon"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="@string/pref_webtoon_padding_vert"
android:textColor="?android:attr/textColorSecondary"
app:layout_constraintTop_toBottomOf="@id/crop_borders_webtoon" />
<!-- Groups of preferences -->
<androidx.constraintlayout.widget.Group
@@ -264,7 +273,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone"
app:constraint_referenced_ids="webtoon_prefs,crop_borders_webtoon" />
app:constraint_referenced_ids="webtoon_prefs,crop_borders_webtoon,pad_pages_vert_webtoon" />
<androidx.constraintlayout.widget.Guideline
android:id="@+id/verticalcenter"