fedilab-Android-App/app/src/main/res/layout/activity_show_conversation.xml

89 lines
4.0 KiB
XML
Raw Normal View History

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"
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">
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"
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
android:id="@+id/appBar"
android:layout_width="match_parent"
2019-11-15 16:32:25 +01:00
android:layout_height="wrap_content">
2021-01-29 18:02:32 +01:00
<include
android:id="@+id/inc_toolbar"
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 -->
2021-01-29 18:02:32 +01:00
<androidx.constraintlayout.widget.ConstraintLayout
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">
2021-01-29 18:02:32 +01:00
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/lv_pixelfed"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="@null"
android:scrollbars="none"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
2019-08-18 19:28:17 +02:00
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
2021-01-29 18:02:32 +01:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/lv_pixelfed"
2019-08-18 19:28:17 +02:00
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
2021-01-29 18:02:32 +01:00
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/swipeContainer"
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>
2021-01-29 18:02:32 +01:00
</androidx.constraintlayout.widget.ConstraintLayout>
2019-06-11 19:38:26 +02:00
</androidx.coordinatorlayout.widget.CoordinatorLayout>
2019-06-11 19:38:26 +02:00
</androidx.drawerlayout.widget.DrawerLayout>