mirror of https://github.com/FongMi/TV.git
parent
7d9e5ec848
commit
112f6feb9b
@ -1,21 +1,59 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<com.fongmi.android.tv.ui.custom.ProgressLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
||||
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||
xmlns:tools="http://schemas.android.com/tools" |
||||
android:id="@+id/progressLayout" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:fitsSystemWindows="true"> |
||||
android:fitsSystemWindows="true" |
||||
android:orientation="vertical"> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recycler" |
||||
<com.google.android.material.appbar.AppBarLayout |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:clipChildren="false" |
||||
android:clipToPadding="false" |
||||
android:overScrollMode="never" |
||||
android:padding="8dp" |
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
||||
tools:listitem="@layout/adapter_file" /> |
||||
android:layout_height="wrap_content" |
||||
android:background="@color/transparent" |
||||
android:elevation="0dp" |
||||
app:elevation="0dp" |
||||
app:liftOnScrollColor="@color/transparent"> |
||||
|
||||
</com.fongmi.android.tv.ui.custom.ProgressLayout> |
||||
<com.google.android.material.appbar.MaterialToolbar |
||||
android:id="@+id/toolbar" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="?attr/actionBarSize" |
||||
app:contentInsetEnd="16dp" |
||||
app:layout_scrollFlags="scroll|enterAlways" |
||||
app:navigationIconTint="@android:color/white" |
||||
app:titleTextColor="@android:color/white"> |
||||
|
||||
<TextView |
||||
android:id="@+id/title" |
||||
style="@style/TextAppearance.Material3.TitleLarge" |
||||
android:layout_width="wrap_content" |
||||
android:layout_height="wrap_content" |
||||
android:ellipsize="start" |
||||
android:singleLine="true" |
||||
android:textColor="@color/white" /> |
||||
|
||||
</com.google.android.material.appbar.MaterialToolbar> |
||||
</com.google.android.material.appbar.AppBarLayout> |
||||
|
||||
<com.fongmi.android.tv.ui.custom.ProgressLayout |
||||
android:id="@+id/progressLayout" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent"> |
||||
|
||||
<androidx.recyclerview.widget.RecyclerView |
||||
android:id="@+id/recycler" |
||||
android:layout_width="match_parent" |
||||
android:layout_height="match_parent" |
||||
android:layout_marginTop="-8dp" |
||||
android:clipChildren="false" |
||||
android:clipToPadding="false" |
||||
android:overScrollMode="never" |
||||
android:paddingStart="8dp" |
||||
android:paddingEnd="8dp" |
||||
android:paddingBottom="8dp" |
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" |
||||
tools:listitem="@layout/adapter_file" /> |
||||
|
||||
</com.fongmi.android.tv.ui.custom.ProgressLayout> |
||||
</LinearLayout> |
||||
Loading…
Reference in new issue