VancedManager/app/src/main/res/layout/fragment_home.xml

70 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<com.vanced.manager.ui.core.ThemedSwipeRefreshlayout 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:id="@+id/home_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:progressBackgroundColor="?colorSurface">
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingVertical="12dp">
<com.vanced.manager.ui.core.ThemedTextView
android:layout_marginStart="20dp"
android:text="@string/apps"
style="@style/CardTextHeader" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_app_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false"
android:layout_marginHorizontal="8dp"
tools:itemCount="3"
tools:listitem="@layout/view_app_expandable" />
<com.vanced.manager.ui.core.ThemedTextView
android:layout_marginTop="12dp"
android:layout_marginStart="20dp"
android:text="@string/support_us"
style="@style/CardTextHeader" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_sponsors"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:nestedScrollingEnabled="false"
tools:itemCount="2"
tools:listitem="@layout/view_sponsor" />
<com.vanced.manager.ui.core.ThemedTextView
android:layout_marginTop="12dp"
android:layout_marginStart="20dp"
android:text="@string/social_media"
style="@style/CardTextHeader" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_links"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:nestedScrollingEnabled="false"
tools:itemCount="6"
tools:listitem="@layout/view_social_link" />
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</com.vanced.manager.ui.core.ThemedSwipeRefreshlayout>