mirror of https://github.com/TeamNewPipe/NewPipe
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout 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:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<com.google.android.material.tabs.TabLayout
|
|
android:id="@+id/tab_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?attr/colorPrimary"
|
|
app:tabIndicatorColor="@color/white"
|
|
app:tabMode="scrollable"
|
|
app:tabRippleColor="@color/white"
|
|
app:tabTextColor="@color/white" />
|
|
|
|
<androidx.viewpager.widget.ViewPager
|
|
android:id="@+id/view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/tab_layout" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/loading_progress_bar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
|
|
<!--ERROR PANEL-->
|
|
<include
|
|
android:id="@+id/error_panel"
|
|
layout="@layout/error_panel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginTop="50dp"
|
|
android:visibility="gone"
|
|
tools:visibility="visible" />
|
|
</RelativeLayout> |