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.
134 lines
5.0 KiB
XML
134 lines
5.0 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/homecoordinator"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/home_appbarlayout"
|
|
app:liftOnScroll="true"
|
|
android:background="@android:color/transparent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.google.android.material.appbar.MaterialToolbar
|
|
android:id="@+id/home_toolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?attr/actionBarSize"
|
|
app:layout_scrollFlags="scroll|enterAlways|snap"
|
|
app:title="@string/app_name"
|
|
app:menu="@menu/main_menu"
|
|
android:theme="@style/Toolbar"
|
|
/>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<ScrollView
|
|
android:id="@+id/search_suggestions_scroll_view"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_marginTop="?attr/actionBarSize"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:id="@+id/search_suggestions_linear_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/search_suggestion_item" />
|
|
</LinearLayout>
|
|
</ScrollView>
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
android:layout_width="match_parent"
|
|
android:id="@+id/recyclerViewHome"
|
|
android:orientation="vertical"
|
|
android:layout_height="wrap_content"
|
|
android:scrollbars="vertical"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:clipToPadding="false"
|
|
android:paddingBottom="100dp"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
/>
|
|
|
|
|
|
<com.facebook.shimmer.ShimmerFrameLayout
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/shimmer_results_framelayout"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/shimmer_linear_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<include layout="@layout/result_card_shimmer" />
|
|
|
|
<include layout="@layout/result_card_shimmer" />
|
|
|
|
<include layout="@layout/result_card_shimmer" />
|
|
|
|
<include layout="@layout/result_card_shimmer" />
|
|
|
|
<include layout="@layout/result_card_shimmer" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</com.facebook.shimmer.ShimmerFrameLayout>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/home_fabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/download_all_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
android:id="@+id/download_all_fab"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="16dp"
|
|
android:layout_gravity="bottom|end"
|
|
android:text="@string/download_all"
|
|
app:icon="@drawable/ic_down"/>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
android:id="@+id/download_selected_coordinator"
|
|
android:layout_width="match_parent"
|
|
android:visibility="gone"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
|
|
android:id="@+id/download_selected_fab"
|
|
app:elevation="0dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_margin="16dp"
|
|
app:icon="@drawable/ic_down"
|
|
android:text="@string/download"
|
|
app:srcCompat="@drawable/ic_music"/>
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout> |