mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-06 05:49:49 +02:00
Favorite and unfavorite subreddits are now available.
This commit is contained in:
12
app/src/main/res/layout/item_favorite_subreddits_divider.xml
Normal file
12
app/src/main/res/layout/item_favorite_subreddits_divider.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/divider_text_view_item_favorite_subreddits_divider"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
</LinearLayout>
|
@@ -17,10 +17,18 @@
|
||||
|
||||
<TextView
|
||||
android:id="@+id/subreddit_name_text_view_item_subscribed_subreddit"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/primaryTextColor"
|
||||
android:textSize="?attr/font_default"
|
||||
android:layout_gravity="center_vertical" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/favorite_image_view_item_subscribed_subreddit"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_gravity="end|center_vertical"
|
||||
android:layout_marginStart="32dp" />
|
||||
|
||||
</LinearLayout>
|
Reference in New Issue
Block a user