|
|
@@ -48,24 +48,40 @@
|
|
|
android:id="@+id/cd_unread"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="top|end"
|
|
|
android:layout_margin="4dp"
|
|
|
android:visibility="visible"
|
|
|
- app:cardBackgroundColor="?attr/colorSecondaryVariant"
|
|
|
app:cardCornerRadius="4dp"
|
|
|
- app:strokeWidth="0dp">
|
|
|
+ app:strokeWidth="0dp"
|
|
|
+ app:cardBackgroundColor="?attr/colorSecondaryVariant"
|
|
|
+ android:layout_gravity="end|top">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_unread"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:includeFontPadding="false"
|
|
|
- android:padding="4dp"
|
|
|
- android:textColor="?attr/colorOnSecondary"
|
|
|
- android:textSize="10sp"
|
|
|
- android:textStyle="bold"
|
|
|
- tools:ignore="SmallSp"
|
|
|
- tools:text="5" />
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <com.google.android.material.circularreveal.cardview.CircularRevealCardView
|
|
|
+ android:id="@+id/new_chapter"
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="8dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ app:strokeWidth="0dp"
|
|
|
+ app:cardBackgroundColor="?attr/colorSecondaryContainer" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_unread"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="?attr/colorOnSecondary"
|
|
|
+ android:textSize="9sp"
|
|
|
+ android:padding="4dp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:includeFontPadding="false"
|
|
|
+ tools:text="5"
|
|
|
+ tools:ignore="SmallSp" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
<TextView
|