mirror of https://github.com/deniscerri/ytdlnis
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
92 lines
3.2 KiB
XML
92 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/historycoordinator"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/history_appbarlayout"
|
|
app:liftOnScroll="false"
|
|
android:background="@android:color/transparent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/history_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_scrollFlags="scroll|enterAlways|snap"
|
|
app:title="@string/downloads"
|
|
app:menu="@menu/history_menu"
|
|
android:theme="@style/Toolbar"
|
|
/>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:layout_width="match_parent"
|
|
android:id="@+id/recycler_view_history"
|
|
android:orientation="vertical"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="vertical"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_margin="10dp"
|
|
android:clipToPadding="false"
|
|
android:paddingBottom="150dp"
|
|
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
>
|
|
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
<include layout="@layout/history_no_results"
|
|
android:visibility="gone" />
|
|
|
|
<com.facebook.shimmer.ShimmerFrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
android:id="@+id/shimmer_history_framelayout"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/shimmer_history_linear_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
<include layout="@layout/history_card_shimmer" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</com.facebook.shimmer.ShimmerFrameLayout>
|
|
|
|
<include layout="@layout/history_bottom_sheet"
|
|
android:visibility="gone" />
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |