2017-05-05 16:36:04 +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"
|
2017-05-05 16:36:04 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:id="@+id/drawer_layout"
|
2017-05-05 16:36:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-09-06 17:55:14 +02:00
|
|
|
android:fitsSystemWindows="true">
|
2017-10-28 18:58:34 +02:00
|
|
|
|
2019-06-11 19:38:26 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout
|
2017-05-05 16:36:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2017-10-28 18:58:34 +02:00
|
|
|
android:layout_height="match_parent"
|
2019-05-18 11:10:30 +02:00
|
|
|
tools:context="app.fedilab.android.activities.HashTagActivity">
|
2019-11-15 16:32:25 +01:00
|
|
|
|
2019-06-11 19:38:26 +02:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2017-10-28 18:58:34 +02:00
|
|
|
android:id="@+id/appBar"
|
2017-06-30 19:14:25 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2019-11-15 19:36:39 +01:00
|
|
|
<include layout="@layout/conversation_action_bar" />
|
2019-06-11 19:38:26 +02:00
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
2019-11-07 19:51:53 +01:00
|
|
|
|
2017-10-29 07:32:52 +01:00
|
|
|
<!-- Framelayout to display Fragments -->
|
2019-08-18 12:56:24 +02:00
|
|
|
<RelativeLayout
|
2017-10-29 07:32:52 +01:00
|
|
|
android:id="@+id/main_app_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:paddingLeft="@dimen/fab_margin"
|
|
|
|
android:paddingRight="@dimen/fab_margin"
|
2017-10-29 07:32:52 +01:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
2019-09-06 17:55:14 +02:00
|
|
|
tools:context="app.fedilab.android.activities.ShowConversationActivity">
|
|
|
|
|
2019-08-18 19:28:17 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/swipeContainer"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-10-29 07:32:52 +01:00
|
|
|
android:layout_height="match_parent">
|
2019-09-06 17:55:14 +02:00
|
|
|
|
2019-08-18 19:28:17 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/lv_status"
|
2017-10-29 07:32:52 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-08-18 19:28:17 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:divider="@null"
|
|
|
|
android:scrollbars="none" />
|
2019-08-18 19:28:17 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
2019-11-15 16:32:25 +01:00
|
|
|
|
2019-10-20 10:59:53 +02:00
|
|
|
<LinearLayout
|
2019-11-15 16:32:25 +01:00
|
|
|
android:id="@+id/loader"
|
2019-10-20 10:59:53 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_marginBottom="70dp"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:gravity="center"
|
2019-10-20 10:59:53 +02:00
|
|
|
android:orientation="horizontal"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:visibility="gone">
|
|
|
|
|
2019-10-20 10:59:53 +02:00
|
|
|
<ProgressBar
|
|
|
|
android:layout_width="20dp"
|
|
|
|
android:layout_height="20dp"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:indeterminate="true" />
|
|
|
|
|
2019-10-20 10:59:53 +02:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
2019-11-15 16:32:25 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="20dp"
|
|
|
|
android:text="@string/fetch_conversation" />
|
2019-10-20 10:59:53 +02:00
|
|
|
</LinearLayout>
|
2017-10-29 07:32:52 +01:00
|
|
|
</RelativeLayout>
|
2019-06-11 19:38:26 +02:00
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
2017-10-28 18:58:34 +02:00
|
|
|
|
2019-06-11 19:38:26 +02:00
|
|
|
</androidx.drawerlayout.widget.DrawerLayout>
|