aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-06-23 08:32:40 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-06-23 08:32:40 +0000
commit5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c (patch)
treeee80b3c548fd67ca4f868bce3b7e37dc067df617 /app/src/main/res/layout
parent421315f0c6c8452ce85b57b1335e489cb3a518ee (diff)
downloadinfinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar.gz
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar.bz2
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar.lz
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar.xz
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.tar.zst
infinity-for-reddit-5daa0de82ddaac31e7e43402d82cd6d2fe1adb4c.zip
Prepare to support PM.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_view_messages.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_view_messages.xml b/app/src/main/res/layout/fragment_view_messages.xml
new file mode 100644
index 00000000..a8f8439d
--- /dev/null
+++ b/app/src/main/res/layout/fragment_view_messages.xml
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".Fragment.ViewMessagesFragment">
+
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
+ android:id="@+id/swipe_refresh_layout_view_messages_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/recycler_view_view_messages_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false" />
+
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
+
+ <LinearLayout
+ android:id="@+id/fetch_messages_info_linear_layout_view_messages_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:gravity="center"
+ android:orientation="vertical"
+ android:visibility="gone">
+
+ <ImageView
+ android:id="@+id/fetch_messages_info_image_view_view_messages_fragment"
+ android:layout_width="150dp"
+ android:layout_height="wrap_content" />
+
+ <TextView
+ android:id="@+id/fetch_messages_info_text_view_view_messages_fragment"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="16dp"
+ android:fontFamily="?attr/font_family"
+ android:gravity="center"
+ android:textSize="?attr/font_default" />
+
+ </LinearLayout>
+
+</RelativeLayout> \ No newline at end of file