aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-14 08:31:18 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-14 08:31:18 +0000
commit0a3d6520bc0bd6844ad479b232d3ca11ee87fa21 (patch)
treeb0b8cee5d75b3a456df8d61c8b65bf4635fb736c /app/src/main/res/layout
parent7cdf5d2e4c46da1830dd81c4929857e7496491e5 (diff)
downloadinfinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar.gz
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar.bz2
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar.lz
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar.xz
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.tar.zst
infinity-for-reddit-0a3d6520bc0bd6844ad479b232d3ca11ee87fa21.zip
Sorting users posts in ViewUserDetailActivity and FilteredPostsActivity is available.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml63
1 files changed, 63 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml
new file mode 100644
index 00000000..aa928f7c
--- /dev/null
+++ b/app/src/main/res/layout/fragment_user_thing_sort_type_bottom_sheet.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical" android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingBottom="8dp">
+
+ <TextView
+ android:id="@+id/new_type_text_view_user_thing_sort_type_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/sort_new"
+ android:textColor="@color/primaryTextColor"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
+ android:id="@+id/hot_type_text_view_user_thing_sort_type_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/sort_hot"
+ android:textColor="@color/primaryTextColor"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
+ android:id="@+id/top_type_text_view_user_thing_sort_type_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/sort_top"
+ android:textColor="@color/primaryTextColor"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+ <TextView
+ android:id="@+id/controversial_type_text_view_user_thing_sort_type_bottom_sheet_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/sort_controversial"
+ android:textColor="@color/primaryTextColor"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="32dp"
+ android:paddingEnd="32dp"
+ android:clickable="true"
+ android:focusable="true"
+ android:background="?attr/selectableItemBackground" />
+
+</LinearLayout> \ No newline at end of file