Circle chapters indicators
This commit is contained in:
@@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape
|
<shape
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="oval">
|
||||||
<corners android:radius="5dp" />
|
|
||||||
<solid android:color="?colorAccent" />
|
<solid android:color="?colorAccent" />
|
||||||
<padding
|
<padding
|
||||||
android:bottom="2dp"
|
android:bottom="2dp"
|
||||||
android:left="2dp"
|
android:left="2dp"
|
||||||
android:right="2dp"
|
android:right="2dp"
|
||||||
android:top="2dp" />
|
android:top="2dp" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape
|
<shape
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="oval">
|
||||||
<corners android:radius="5dp" />
|
|
||||||
<solid android:color="?attr/colorTertiary" />
|
<solid android:color="?attr/colorTertiary" />
|
||||||
<padding
|
<padding
|
||||||
android:bottom="2dp"
|
android:bottom="2dp"
|
||||||
android:left="2dp"
|
android:left="2dp"
|
||||||
android:right="2dp"
|
android:right="2dp"
|
||||||
android:top="2dp" />
|
android:top="2dp" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape
|
<shape
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="oval">
|
||||||
<corners android:radius="5dp" />
|
|
||||||
<solid android:color="?colorBackgroundFloating" />
|
<solid android:color="?colorBackgroundFloating" />
|
||||||
<stroke
|
<stroke
|
||||||
android:width="1dp"
|
android:width="1dp"
|
||||||
@@ -12,4 +11,4 @@
|
|||||||
android:left="2dp"
|
android:left="2dp"
|
||||||
android:right="2dp"
|
android:right="2dp"
|
||||||
android:top="2dp" />
|
android:top="2dp" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<shape
|
<shape
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="oval">
|
||||||
<corners android:radius="5dp" />
|
|
||||||
<stroke
|
<stroke
|
||||||
android:width="2dp"
|
android:width="2dp"
|
||||||
android:color="?android:textColorTertiary" />
|
android:color="?android:textColorTertiary" />
|
||||||
@@ -11,4 +10,4 @@
|
|||||||
android:left="2dp"
|
android:left="2dp"
|
||||||
android:right="2dp"
|
android:right="2dp"
|
||||||
android:top="2dp" />
|
android:top="2dp" />
|
||||||
</shape>
|
</shape>
|
||||||
|
|||||||
@@ -13,13 +13,15 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView_number"
|
android:id="@+id/textView_number"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="32dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="32dp"
|
||||||
android:layout_marginStart="?android:listPreferredItemPaddingStart"
|
android:layout_marginStart="?android:listPreferredItemPaddingStart"
|
||||||
android:background="@drawable/bg_badge_default"
|
android:background="@drawable/bg_badge_default"
|
||||||
|
android:ellipsize="none"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="26dp"
|
android:singleLine="true"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
|
android:textSize="14sp"
|
||||||
tools:text="13"
|
tools:text="13"
|
||||||
tools:textColor="?attr/colorOnPrimary" />
|
tools:textColor="?attr/colorOnPrimary" />
|
||||||
|
|
||||||
@@ -67,4 +69,4 @@
|
|||||||
android:layout_marginEnd="?android:listPreferredItemPaddingEnd"
|
android:layout_marginEnd="?android:listPreferredItemPaddingEnd"
|
||||||
android:src="@drawable/ic_save_ok" />
|
android:src="@drawable/ic_save_ok" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<com.google.android.material.card.MaterialCardView
|
<com.google.android.material.card.MaterialCardView
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
style="@style/Widget.Material3.CardView.Outlined"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
||||||
style="@style/Widget.Material3.CardView.Outlined"
|
|
||||||
app:cardBackgroundColor="?scrimBackground">
|
app:cardBackgroundColor="?scrimBackground">
|
||||||
|
|
||||||
<org.koitharu.kotatsu.base.ui.widgets.CoverImageView
|
<org.koitharu.kotatsu.base.ui.widgets.CoverImageView
|
||||||
@@ -17,17 +17,17 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView_number"
|
android:id="@+id/textView_number"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="32dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="32dp"
|
||||||
android:layout_gravity="bottom|end"
|
android:layout_gravity="bottom|end"
|
||||||
android:layout_margin="4dp"
|
android:layout_margin="8dp"
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:minWidth="26dp"
|
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="?attr/colorOnTertiary"
|
android:textColor="?attr/colorOnTertiary"
|
||||||
|
android:textSize="14sp"
|
||||||
tools:background="@drawable/bg_badge_default"
|
tools:background="@drawable/bg_badge_default"
|
||||||
tools:text="2" />
|
tools:text="2" />
|
||||||
|
|
||||||
</com.google.android.material.card.MaterialCardView>
|
</com.google.android.material.card.MaterialCardView>
|
||||||
|
|||||||
Reference in New Issue
Block a user