[skip ci] feat: showOnlyLibrary button in Calendar

This commit is contained in:
ibo 2024-06-21 20:29:38 +02:00 committed by GitHub
parent ed24e64b78
commit 2f06ac6071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 76 additions and 20 deletions

View file

@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:tint="?attr/colorControlNormal"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="M3,6c-0.55,0 -1,0.45 -1,1v13c0,1.1 0.9,2 2,2h13c0.55,0 1,-0.45 1,-1s-0.45,-1 -1,-1L5,20c-0.55,0 -1,-0.45 -1,-1L4,7c0,-0.55 -0.45,-1 -1,-1zM20,2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM18,11h-8c-0.55,0 -1,-0.45 -1,-1s0.45,-1 1,-1h8c0.55,0 1,0.45 1,1s-0.45,1 -1,1zM14,15h-4c-0.55,0 -1,-0.45 -1,-1s0.45,-1 1,-1h4c0.55,0 1,0.45 1,1s-0.45,1 -1,1zM18,7h-8c-0.55,0 -1,-0.45 -1,-1s0.45,-1 1,-1h8c0.55,0 1,0.45 1,1s-0.45,1 -1,1z"/>
</vector>

View file

@ -55,6 +55,15 @@
app:srcCompat="@drawable/ic_round_search_24"
app:tint="?attr/colorOnBackground" />
<ImageButton
android:id="@+id/listed"
android:layout_width="40dp"
android:layout_height="40dp"
android:background="?android:attr/selectableItemBackground"
android:contentDescription="@string/listed_in_library"
app:srcCompat="@drawable/ic_round_library_books_24"
app:tint="?attr/colorOnBackground" />
<ImageButton
android:id="@+id/random"
android:layout_width="40dp"

View file

@ -714,6 +714,7 @@
<string name="installed_manga">Installed Manga</string>
<string name="color_picker">Color Picker</string>
<string name="random_selection">Random Selection</string>
<string name="listed_in_library">Listed in Library</string>
<string name="incognito_mode">Incognito Mode</string>
<string name="appwidget_text">EXAMPLE</string>
<string name="configure">Configure</string>