2019-08-25 17:21:34 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-06 17:55:14 +02:00
|
|
|
<androidx.drawerlayout.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-08-25 17:21:34 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/drawer_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:fitsSystemWindows="true">
|
2019-08-25 17:21:34 +02:00
|
|
|
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:context="app.fedilab.android.activities.OwnerStatusActivity">
|
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
|
|
android:id="@+id/appBar"
|
|
|
|
android:layout_width="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/colorPrimary"
|
|
|
|
app:layout_scrollFlags="scroll|enterAlways"
|
2019-11-07 18:57:05 +01:00
|
|
|
/>
|
2019-08-25 17:21:34 +02:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/main_app_container"
|
|
|
|
android:paddingLeft="@dimen/fab_margin"
|
|
|
|
android:paddingRight="@dimen/fab_margin"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
2019-09-06 17:55:14 +02:00
|
|
|
tools:context="app.fedilab.android.activities.OwnerStatusActivity">
|
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:id="@+id/swipeContainer"
|
|
|
|
android:layout_height="match_parent">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/lv_notifications"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:scrollbars="none" />
|
2019-08-25 17:21:34 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/no_action"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<TextView
|
|
|
|
android:padding="10dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="25sp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textStyle="italic|bold"
|
|
|
|
android:typeface="serif"
|
|
|
|
android:text="@string/owner_cached_toots_empty"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</RelativeLayout>
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/no_result"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<TextView
|
|
|
|
android:padding="10dp"
|
|
|
|
android:gravity="center"
|
|
|
|
android:textSize="25sp"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textStyle="italic|bold"
|
|
|
|
android:typeface="serif"
|
|
|
|
android:text="@string/filter_no_result"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- Main Loader -->
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loader"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:gravity="center">
|
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<!-- Loader for next status -->
|
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/loading_next_status"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:gravity="bottom|center_horizontal"
|
|
|
|
android:layout_height="20dp">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-25 17:21:34 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:indeterminate="true" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
|
|
|
|
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|