feat: Added anime clear progress (#531)

* feat: Added anime clear progress

* more stuff added
This commit is contained in:
Ankit Grai
2024-11-20 23:27:03 +05:30
committed by GitHub
parent ff3372754a
commit d01e1c89e0
6 changed files with 142 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="960"
android:viewportHeight="960">
<path
android:pathData="M280,840q-33,0 -56.5,-23.5T200,760v-520h-40v-80h200v-40h240v40h200v80h-40v520q0,33 -23.5,56.5T680,840L280,840ZM680,240L280,240v520h400v-520ZM360,680h80v-360h-80v360ZM520,680h80v-360h-80v360ZM280,240v520,-520Z"
android:fillColor="#e8eaed"/>
</vector>

View File

@@ -292,5 +292,53 @@
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/mediaProgressResetContainer"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:orientation="horizontal">
<LinearLayout
android:layout_width="265dp"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:alpha="0.58"
android:fontFamily="@font/poppins_bold"
android:text="@string/reset" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/reset_progress_def"
android:fontFamily="@font/poppins_bold"
android:text=""
android:textColor="?attr/colorSecondary"
tools:ignore="TextContrastCheck" />
</LinearLayout>
<LinearLayout
android:layout_width="48dp"
android:layout_height="48dp">
<ImageView
android:id="@+id/resetProgress"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_gravity="center|center_horizontal"
android:layout_marginStart="12dp"
android:background="?android:attr/selectableItemBackground"
app:srcCompat="@drawable/ic_delete"
app:tint="?attr/colorOnBackground"
tools:ignore="ContentDescription,ImageContrastCheck" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</FrameLayout>

View File

@@ -1083,6 +1083,8 @@ Non quae tempore quo provident laudantium qui illo dolor vel quia dolor et exerc
<string name="proxy_desc">Route All Your Network Traffic Through a Socks5 Proxy</string>
<string name="proxy_setup">Proxy Setup</string>
<string name="proxy_setup_desc">Configure your Socks5 Proxy</string>
<string name="clear_stored_episode">Clear Stored Episode Data</string>
<string name="clear_stored_chapter">Clear Stored Chapter Data</string>
</resources>