coordinator
unknown
kotlin
7 months ago
2.9 kB
8
Indexable
Never
<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/appBackgroundColor"> <com.google.android.material.appbar.AppBarLayout android:id="@+id/appBarLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/appBackgroundColor"> <TextView android:id="@+id/trendSongTextView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/margin_15" android:layout_marginTop="@dimen/topMargin" android:layout_marginBottom="@dimen/topMargin" android:fontFamily="@font/roboto_medium" android:text="@string/trendSong" android:textColor="@color/white" android:textSize="20sp" app:layout_scrollFlags="scroll|enterAlways" /> <TextView android:id="@+id/searchView" android:layout_width="match_parent" android:layout_height="40dp" android:layout_marginStart="@dimen/margin_15" android:layout_marginEnd="@dimen/margin_15" android:layout_marginBottom="@dimen/margin_5" android:background="@drawable/search_view_background" android:ellipsize="end" android:fontFamily="@font/roboto_regular" android:gravity="center_vertical" android:maxLines="1" android:paddingStart="@dimen/margin_5" android:paddingEnd="@dimen/margin_5" android:text="@string/searchSongTitle" android:textColor="@color/gray3" app:drawableStartCompat="@drawable/search" /> <View android:id="@+id/seperator" android:layout_width="match_parent" android:layout_height="1dp" android:layout_gravity="bottom" android:background="@color/black" /> </com.google.android.material.appbar.AppBarLayout> <androidx.recyclerview.widget.RecyclerView android:id="@+id/trendRecyclerView" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="@dimen/margin_10" app:layout_behavior="@string/appbar_scrolling_view_behavior" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> </layout>