aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/content_view_subreddit_detail.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-07-30 15:27:52 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-07-30 15:27:52 +0000
commit7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad (patch)
tree4c7e2b89cb2c37ac2febede0d151e60bc536e054 /app/src/main/res/layout/content_view_subreddit_detail.xml
parentc752b66953ad0beca25e87ecf98db346ddabf55a (diff)
downloadinfinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar.gz
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar.bz2
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar.lz
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar.xz
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.tar.zst
infinity-for-reddit-7f8ca49190fdb4c2ac0acbf1f6cbcd235fe6d3ad.zip
Add the ViewSubredditActivity. Add a OnClickListener in the subscribed subreddits RecyclerView to lauch the ViewSubredditActivity.
Diffstat (limited to 'app/src/main/res/layout/content_view_subreddit_detail.xml')
-rw-r--r--app/src/main/res/layout/content_view_subreddit_detail.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/src/main/res/layout/content_view_subreddit_detail.xml b/app/src/main/res/layout/content_view_subreddit_detail.xml
new file mode 100644
index 00000000..c6334e7d
--- /dev/null
+++ b/app/src/main/res/layout/content_view_subreddit_detail.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v4.widget.NestedScrollView 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"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior"
+ tools:context=".ViewSubredditDetailActivity"
+ tools:showIn="@layout/activity_view_subreddit_detail">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_margin="@dimen/text_margin"
+ android:text="@string/large_text" />
+
+</android.support.v4.widget.NestedScrollView> \ No newline at end of file