|
@@ -38,6 +38,32 @@
|
|
|
tools:ignore="ContentDescription"
|
|
|
tools:src="@mipmap/ic_launcher" />
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/badges"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:background="@drawable/rounded_rectangle">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/favorite_text"
|
|
|
+ style="@style/TextAppearance.Regular.Caption"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="?attr/colorSecondary"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:paddingStart="3dp"
|
|
|
+ android:paddingTop="1dp"
|
|
|
+ android:paddingEnd="3dp"
|
|
|
+ android:paddingBottom="1dp"
|
|
|
+ android:text="@string/in_library"
|
|
|
+ android:textColor="?attr/colorOnSecondary"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
</FrameLayout>
|
|
|
|
|
|
<TextView
|