Run formatter on some resources

This commit is contained in:
arkon 2021-05-28 22:40:17 -04:00
parent 8a014ddb0c
commit 8099f561c5
6 changed files with 17 additions and 16 deletions

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Based on mtrl_bottom_nav_colored_item_tint Based on mtrl_bottom_nav_colored_item_tint
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:alpha="1.0" android:color="?attr/colorAccentOnPrimary" android:state_checked="true"/> <item android:alpha="1.0" android:color="?attr/colorAccentOnPrimary" android:state_checked="true" />
<item android:alpha="0.6" android:color="?attr/colorOnPrimary"/> <item android:alpha="0.6" android:color="?attr/colorOnPrimary" />
</selector> </selector>

View File

@ -6,6 +6,6 @@
it (i.e. blue themes). it (i.e. blue themes).
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorAccentOnPrimary" android:state_selected="true"/> <item android:color="?attr/colorAccentOnPrimary" android:state_selected="true" />
<item android:alpha="0.60" android:color="?attr/colorOnPrimary"/> <item android:alpha="0.60" android:color="?attr/colorOnPrimary" />
</selector> </selector>

View File

@ -5,6 +5,6 @@
Ensures visibility on top of the background color. Ensures visibility on top of the background color.
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorAccent" android:state_selected="true"/> <item android:color="?attr/colorAccent" android:state_selected="true" />
<item android:alpha="0.60" android:color="?attr/colorOnBackground"/> <item android:alpha="0.60" android:color="?attr/colorOnBackground" />
</selector> </selector>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
The regular version uses ?attr/colorPrimary when focused, which doesn't work well with our themes. The regular version uses ?attr/colorPrimary when focused, which doesn't work well with our themes.
https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/textfield/res/color/mtrl_filled_stroke_color.xml https://github.com/material-components/material-components-android/blob/master/lib/java/com/google/android/material/textfield/res/color/mtrl_filled_stroke_color.xml
--> -->
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="?attr/colorSecondary" android:state_focused="true" /> <item android:color="?attr/colorSecondary" android:state_focused="true" />

View File

@ -29,12 +29,12 @@
android:id="@+id/info_recycler" android:id="@+id/info_recycler"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="match_parent" android:layout_height="match_parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@id/chapters_recycler" app:layout_constraintEnd_toStartOf="@id/chapters_recycler"
app:layout_constraintWidth_percent="0.5" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_max="450dp" app:layout_constraintWidth_max="450dp"
app:layout_constraintWidth_percent="0.5"
tools:itemCount="1" tools:itemCount="1"
tools:listitem="@layout/manga_info_header" /> tools:listitem="@layout/manga_info_header" />
@ -44,10 +44,10 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:clipToPadding="false" android:clipToPadding="false"
android:paddingBottom="@dimen/fab_list_padding" android:paddingBottom="@dimen/fab_list_padding"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/info_recycler" app:layout_constraintStart_toEndOf="@id/info_recycler"
app:layout_constraintTop_toTopOf="parent"
tools:listitem="@layout/chapters_item" /> tools:listitem="@layout/chapters_item" />
<eu.kanade.tachiyomi.widget.MaterialFastScroll <eu.kanade.tachiyomi.widget.MaterialFastScroll
@ -57,9 +57,9 @@
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_gravity="end" android:layout_gravity="end"
app:fastScrollerBubbleEnabled="false" app:fastScrollerBubbleEnabled="false"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" /> tools:visibility="visible" />
<eu.kanade.tachiyomi.widget.ActionToolbar <eu.kanade.tachiyomi.widget.ActionToolbar
@ -68,8 +68,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="bottom" android:layout_gravity="bottom"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="@+id/chapters_recycler"
app:layout_constraintEnd_toEndOf="@+id/chapters_recycler" app:layout_constraintEnd_toEndOf="@+id/chapters_recycler"
app:layout_constraintStart_toStartOf="@+id/chapters_recycler"
app:layout_dodgeInsetEdges="bottom" /> app:layout_dodgeInsetEdges="bottom" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

View File

@ -13,7 +13,8 @@
android:id="@+id/cancel_download" android:id="@+id/cancel_download"
android:title="@string/action_cancel" /> android:title="@string/action_cancel" />
<item android:id="@+id/cancel_series" <item
android:id="@+id/cancel_series"
android:title="@string/cancel_all_for_series" /> android:title="@string/cancel_all_for_series" />
</menu> </menu>