Untitled
plain_text
8 days ago
1.6 kB
1
Indexable
Never
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/gray2" tools:context=".fragments.NewsFragment"> <androidx.constraintlayout.widget.ConstraintLayout android:id="@+id/layout_header" android:layout_width="match_parent" android:layout_height="56dp" android:background="@drawable/background_cus"> <androidx.appcompat.widget.AppCompatTextView android:id="@+id/txt_type_post" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/news" android:textColor="@color/white" android:textSize="18sp" android:textStyle="bold" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> </androidx.constraintlayout.widget.ConstraintLayout> <androidx.recyclerview.widget.RecyclerView android:id="@+id/rcv_list_news" android:layout_width="match_parent" android:layout_marginTop="20dp" android:layout_height="match_parent" android:layout_below="@+id/layout_header" android:layout_marginHorizontal="20dp" /> </RelativeLayout>