diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-07-18 04:00:46 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-07-18 04:00:46 +0000 |
commit | 611d6a90ec39707b4d4161da1eb5b19249e670c4 (patch) | |
tree | c5df1e52265e0593ae936be2242727804b886834 /app/src/main/res/layout/activity_rules.xml | |
parent | 42497bb2475bbd0edaff79a6f1aaf99104e1b84b (diff) | |
download | infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar.gz infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar.bz2 infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar.lz infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar.xz infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.tar.zst infinity-for-reddit-611d6a90ec39707b4d4161da1eb5b19249e670c4.zip |
Viewing rules after pressing rules button in PostXXXActivity is available. Extend MarkwonView to support opening reddit subreddit and user links.
Diffstat (limited to 'app/src/main/res/layout/activity_rules.xml')
-rw-r--r-- | app/src/main/res/layout/activity_rules.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_rules.xml b/app/src/main/res/layout/activity_rules.xml new file mode 100644 index 00000000..6678f13c --- /dev/null +++ b/app/src/main/res/layout/activity_rules.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:layout_width="match_parent" + android:layout_height="match_parent" + tools:context=".RulesActivity"> + + <ProgressBar + android:id="@+id/progress_bar_rules_activity" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" /> + + <androidx.recyclerview.widget.RecyclerView + android:id="@+id/recycler_view_rules_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <TextView + android:id="@+id/error_text_view_rules_activity" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:gravity="center" + android:visibility="gone" /> + +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |