2022-03-22 17:12:14 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.drawerlayout.widget.DrawerLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/drawerContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="bou.amine.apps.readerforselfossv2.android.HomeActivity"
|
|
|
|
android:fitsSystemWindows="true"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/coordLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:id="@+id/intern_coordLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolBar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="?attr/actionBarSize"
|
2022-09-27 10:21:42 +02:00
|
|
|
|
|
|
|
/>
|
2022-03-22 17:12:14 +01:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeRefreshLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:background="?android:attr/windowBackground">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/emptyText"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingTop="100dp"
|
|
|
|
android:text="@string/nothing_here"
|
|
|
|
android:textAlignment="center"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Headline"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="@android:color/transparent"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:paddingBottom="60dp"
|
|
|
|
android:scrollbars="vertical"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
|
tools:listitem="@layout/list_item"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
<com.ashokvarma.bottomnavigation.BottomNavigationBar
|
|
|
|
android:id="@+id/bottomBar"
|
|
|
|
android:layout_width="match_parent"
|
2022-09-27 10:21:42 +02:00
|
|
|
android:layout_height="60dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
app:bnbActiveColor="@color/colorAccent"
|
|
|
|
app:bnbBackgroundColor="?attr/bottomBarBackground" />
|
2022-03-22 17:12:14 +01:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
|
|
<com.mikepenz.materialdrawer.widget.MaterialDrawerSliderView
|
|
|
|
android:id="@+id/mainDrawer"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:fitsSystemWindows="true" />
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|