From 1b0fefaf172c707c3cc866a3a7955a5a812f7ad4 Mon Sep 17 00:00:00 2001
From: panqihua <1029559041@qq.com>
Date: Tue, 31 Mar 2020 02:53:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B8=96=E5=AD=90=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E7=95=8C=E9=9D=A2=20=E7=99=BB=E9=99=86=E3=80=81?=
=?UTF-8?q?=E6=B3=A8=E5=86=8C=E3=80=81=E9=87=8D=E7=BD=AE=E5=AF=86=E7=A0=81?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=9E=82=E7=9B=B4=E5=B1=85=E4=B8=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/src/main/AndroidManifest.xml | 1 +
.../pocket/data/model/ForumContent.java | 67 ++++++
.../pocket/ui/main/TestMainFragment.java | 4 +-
.../ui/main/ui/forum/ForumDataActivity.java | 88 ++++++++
.../pocket/ui/main/ui/forum/ForumPost.java | 20 +-
.../pocket/ui/main/ui/info/InfoFragment.java | 12 ++
.../ui/main/ui/visitor/VisitorMyVisitor.java | 6 +-
.../pocket/ui/resetpwd/ResetPwdStep1.java | 6 +
.../pocket/ui/resetpwd/ResetPwdStep3.java | 7 +
app/src/main/res/layout/activity_login.xml | 152 +++++++-------
app/src/main/res/layout/activity_register.xml | 194 +++++++++---------
.../forum/layout/activity_forum_data.xml | 41 ++++
.../forum/layout/forum_data_content.xml | 84 ++++++++
.../main/layout/forum/layout/forum_notice.xml | 5 +-
.../layout/main/layout/forum/layout/post.xml | 15 +-
.../res/layout/main/layout/info_fragment.xml | 8 +-
.../layout/visitor/layout/visitor_info.xml | 5 +-
.../res/layout/resetpwd/layout/activity.xml | 20 +-
.../res/layout/resetpwd/layout/fragment.xml | 19 --
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/dimens.xml | 2 +
app/src/main/res/values/strings.xml | 3 +
23 files changed, 553 insertions(+), 212 deletions(-)
create mode 100644 app/src/main/java/com/community/pocket/data/model/ForumContent.java
create mode 100644 app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumDataActivity.java
create mode 100644 app/src/main/res/layout/main/layout/forum/layout/activity_forum_data.xml
create mode 100644 app/src/main/res/layout/main/layout/forum/layout/forum_data_content.xml
delete mode 100644 app/src/main/res/layout/resetpwd/layout/fragment.xml
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index e701d7f..153e0a7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -10,6 +10,7 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme.NoActionBar">
+
diff --git a/app/src/main/java/com/community/pocket/data/model/ForumContent.java b/app/src/main/java/com/community/pocket/data/model/ForumContent.java
new file mode 100644
index 0000000..e496f9b
--- /dev/null
+++ b/app/src/main/java/com/community/pocket/data/model/ForumContent.java
@@ -0,0 +1,67 @@
+package com.community.pocket.data.model;
+
+/**
+ * 论坛楼层数据
+ */
+public class ForumContent {
+ //头像
+ private String headImg;
+ //用户名
+ private String username;
+ //信用分
+ private Integer score;
+ //发帖时间
+ private Long time;
+ //楼层
+ private Integer tower;
+ //帖子正文
+ private String content;
+
+ public String getHeadImg() {
+ return headImg;
+ }
+
+ public void setHeadImg(String headImg) {
+ this.headImg = headImg;
+ }
+
+ public String getUsername() {
+ return username;
+ }
+
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ public Integer getScore() {
+ return score;
+ }
+
+ public void setScore(Integer score) {
+ this.score = score;
+ }
+
+ public Long getTime() {
+ return time;
+ }
+
+ public void setTime(Long time) {
+ this.time = time;
+ }
+
+ public Integer getTower() {
+ return tower;
+ }
+
+ public void setTower(Integer tower) {
+ this.tower = tower;
+ }
+
+ public String getContent() {
+ return content;
+ }
+
+ public void setContent(String content) {
+ this.content = content;
+ }
+}
diff --git a/app/src/main/java/com/community/pocket/ui/main/TestMainFragment.java b/app/src/main/java/com/community/pocket/ui/main/TestMainFragment.java
index aa43cf8..0b8fb26 100644
--- a/app/src/main/java/com/community/pocket/ui/main/TestMainFragment.java
+++ b/app/src/main/java/com/community/pocket/ui/main/TestMainFragment.java
@@ -25,11 +25,11 @@ public abstract class TestMainFragment extends BaseFragment {
@Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
- //文本框打印类信息
+ //文本框打印测试信息
View root = super.onCreateView(inflater, container, savedInstanceState);
final TextView textView = root.findViewById(viewId());
MutableLiveData mText = new MutableLiveData<>();
- mText.setValue(this.getClass().getName());
+ mText.setValue("未完成界面!!!");
mText.observe(getViewLifecycleOwner(), new Observer() {
@Override
public void onChanged(@Nullable String s) {
diff --git a/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumDataActivity.java b/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumDataActivity.java
new file mode 100644
index 0000000..55192f3
--- /dev/null
+++ b/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumDataActivity.java
@@ -0,0 +1,88 @@
+package com.community.pocket.ui.main.ui.forum;
+
+import android.os.Bundle;
+import android.text.format.DateFormat;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.LinearLayout;
+import android.widget.TextView;
+
+import androidx.constraintlayout.widget.ConstraintLayout;
+
+import com.community.pocket.R;
+import com.community.pocket.ui.BaseActivity;
+
+import org.xutils.view.annotation.ContentView;
+import org.xutils.view.annotation.Event;
+import org.xutils.view.annotation.ViewInject;
+
+/**
+ * 帖子详情界面
+ */
+@ContentView(R.layout.activity_forum_data)
+public class ForumDataActivity extends BaseActivity {
+
+ //第一楼布局
+ @ViewInject(R.id.first_layout)
+ private ConstraintLayout firstLayout;
+
+ //回复楼层布局
+ @ViewInject(R.id.reply_layout)
+ private LinearLayout replyLayout;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ initFirst();
+
+ createReply();
+ }
+
+ /**
+ * 初始化第一楼数据
+ * TODO 测试数据
+ */
+ private void initFirst() {
+ setData(firstLayout);
+ }
+
+ /**
+ * 返回
+ */
+ @Event(value = R.id.back)
+ private void back(View view) {
+ finish();
+ }
+
+ /**
+ * 创建楼层数据
+ */
+ private void createReply() {
+ for (int i = 0; i < 10; i++) {
+ View view = View.inflate(this, R.layout.forum_data_content, null);
+ ViewGroup.LayoutParams layoutParams = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
+ ViewGroup.MarginLayoutParams marginLayoutParams = new ViewGroup.MarginLayoutParams(layoutParams);
+ marginLayoutParams.setMargins(0, 50, 0, 0);
+ setData(view);
+ view.setLayoutParams(marginLayoutParams);
+ replyLayout.addView(view);
+ }
+ }
+
+ /**
+ * 设置楼层布局
+ */
+ private void setData(View view) {
+ TextView name = view.findViewById(R.id.name);
+ name.setText("我是笨蛋");
+ TextView score = view.findViewById(R.id.score);
+ score.setText("22");
+ TextView time = view.findViewById(R.id.time);
+ time.setText(DateFormat.format(getString(R.string.dateformat), System.currentTimeMillis()));
+ TextView tower = view.findViewById(R.id.tower);
+ tower.setText(getString(R.string.tower, 1));
+ TextView content = view.findViewById(R.id.content);
+ content.setText("我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋我是笨蛋");
+ }
+}
diff --git a/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumPost.java b/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumPost.java
index b1e1320..a5e82e2 100644
--- a/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumPost.java
+++ b/app/src/main/java/com/community/pocket/ui/main/ui/forum/ForumPost.java
@@ -1,10 +1,11 @@
package com.community.pocket.ui.main.ui.forum;
-import android.annotation.SuppressLint;
+import android.content.Intent;
import android.os.Bundle;
import android.text.format.DateFormat;
import android.view.View;
import android.view.ViewGroup;
+import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
@@ -34,11 +35,11 @@ public abstract class ForumPost extends BaseFragment {
}
/**
- * 加载最新帖子
+ * 加载帖子数据
+ * TODO 测试数据
*/
- @SuppressLint("SetTextI18n")
private void loadPost(View view) {
- //TODO 测试数据
+
for (int i = 0; i < 10; i++) {
View childView = View.inflate(getContext(), R.layout.post, null);
TextView title = childView.findViewById(R.id.post_title);
@@ -58,6 +59,17 @@ public abstract class ForumPost extends BaseFragment {
ViewGroup.MarginLayoutParams layoutParams = new ViewGroup.MarginLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
layoutParams.setMargins(0, 0, 0, 50);
childView.setLayoutParams(layoutParams);
+
+
+ //打开帖子
+ Button button = childView.findViewById(R.id.showAll);
+ button.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ startActivity(new Intent(getContext(), ForumDataActivity.class));
+ }
+ });
+
layout.addView(childView);
}
}
diff --git a/app/src/main/java/com/community/pocket/ui/main/ui/info/InfoFragment.java b/app/src/main/java/com/community/pocket/ui/main/ui/info/InfoFragment.java
index fa11df0..4865bdd 100644
--- a/app/src/main/java/com/community/pocket/ui/main/ui/info/InfoFragment.java
+++ b/app/src/main/java/com/community/pocket/ui/main/ui/info/InfoFragment.java
@@ -1,5 +1,6 @@
package com.community.pocket.ui.main.ui.info;
+import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
@@ -12,12 +13,14 @@ import androidx.annotation.RequiresApi;
import com.community.pocket.R;
import com.community.pocket.ui.BaseFragment;
+import com.community.pocket.ui.login.LoginActivity;
import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import org.xutils.view.annotation.ContentView;
+import org.xutils.view.annotation.Event;
import org.xutils.view.annotation.ViewInject;
import java.util.ArrayList;
@@ -67,6 +70,15 @@ public class InfoFragment extends BaseFragment {
loadChart();
}
+ /**
+ * 注销登录
+ */
+ @RequiresApi(api = Build.VERSION_CODES.KITKAT)
+ @Event(value = R.id.logout)
+ private void logout(View view) {
+ startActivity(new Intent(view.getContext(), LoginActivity.class));
+ }
+
//加载图表数据
private void loadChart() {
LineData lineData = new LineData();
diff --git a/app/src/main/java/com/community/pocket/ui/main/ui/visitor/VisitorMyVisitor.java b/app/src/main/java/com/community/pocket/ui/main/ui/visitor/VisitorMyVisitor.java
index 9967597..5cd4a99 100644
--- a/app/src/main/java/com/community/pocket/ui/main/ui/visitor/VisitorMyVisitor.java
+++ b/app/src/main/java/com/community/pocket/ui/main/ui/visitor/VisitorMyVisitor.java
@@ -111,9 +111,9 @@ public abstract class VisitorMyVisitor extends BaseFragment {
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
private void createAlertNotes(String text) {
View view = View.inflate(getContext(), R.layout.visitor_info, null);
- EditText editText = view.findViewById(R.id.content);
- editText.setText(text);
- editText.setTextColor(getResources().getColor(R.color.colorPrimaryDark));
+ TextView textView = view.findViewById(R.id.content);
+ textView.setText(text);
+ textView.setTextColor(getResources().getColor(R.color.colorPrimaryDark));
Button button = view.findViewById(R.id.close);
AlertDialog.Builder alert = new AlertDialog.Builder(Objects.requireNonNull(getContext()));
final AlertDialog alertDialog = alert.setTitle(R.string.notes).setView(view).create();
diff --git a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java
index 2bcea1b..89c864a 100644
--- a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java
+++ b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java
@@ -1,8 +1,10 @@
package com.community.pocket.ui.resetpwd;
import android.content.Intent;
+import android.os.Build;
import android.view.View;
+import androidx.annotation.RequiresApi;
import androidx.navigation.fragment.NavHostFragment;
import com.community.pocket.R;
@@ -12,6 +14,8 @@ import com.community.pocket.ui.login.LoginActivity;
import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
+import java.util.Objects;
+
/**
* 重置密码第一步,输入账号邮箱
*/
@@ -25,8 +29,10 @@ public class ResetPwdStep1 extends BaseFragment {
}
//返回登陆
+ @RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Event(value = R.id.back)
private void back(View view) {
startActivity(new Intent(getContext(), LoginActivity.class));
+ Objects.requireNonNull(getActivity()).finish();
}
}
diff --git a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep3.java b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep3.java
index 81d9632..1d3387e 100644
--- a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep3.java
+++ b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep3.java
@@ -1,9 +1,12 @@
package com.community.pocket.ui.resetpwd;
import android.content.Intent;
+import android.os.Build;
import android.view.View;
import android.widget.Toast;
+import androidx.annotation.RequiresApi;
+
import com.community.pocket.R;
import com.community.pocket.ui.BaseFragment;
import com.community.pocket.ui.login.LoginActivity;
@@ -11,6 +14,8 @@ import com.community.pocket.ui.login.LoginActivity;
import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event;
+import java.util.Objects;
+
/**
* 重置密码第三步,输入密码
*/
@@ -22,8 +27,10 @@ public class ResetPwdStep3 extends BaseFragment {
Toast.makeText(getContext(), R.string.action_reset_password, Toast.LENGTH_SHORT).show();
}
+ @RequiresApi(api = Build.VERSION_CODES.KITKAT)
@Event(value = R.id.back)
private void back(View v) {
startActivity(new Intent(getContext(), LoginActivity.class));
+ Objects.requireNonNull(getActivity()).finish();
}
}
diff --git a/app/src/main/res/layout/activity_login.xml b/app/src/main/res/layout/activity_login.xml
index b545546..540d2c4 100644
--- a/app/src/main/res/layout/activity_login.xml
+++ b/app/src/main/res/layout/activity_login.xml
@@ -5,103 +5,101 @@
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingBottom="@dimen/activity_vertical_margin"
tools:context=".ui.login.LoginActivity">
-
+
-
+ app:layout_constraintTop_toBottomOf="@id/titlebar"
+ tools:layout_constraintStart_toStartOf="parent">
-
+ android:autofillHints="@string/AUTOFILL_HINT_USERNAME"
+ android:hint="@string/prompt_user"
+ android:inputType="text"
+ android:selectAllOnFocus="true"
+ app:layout_constraintEnd_toStartOf="@id/login_to_resetPwd"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:layout_constraintEnd_toStartOf="@id/login_to_resetPwd" />
-
+
+ android:layout_marginTop="8dp"
+ android:autofillHints="@string/AUTOFILL_HINT_PASSWORD"
+ android:hint="@string/prompt_password"
+ android:imeActionLabel="@string/action_sign_in_short"
+ android:imeOptions="actionDone"
+ android:inputType="textPassword"
+ android:selectAllOnFocus="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/username" />
-
+ app:layout_constraintTop_toBottomOf="@id/password" />
+
+
+
+
+
+
+
+ app:layout_constraintTop_toTopOf="@id/username" />
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_register.xml b/app/src/main/res/layout/activity_register.xml
index 6871723..b4174d9 100644
--- a/app/src/main/res/layout/activity_register.xml
+++ b/app/src/main/res/layout/activity_register.xml
@@ -6,119 +6,119 @@
android:layout_height="match_parent"
tools:context=".ui.register.RegisterActivity">
-
+
-
+ app:layout_constraintTop_toBottomOf="@id/titlebar"
+ tools:layout_constraintStart_toStartOf="parent">
-
+ android:autofillHints="@string/AUTOFILL_HINT_USERNAME"
+ android:hint="@string/prompt_user"
+ android:inputType="text"
+ android:selectAllOnFocus="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
-
+
+ android:layout_marginTop="8dp"
+ android:autofillHints="@string/AUTOFILL_HINT_USERNAME"
+ android:hint="@string/prompt_password"
+ android:inputType="text|textPassword"
+ android:selectAllOnFocus="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/username" />
-
+
+ android:layout_marginTop="8dp"
+ android:autofillHints="@string/AUTOFILL_HINT_USERNAME"
+ android:hint="@string/prompt_confirm_password"
+ android:inputType="text|textPassword"
+ android:selectAllOnFocus="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/password" />
+
+
+
+
+ app:layout_constraintTop_toBottomOf="@id/phone" />
-
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/email">
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/main/layout/forum/layout/activity_forum_data.xml b/app/src/main/res/layout/main/layout/forum/layout/activity_forum_data.xml
new file mode 100644
index 0000000..b0e89e5
--- /dev/null
+++ b/app/src/main/res/layout/main/layout/forum/layout/activity_forum_data.xml
@@ -0,0 +1,41 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/main/layout/forum/layout/forum_data_content.xml b/app/src/main/res/layout/main/layout/forum/layout/forum_data_content.xml
new file mode 100644
index 0000000..33222ac
--- /dev/null
+++ b/app/src/main/res/layout/main/layout/forum/layout/forum_data_content.xml
@@ -0,0 +1,84 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/main/layout/forum/layout/forum_notice.xml b/app/src/main/res/layout/main/layout/forum/layout/forum_notice.xml
index 8358fa4..fb196c6 100644
--- a/app/src/main/res/layout/main/layout/forum/layout/forum_notice.xml
+++ b/app/src/main/res/layout/main/layout/forum/layout/forum_notice.xml
@@ -29,7 +29,7 @@
android:layout_height="wrap_content"
android:orientation="vertical">
-
+ android:singleLine="false"
+ android:textColor="@color/colorBlack" />
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
index 4f15de2..5bf8bf4 100644
--- a/app/src/main/res/layout/main/layout/forum/layout/post.xml
+++ b/app/src/main/res/layout/main/layout/forum/layout/post.xml
@@ -31,16 +31,26 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="24dp"
+ android:layout_marginBottom="32dp"
android:background="@drawable/border"
android:ems="10"
android:hint="@string/load_post_content"
android:importantForAutofill="no"
- android:maxLines="4"
+ android:maxLength="40"
app:layout_constraintBottom_toBottomOf="@id/headimg"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/headimg"
app:layout_constraintTop_toTopOf="@id/headimg" />
+
+
+ app:layout_constraintTop_toBottomOf="@id/showAll">
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/main/layout/info_fragment.xml b/app/src/main/res/layout/main/layout/info_fragment.xml
index 7e721d1..fdc32d2 100644
--- a/app/src/main/res/layout/main/layout/info_fragment.xml
+++ b/app/src/main/res/layout/main/layout/info_fragment.xml
@@ -25,8 +25,8 @@
android:id="@+id/headimg"
android:layout_width="@dimen/size_200"
android:layout_height="@dimen/size_200"
+ android:background="@drawable/border"
android:contentDescription="@string/headimg"
- android:src="@drawable/comm_titlebar_progress_circular"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
@@ -146,6 +146,12 @@
+
+
diff --git a/app/src/main/res/layout/main/layout/visitor/layout/visitor_info.xml b/app/src/main/res/layout/main/layout/visitor/layout/visitor_info.xml
index a5a3557..63f9bc3 100644
--- a/app/src/main/res/layout/main/layout/visitor/layout/visitor_info.xml
+++ b/app/src/main/res/layout/main/layout/visitor/layout/visitor_info.xml
@@ -5,15 +5,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
-
-
+
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/resetpwd/layout/fragment.xml b/app/src/main/res/layout/resetpwd/layout/fragment.xml
deleted file mode 100644
index 6c2c303..0000000
--- a/app/src/main/res/layout/resetpwd/layout/fragment.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
diff --git a/app/src/main/res/values-en-rUS/strings.xml b/app/src/main/res/values-en-rUS/strings.xml
index 32ccadd..ddc7646 100644
--- a/app/src/main/res/values-en-rUS/strings.xml
+++ b/app/src/main/res/values-en-rUS/strings.xml
@@ -88,4 +88,7 @@
end time
query
appointment name
+ %1d l
+ open_content
+ logout
\ 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 e38a4db..5a1b5bb 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -88,4 +88,7 @@
结束时间
查询
预约人
+ 第%1d楼
+ 打开帖子
+ 注销登录
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
index 2a5ab1e..67abef8 100644
--- a/app/src/main/res/values/dimens.xml
+++ b/app/src/main/res/values/dimens.xml
@@ -9,4 +9,6 @@
200dp
300dp
200dp
+ 180dp
+ 16dp
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 687a513..cac7919 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -89,6 +89,9 @@
end time
query
appointment name
+ %1d l
+ open_content
+ logout