From bbf4209f3fdd4e54339bcce97eb47c8d84812f3c Mon Sep 17 00:00:00 2001 From: panqihua <1029559041@qq.com> Date: Fri, 27 Mar 2020 09:44:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=AE=BA=E5=9D=9B=E2=80=94?= =?UTF-8?q?=E6=9C=80=E6=96=B0=E5=B8=83=E5=B1=80=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pocket/data/adapter/NoticeAdpter.java | 1 + .../ui/main/ui/forum/ForumHotFragment.java | 8 +-- .../ui/main/ui/forum/ForumMyFragment.java | 10 ++- .../ui/main/ui/forum/ForumNewFragment.java | 51 ++++++++++++-- .../forum/layout/forum_new_fragment.xml | 12 +++- .../layout/main/layout/forum/layout/post.xml | 68 +++++++++++++++++++ app/src/main/res/values-en-rUS/strings.xml | 3 + app/src/main/res/values-zh-rCN/strings.xml | 3 + app/src/main/res/values/strings.xml | 3 + 9 files changed, 140 insertions(+), 19 deletions(-) create mode 100644 app/src/main/res/layout/main/layout/forum/layout/post.xml diff --git a/app/src/main/java/com/community/pocket/data/adapter/NoticeAdpter.java b/app/src/main/java/com/community/pocket/data/adapter/NoticeAdpter.java index b21008d..8c40896 100644 --- a/app/src/main/java/com/community/pocket/data/adapter/NoticeAdpter.java +++ b/app/src/main/java/com/community/pocket/data/adapter/NoticeAdpter.java @@ -30,6 +30,7 @@ public class NoticeAdpter extends RecyclerView.Adapter - + android:layout_height="match_parent" + tools:ignore="UselessParent"> + + \ No newline at end of file diff --git a/app/src/main/res/layout/main/layout/forum/layout/post.xml b/app/src/main/res/layout/main/layout/forum/layout/post.xml new file mode 100644 index 0000000..0cd6703 --- /dev/null +++ b/app/src/main/res/layout/main/layout/forum/layout/post.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values-en-rUS/strings.xml b/app/src/main/res/values-en-rUS/strings.xml index ae9c42b..f96e87a 100644 --- a/app/src/main/res/values-en-rUS/strings.xml +++ b/app/src/main/res/values-en-rUS/strings.xml @@ -54,4 +54,7 @@ Hot Topic Hot Events %1d.%2s + poster:%1s + time:%1$s + load content....... \ No newline at end of file diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index f32bc10..d06d6da 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -54,4 +54,7 @@ 热门动态 热门活动 %1d.%2s + 发帖人:%1s + 发帖时间:%1s + 加载正文中。。。。 \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 53be6cb..c71ecd1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -55,6 +55,9 @@ Hot Topic Hot Events %1d.%2s + poster:%1s + time:%1$s + load content.......