BreezeBoard_com.app.input.b.../app/src/main/res/layout/favorite_activity.xml
2026-01-06 11:35:18 +08:00

74 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/home_bg_gradient">
<!-- 椤堕儴瀵艰埅锟?-->
<LinearLayout
android:id="@+id/top_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@android:color/transparent"
android:paddingTop="16dp"
android:paddingBottom="8dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:paddingStart="20dp"
android:paddingEnd="20dp">
<ImageView
android:id="@+id/back"
android:layout_width="32dp"
android:layout_height="32dp"
android:src="@drawable/back_icon"
android:background="?attr/selectableItemBackgroundBorderless"
android:padding="6dp"
android:contentDescription="Back" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginStart="16dp"
android:text="@string/tab_favorite"
android:textSize="24sp"
android:textStyle="bold"
android:textColor="#1A1A1A" />
</LinearLayout>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/like_recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/top_bar"
android:layout_marginStart="5dp"
android:layout_marginTop="10dp"
android:layout_marginEnd="15dp" />
<com.app.input.breeze.board.utils.BreezeTextView
android:id="@+id/empty_title"
android:layout_width="260dp"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_marginStart="25dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="25dp"
android:gravity="center"
android:lineSpacingExtra="2dp"
android:text="@string/no_like"
android:textColor="@color/main_text_color"
android:textSize="16sp"
android:visibility="gone"
app:apply_font="true" />
</RelativeLayout>