mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Add awards background and text color to custom theme. Show only the number of awards on Post Compact Layout.
This commit is contained in:
@@ -169,7 +169,6 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dp"
|
||||
android:textSize="?attr/font_12"
|
||||
android:textColor="#EEAB02"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedView="true"
|
||||
|
@@ -157,6 +157,17 @@
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
<com.libRG.CustomTextView
|
||||
android:id="@+id/awards_text_view_item_post_compact"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="4dp"
|
||||
android:textSize="?attr/font_10"
|
||||
android:visibility="gone"
|
||||
app:lib_setRadius="3dp"
|
||||
app:lib_setRoundedView="true"
|
||||
app:lib_setShape="rectangle" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/archived_image_view_item_post_compact"
|
||||
android:layout_width="24dp"
|
||||
@@ -178,12 +189,6 @@
|
||||
android:src="@drawable/crosspost"
|
||||
android:visibility="gone" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/awards_text_view_item_post_compact"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone" />
|
||||
|
||||
</com.nex3z.flowlayout.FlowLayout>
|
||||
|
||||
<TextView
|
||||
|
@@ -567,6 +567,10 @@
|
||||
<string name="theme_item_flair_background_color_detail">Applied to: Background of the flair tag</string>
|
||||
<string name="theme_item_flair_text_color">Flair Text Color</string>
|
||||
<string name="theme_item_flair_text_color_detail">Applied to: Text color of the flair tag</string>
|
||||
<string name="theme_item_awards_background_color">Awards Background Color</string>
|
||||
<string name="theme_item_awards_background_color_detail">Applied to: Background of the awards tag</string>
|
||||
<string name="theme_item_awards_text_color">Awards Text Color</string>
|
||||
<string name="theme_item_awards_text_color_detail">Applied to: Text color of the awards tag</string>
|
||||
<string name="theme_item_archived_tint">Archived Icon Color</string>
|
||||
<string name="theme_item_archived_tint_detail">Applied to: Archived icon</string>
|
||||
<string name="theme_item_locked_icon_tint">Locked Icon Color</string>
|
||||
|
Reference in New Issue
Block a user