diff --git a/Code/LeudaemiaLikeMe/app/src/main/AndroidManifest.xml b/Code/LeudaemiaLikeMe/app/src/main/AndroidManifest.xml
index b4b7bb2..521df5c 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/AndroidManifest.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/AndroidManifest.xml
@@ -18,89 +18,126 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.LeudaemiaLikeMe">
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AboutActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AboutActivity.java
index ee14577..06962e0 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AboutActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AboutActivity.java
@@ -1,14 +1,25 @@
package com.example.leudaemialikeme.Activity;
import android.os.Bundle;
+import android.view.View;
+import android.widget.ImageView;
import com.example.leudaemialikeme.R;
public class AboutActivity extends BaseActivity {
+ ImageView about_back;
+
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_about);
+ about_back=findViewById(R.id.about_back);
+ about_back.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ finish();
+ }
+ });
}
}
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AddEventActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AddEventActivity.java
index 3473834..3afd564 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AddEventActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AddEventActivity.java
@@ -1,16 +1,14 @@
package com.example.leudaemialikeme.Activity;
-import androidx.appcompat.app.AppCompatActivity;
-
import android.app.Activity;
import android.app.DatePickerDialog;
import android.app.TimePickerDialog;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
-import android.widget.Button;
import android.widget.DatePicker;
import android.widget.ImageView;
+import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.TimePicker;
import android.widget.Toast;
@@ -40,7 +38,8 @@ public class AddEventActivity extends BaseActivity {
private String show_event_day,show_event_month,show_event_info;
private String show_event_place,show_event_doctor_name,show_event_time,show_event_create_time;
private ImageView delete,save;
- private Button add_date,add_time;
+ private LinearLayout add_date,add_time;
+// private Button add_time;
private ImageView back;
DateFormat format= DateFormat.getDateTimeInstance();
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AttentionActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AttentionActivity.java
index d384583..090cb9e 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AttentionActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/AttentionActivity.java
@@ -1,6 +1,8 @@
package com.example.leudaemialikeme.Activity;
import android.os.Bundle;
+import android.view.View;
+import android.widget.ImageView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
@@ -14,6 +16,7 @@ import java.util.List;
public class AttentionActivity extends BaseActivity {
+ private ImageView attention_back;
private List attentionList = new ArrayList<>();
@Override
@@ -21,6 +24,17 @@ public class AttentionActivity extends BaseActivity {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_attention);
getData();//获得数据
+
+ attention_back=findViewById(R.id.attention_back);
+ attention_back.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ finish();
+ }
+ });
+
+
+
RecyclerView recycleView = (RecyclerView) findViewById(R.id.attentionList);//获得视图
LinearLayoutManager layoutManager;
layoutManager = new LinearLayoutManager(this);
@@ -34,6 +48,5 @@ public class AttentionActivity extends BaseActivity {
attentionList.add(attention1);
Attention attention2 = new Attention(R.mipmap.img_my_person,"小白帮","管住嘴,多饮水,常保暖");
attentionList.add(attention2);
-
}
}
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/BaseActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/BaseActivity.java
index c7612f4..d10cd15 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/BaseActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/BaseActivity.java
@@ -31,7 +31,7 @@ public class BaseActivity extends AppCompatActivity {
public static Owner owner;
//服务器链接
- public static String SERVER_IP = "172.18.138.225";
+ public static String SERVER_IP = "172.30.112.86";
// 172.30.118.24 寝:172.18.138.225
// static {
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/MyInfoActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/MyInfoActivity.java
index 68ba609..83f72fc 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/MyInfoActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/MyInfoActivity.java
@@ -8,6 +8,7 @@ import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.EditText;
+import android.widget.ImageView;
import android.widget.Spinner;
import android.widget.TextView;
import android.widget.Toast;
@@ -33,6 +34,7 @@ public class MyInfoActivity extends BaseActivity {
private Button commit;
private Spinner spinner_sex;
private String toast_content;
+ private ImageView my_info_back;
@Override
protected void onCreate(Bundle savedInstanceState) {
@@ -89,6 +91,7 @@ public class MyInfoActivity extends BaseActivity {
if(!ch_user.getSex().equals(origin_user.getSex()))
toast_content =toast_content +"性别修改成功\n";
origin_user=ch_user;
+ changed_user=ch_user;
runOnUiThread(new Runnable() {
@Override
public void run() {
@@ -107,6 +110,14 @@ public class MyInfoActivity extends BaseActivity {
}
});
+ my_info_back.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ finish();
+ }
+ });
+
+
}
@@ -119,6 +130,7 @@ public class MyInfoActivity extends BaseActivity {
edit_phone=(EditText)findViewById(R.id.my_info_phone);
spinner_sex=(Spinner)findViewById(R.id.my_info_sex);
commit=(Button)findViewById(R.id.my_info_commit);
+ my_info_back=(ImageView)findViewById(R.id.my_info_back);
}
private void initData(){
@@ -151,4 +163,5 @@ public class MyInfoActivity extends BaseActivity {
}
});
}
+
}
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SafetyActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SafetyActivity.java
index 819450a..f4af644 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SafetyActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SafetyActivity.java
@@ -1,14 +1,26 @@
package com.example.leudaemialikeme.Activity;
import android.os.Bundle;
+import android.view.View;
+import android.widget.ImageView;
import com.example.leudaemialikeme.R;
public class SafetyActivity extends BaseActivity {
+ private ImageView safety_back;
+
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_safety);
+
+ safety_back=(ImageView)findViewById(R.id.safety_back);
+ safety_back.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ finish();
+ }
+ });
}
}
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendInvitationActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendInvitationActivity.java
index 3dc95d0..c09d9ff 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendInvitationActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendInvitationActivity.java
@@ -13,7 +13,6 @@ import android.widget.Toast;
import com.example.leudaemialikeme.Dao.InvitationDao;
import com.example.leudaemialikeme.R;
-import com.example.leudaemialikeme.Utils.Data;
import com.example.leudaemialikeme.Utils.OkHttpUtil;
import java.text.SimpleDateFormat;
@@ -68,7 +67,6 @@ public class SendInvitationActivity extends BaseActivity {
SimpleDateFormat sdf =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.getDefault());
String time = sdf.format(timeCurrent);
Log.e("输入的time:", time);
- Data app = (Data)getApplication();
Map paramMap = new HashMap();
paramMap.put("uid",String.valueOf(BaseActivity.owner.getNetId()));//需要获取登录用户的id
paramMap.put("btype",type);
@@ -80,6 +78,7 @@ public class SendInvitationActivity extends BaseActivity {
paramMap.put("bbrowse",String.valueOf(0));
paramMap.put("flag",String.valueOf(0));
sendInvitationRequest(paramMap);
+
}
}
});
@@ -111,6 +110,7 @@ public class SendInvitationActivity extends BaseActivity {
if (jsonStr.contains("success")){
Toast.makeText(SendInvitationActivity.this,
"提交成功",Toast.LENGTH_SHORT).show();
+ finish();
}else{
Toast.makeText(SendInvitationActivity.this,
"帖子提交失败,请检查您的网络状况",Toast.LENGTH_SHORT).show();
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendQuestionActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendQuestionActivity.java
index 1e9b0c9..e97837e 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendQuestionActivity.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SendQuestionActivity.java
@@ -11,7 +11,6 @@ import android.widget.Toast;
import com.example.leudaemialikeme.Dao.QuestionDao;
import com.example.leudaemialikeme.R;
-import com.example.leudaemialikeme.Utils.Data;
import com.example.leudaemialikeme.Utils.OkHttpUtil;
import java.text.SimpleDateFormat;
@@ -66,7 +65,6 @@ public class SendQuestionActivity extends BaseActivity {
String time = sdf.format(timeCurrent);
// Log.e("输入的time:", time);
Map paramMap = new HashMap();
- Data app = (Data)getApplication();
paramMap.put("uid",String.valueOf(BaseActivity.owner.getNetId())); // 需要获取登陆用户的id:需改
@@ -84,7 +82,6 @@ public class SendQuestionActivity extends BaseActivity {
paramMap.put("qbrowseNum",String.valueOf(0));
paramMap.put("flag",String.valueOf(0));
sendQuestionRequest(paramMap);
-
}
}
});
@@ -120,6 +117,7 @@ public class SendQuestionActivity extends BaseActivity {
if (jsonStr.contains("success")){
Toast.makeText(SendQuestionActivity.this,
"提交成功",Toast.LENGTH_SHORT).show();
+ finish();
}else{
Toast.makeText(SendQuestionActivity.this,
"问题提交失败,请检查您的网络状况", Toast.LENGTH_SHORT).show();
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SplashActivity.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SplashActivity.java
new file mode 100644
index 0000000..9b967a5
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Activity/SplashActivity.java
@@ -0,0 +1,29 @@
+package com.example.leudaemialikeme.Activity;
+
+import android.content.Intent;
+import android.os.Bundle;
+import android.os.Handler;
+import android.util.Log;
+
+import androidx.appcompat.app.AppCompatActivity;
+
+import com.example.leudaemialikeme.R;
+
+public class SplashActivity extends AppCompatActivity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_splash);
+ new Handler().postDelayed(new Runnable() {
+ @Override
+ public void run() {
+ Log.e("splash","开始跳转");
+ Intent mainIntent = new Intent(SplashActivity.this, LoginActivity.class);
+ startActivity(mainIntent);
+ Log.e("splash","跳转下一页面");
+ finish();
+ }
+ }, 1900);
+ }
+}
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Adapter/HistoryPageFragmentAdapter.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Adapter/HistoryPageFragmentAdapter.java
index 7b80937..005b7bf 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Adapter/HistoryPageFragmentAdapter.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Adapter/HistoryPageFragmentAdapter.java
@@ -20,11 +20,11 @@ public class HistoryPageFragmentAdapter extends FragmentPagerAdapter {
@Override
public Fragment getItem(int idx) {
String collectCategoryTitle = channelList[idx];
- if(collectCategoryTitle.equals(" 资讯 "))
+ if(collectCategoryTitle.equals(" 资讯 "))
{
return NewsHistoryFragment.newInstance(collectCategoryTitle);
}
- else if(collectCategoryTitle.equals(" 问题 ")){
+ else if(collectCategoryTitle.equals(" 问题 ")){
return QuestionHistoryFragment.newInstance(collectCategoryTitle);
}else{
return BlogHistoryFragment.newInstance(collectCategoryTitle);
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/CollectFragment.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/CollectFragment.java
index 9e5d35c..4125357 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/CollectFragment.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/CollectFragment.java
@@ -30,7 +30,7 @@ public class CollectFragment extends Fragment implements ViewPager.OnPageChangeL
private ViewPager viewPager; //内导航的碎片的容器
private RadioGroup rgChannelCollect=null; // 内导航由单选按钮组构成
private HorizontalScrollView hvChannelCollect=null; //单选按钮组可滚动动
- private String[] channelList = {" 资讯 "," 帖子 ",
+ private String[] channelList = {" 帖子 "
}; //默认的内导航栏目
private CollectPageFragmentAdapter adapter; //viewPager 的适配器
private TextView Name;
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/HistoryFragment.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/HistoryFragment.java
index 28ae30a..5bb3e77 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/HistoryFragment.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/HistoryFragment.java
@@ -26,7 +26,7 @@ public class HistoryFragment extends Fragment implements ViewPager.OnPageChangeL
private ViewPager viewPager; //内导航的碎片的容器
private RadioGroup rgChannelCollect=null; // 内导航由单选按钮组构成
private HorizontalScrollView hvChannelCollect=null; //单选按钮组可滚动动
- private String[] channelList = {" 资讯 "," 问题 "," 帖子 "
+ private String[] channelList = {" 资讯 "," 问题 "," 帖子 "
}; //默认的内导航栏目
private HistoryPageFragmentAdapter adapter; //viewPager 的适配器
private TextView Name;
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageChannelFragment.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageChannelFragment.java
index c69fc42..df08f27 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageChannelFragment.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageChannelFragment.java
@@ -66,7 +66,7 @@ public class MessageChannelFragment extends Fragment {
} else if (messageCategoryTitle.equals(" 评论 ")) {
view = inflater.inflate(R.layout.fragment_comment, container, false);
- } else if (messageCategoryTitle.equals(" 赞 ")) {
+ } else if (messageCategoryTitle.equals(" 收藏 ")) {
view = inflater.inflate(R.layout.fragment_nice, container, false);
} else if (messageCategoryTitle.equals(" 粉丝 ")) {
view = inflater.inflate(R.layout.fragment_fans, container, false);
diff --git a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageFragment.java b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageFragment.java
index 72ab913..7bfcc95 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageFragment.java
+++ b/Code/LeudaemiaLikeMe/app/src/main/java/com/example/leudaemialikeme/Fragment/MessageFragment.java
@@ -24,7 +24,7 @@ public class MessageFragment extends Fragment implements ViewPager.OnPageChangeL
private RadioGroup rgChannel=null; // 内导航由单选按钮组构成
private HorizontalScrollView hvChannel=null; //单选按钮组可滚动动
private String[] channelList = {" 私信 "," 评论 ",
- " 赞 "," 粉丝 "}; //默认的内导航栏目
+ " 收藏 "," 粉丝 "}; //默认的内导航栏目
private MessagePageFragmentAdapter adapter; //viewPager 的适配器
public MessageFragment() {
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logo.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logo.png
new file mode 100644
index 0000000..f80f4cd
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logo.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logov2.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logov2.png
new file mode 100644
index 0000000..799ba2e
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/about_logov2.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/button_set_clock_time.xml b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/button_set_clock_time.xml
new file mode 100644
index 0000000..9dbe82e
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/button_set_clock_time.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/chat_send.xml b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/chat_send.xml
new file mode 100644
index 0000000..dec73ea
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/chat_send.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/clock_commit.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/clock_commit.png
new file mode 100644
index 0000000..36251d5
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/clock_commit.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/down.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/down.png
new file mode 100644
index 0000000..930c76d
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/down.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/find_new_user.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/find_new_user.png
new file mode 100644
index 0000000..26da9e0
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/find_new_user.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already.png
new file mode 100644
index 0000000..dfe1964
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already_v3.png b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already_v3.png
new file mode 100644
index 0000000..883a8f7
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/read_already_v3.png differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_corner_add_clock.xml b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_corner_add_clock.xml
new file mode 100644
index 0000000..f1ca6ac
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_corner_add_clock.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_round_corner_my.xml b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_round_corner_my.xml
new file mode 100644
index 0000000..0229f6a
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/shape_round_corner_my.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/drawable/splash_background.jpg b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/splash_background.jpg
new file mode 100644
index 0000000..61c3142
Binary files /dev/null and b/Code/LeudaemiaLikeMe/app/src/main/res/drawable/splash_background.jpg differ
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_about.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_about.xml
index 26dcd96..7d88b47 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_about.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_about.xml
@@ -10,31 +10,47 @@
-
-
+ android:background="@color/white"
+ android:orientation="vertical">
-
+ android:layout_marginTop="15dp"
+ android:layout_marginBottom="15dp"
+ android:background="@color/white"
+ android:orientation="horizontal">
+
+
+
+
+
+
+
+
+ android:layout_marginTop="150dp"
+ android:orientation="vertical">
-
+
-
+
+
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_clock.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_clock.xml
index 8123a84..b8230ae 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_clock.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_clock.xml
@@ -4,110 +4,173 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
android:orientation="vertical"
tools:context=".ClockDetail">
-
+
+
+ android:layout_marginTop="15dp"
+ android:layout_marginBottom="15dp"
+ android:background="@color/white"
+ android:orientation="horizontal">
+
+
+
+
+
+
+
+
-
+ android:layout_height="wrap_content"
+ android:layout_marginTop="40dp"
+ android:orientation="vertical">
+
+ android:layout_gravity="center"
+ android:text="00"
+ android:textSize="60dp" />
+ android:textSize="50dp" />
+ android:text="00"
+ android:textSize="55dp" />
+
-
+
-
+ android:layout_height="wrap_content"
+ android:layout_marginTop="30dp"
+ android:layout_marginBottom="20dp"
+ android:orientation="vertical">
-
+ android:background="@drawable/shape_corner_add_clock"
+ android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ android:layout_marginBottom="20dp"
+ android:orientation="vertical">
-
+ android:background="@drawable/shape_corner_add_clock"
+ android:orientation="vertical">
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_event.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_event.xml
index 9abbd7d..d428431 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_event.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_add_event.xml
@@ -4,36 +4,40 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
android:orientation="vertical"
tools:context="com.example.leudaemialikeme.Activity.AddEventActivity">
-
+
-
+ />
-
+
@@ -50,23 +56,28 @@
android:id="@+id/textView52"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
+ android:layout_marginLeft="40dp"
+ android:layout_marginRight="30dp"
+ android:layout_gravity="center"
android:textSize="18dp"
- android:layout_margin="8dp"
android:text="事件" />
+ android:hint="请输入事件名" />
@@ -75,23 +86,28 @@
android:id="@+id/textView53"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
+ android:layout_marginLeft="40dp"
+ android:layout_marginRight="30dp"
+ android:layout_gravity="center"
android:textSize="18dp"
- android:layout_margin="8dp"
android:text="地点" />
+ android:hint="请输入地点名" />
@@ -100,101 +116,137 @@
android:id="@+id/textView54"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
+ android:layout_marginLeft="40dp"
+ android:layout_marginRight="30dp"
+ android:layout_gravity="center"
android:textSize="18dp"
- android:layout_margin="8dp"
android:text="医生" />
+ android:hint="请输入医生名" />
-
+ android:text="日期" />
-
+ android:orientation="horizontal">
-
+
+
+
+
+
+
+
+
+
+
-
-
-
+ android:orientation="horizontal">
+
+
+
+
+
+
+
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_answer.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_answer.xml
index 02c5bd1..63a7f79 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_answer.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_answer.xml
@@ -74,12 +74,6 @@
android:gravity="start"
android:layout_margin="10dp"
android:hint="分享你的经验,互帮互助,大家一起好起来呀!" />
-
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_attention.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_attention.xml
index bd1e5b7..a8b7523 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_attention.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_attention.xml
@@ -11,35 +11,38 @@
+ android:background="@color/white">
+
+
+ android:layout_marginLeft="15dp"
+ android:src="@drawable/back"/>
-
+
+
+ android:textSize="19dp" />
@@ -98,6 +97,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
+
android:text="急性白血病经验分享,第一帖"
android:textSize="20dp" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_chat.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_chat.xml
index 219e785..2f82f11 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_chat.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_chat.xml
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
tools:context=".Activity.ChatActivity"
android:orientation="vertical">
@@ -11,13 +12,20 @@
+ android:background="@color/white">
+
@@ -30,33 +38,64 @@
android:textSize="18dp"
android:textColor="#000"
android:text="匿名" />
+
+
+
+
+
+
+ android:layout_height="60dp"
+ android:orientation="horizontal"
+ android:layout_gravity="bottom"
+ android:background="#FFFFFF">
-
+
+
+
+
+
-
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_clock_detail.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_clock_detail.xml
index 89599c3..f8a5143 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_clock_detail.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_clock_detail.xml
@@ -9,6 +9,7 @@
@@ -38,7 +40,7 @@
android:layout_height="wrap_content"
android:layout_marginLeft="25dp"
android:text="07"
- android:textSize="39sp" />
+ android:textSize="50dp" />
+ android:textSize="40dp" />
+ android:textSize="40sp" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_event.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_event.xml
index f961d2b..b5de3ba 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_event.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_event.xml
@@ -10,31 +10,40 @@
+ android:background="@color/white">
+
+
+ />
+
+
+ android:background="@color/white">
+
+
+ />
+
-
+
@@ -53,6 +72,7 @@
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginBottom="10dp"
android:text="展开"
android:textColor="@color/hair_grey"/>
@@ -67,6 +87,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="20dp"
+ android:layout_marginBottom="10dp"
android:orientation="horizontal">
+
-
+ android:layout_height="match_parent"
+ android:orientation="vertical"
+
+ android:background="@color/white">
+
+
-
+
+
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_mdctrmd.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_mdctrmd.xml
index 2614113..0ef9377 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_mdctrmd.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_mdctrmd.xml
@@ -13,33 +13,39 @@
+ android:layout_height="wrap_content"
+ android:background="@color/white">
+
+
-
+ android:layout_width="30dp"
+ android:layout_height="30dp"
+ android:layout_marginRight="15dp"
+ android:src="@drawable/add_fill_v2" />
+
+ android:background="@drawable/background"
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+ android:layout_gravity="center"
+ android:paddingLeft="34dp"
+ android:layout_margin="10dp"
+ android:textSize="18dp"
+ android:text="ID" />
+ android:text="Name"
+ android:textSize="18dp" />
+ android:layout_gravity="center"
+ android:paddingLeft="34dp"
+ android:layout_margin="10dp"
+ android:textSize="18dp"
+ android:text="用户名" />
+ android:layout_gravity="center"
+ android:layout_marginBottom="7dp"
+ android:layout_weight="4"
+ android:background="@color/white"
+ android:paddingTop="20dp"
+ android:text="Name"
+ android:textSize="18dp" />
+ android:layout_gravity="center"
+ android:paddingLeft="34dp"
+ android:layout_margin="10dp"
+ android:textSize="18dp"
+ android:text="密码" />
+ android:layout_gravity="center"
+ android:layout_marginBottom="7dp"
+ android:layout_weight="4"
+ android:background="@color/white"
+ android:inputType="textPassword"
+ android:paddingTop="20dp"
+ android:text="Name"
+ android:textSize="18dp" />
+ android:layout_gravity="center"
+ android:layout_marginBottom="7dp"
+ android:layout_weight="4"
+ android:background="@color/white"
+ android:paddingTop="20dp"
+ android:text="Name"
+ android:inputType="textPassword"
+ android:textSize="18dp" />
+ android:layout_gravity="center"
+ android:paddingLeft="34dp"
+ android:layout_margin="10dp"
+ android:textSize="18dp"
+ android:text="手机号" />
+ android:layout_gravity="center"
+ android:layout_marginBottom="7dp"
+ android:layout_weight="4"
+ android:background="@color/white"
+ android:paddingTop="20dp"
+ android:text="Name"
+ android:inputType="phone"
+ android:textSize="18dp" />
+ android:layout_gravity="center"
+ android:paddingLeft="34dp"
+ android:layout_margin="10dp"
+ android:textSize="18dp"
+ android:text="性别" />
+ android:layout_marginBottom="20dp"
+ android:entries="@array/sex"
+ android:spinnerMode="dialog" />
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_my_question.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_my_question.xml
index 626d49d..4a28dba 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_my_question.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_my_question.xml
@@ -9,32 +9,47 @@
+ android:layout_height="wrap_content"
+ android:background="@color/white">
+
+
+
+
+
+ android:background="@drawable/background">
+ android:background="@color/white"
+ android:orientation="vertical">
+ android:textSize="20dp"
+ />
+ android:layout_width="28dp"
+ android:layout_height="29dp"
+ android:layout_marginRight="15dp"
+ android:src="@drawable/search_v2" />
+
+
+
+
+
-
-
@@ -165,44 +176,12 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
+ android:layout_marginRight="10dp"
android:text="0" />
-
-
-
-
-
-
-
-
-
- />
-
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_question_detail.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_question_detail.xml
index 871a393..672b3d8 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_question_detail.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_question_detail.xml
@@ -19,37 +19,39 @@
+ android:layout_height="wrap_content"
+ android:background="@color/white"
+ android:orientation="vertical">
+ android:text="详情"
+ android:textSize="20dp"
+ />
+ android:layout_width="28dp"
+ android:layout_height="29dp"
+ android:layout_marginRight="15dp"
+ android:src="@drawable/search_v2" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_register.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_register.xml
index 8f7e80a..3a668b1 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_register.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_register.xml
@@ -29,11 +29,10 @@
+ android:background="@color/white">
+
+
+
-
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_splash.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_splash.xml
new file mode 100644
index 0000000..0ed5fb9
--- /dev/null
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/activity_splash.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_blog_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_blog_item.xml
index 62c6d7b..a4d32dd 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_blog_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_blog_item.xml
@@ -22,34 +22,32 @@
+ android:ellipsize="end"
+ android:textSize="15dp" />
-
-
+" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_news_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_news_item.xml
index 5eb51f1..bcaafbd 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_news_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/collect_news_item.xml
@@ -4,6 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
+ android:background="@drawable/background"
android:layout_height="wrap_content">
-
-
+" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/event_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/event_item.xml
index 6ce932b..a199cf1 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/event_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/event_item.xml
@@ -7,42 +7,34 @@
-
+
+ android:textSize="38dp" />
+
+ android:text="月"
+ android:textSize="20dp" />
+ android:layout_weight="1"
+ android:text="事件提醒时间:"
+ android:textSize="16dp" />
+ android:id="@+id/event_time"
+ android:layout_width="120dp"
+ android:layout_height="match_parent"
+
+ android:layout_gravity="right"
+ android:layout_weight="1" />
+
+ android:text="创建时间:"
+ android:textSize="16dp" />
+ android:layout_marginTop="1dp"
+ android:layout_weight="1" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_collect.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_collect.xml
index a1f4b81..d6be62e 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_collect.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_collect.xml
@@ -15,7 +15,7 @@
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_history.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_history.xml
index 7b26d29..6815f62 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_history.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_blog_history.xml
@@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+
tools:context="com.example.leudaemialikeme.Fragment.BlogHistoryFragment">
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_collect.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_collect.xml
index 4c42782..c2b19b6 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_collect.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_collect.xml
@@ -3,6 +3,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
+ android:background="@drawable/background"
tools:context="com.example.leudaemialikeme.Fragment.CollectFragment">
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_comment.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_comment.xml
index 13efe0b..9b0d3aa 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_comment.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_comment.xml
@@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
tools:context="com.example.leudaemialikeme.Fragment.PrivateMsgFragment">
@@ -18,12 +19,19 @@
+ android:layout_height="wrap_content"
+ android:paddingTop="13dp"
+ android:paddingBottom="13dp"
+
+ >
+
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingBottom="10dp">
-
+
+
+
+
+
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="13dp">
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingBottom="10dp">
+
+
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_community.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_community.xml
index e43bdb0..fd4262d 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_community.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_community.xml
@@ -58,6 +58,8 @@
+ />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_fans.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_fans.xml
index ed0d37f..37741a7 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_fans.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_fans.xml
@@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
tools:context="com.example.leudaemialikeme.Fragment.PrivateMsgFragment">
@@ -18,8 +19,10 @@
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:background="@color/white">
@@ -83,9 +90,18 @@
+
+
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:background="@color/white"
+ android:layout_height="wrap_content">
@@ -118,9 +135,19 @@
+
+
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
+ android:background="@color/white"
+ >
+
+
+
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_history.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_history.xml
index cc3791b..c3a58a7 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_history.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_history.xml
@@ -4,11 +4,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
+ android:background="@drawable/background"
tools:context="com.example.leudaemialikeme.Fragment.HistoryFragment">
+ android:layout_height="wrap_content">
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_message.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_message.xml
index c3f9b02..17d4111 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_message.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_message.xml
@@ -4,23 +4,29 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@drawable/background"
android:orientation="vertical"
tools:context=".Fragment.MessageFragment">
+ android:layout_height="wrap_content"
+ android:background="@color/white">
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="10dp"
+ android:background="@color/white"
+ android:orientation="horizontal">
+
+ android:layout_width="40dp"
+ android:layout_gravity="center"
+ android:layout_height="40dp"
+ android:layout_marginLeft="15dp"
+ android:background="@drawable/read_already" />
+ android:layout_width="40dp"
+ android:layout_gravity="center"
+ android:layout_height="40dp"
+ android:layout_marginRight="15dp"
+ android:background="@drawable/read_already"
+ />
@@ -56,6 +65,7 @@
android:id="@+id/hvChannel0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:background="@color/white"
android:layout_toLeftOf="@+id/ivShowChannel"
android:scrollbars="none">
@@ -68,12 +78,14 @@
+ />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_my.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_my.xml
index 67a479f..6cd60ab 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_my.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_my.xml
@@ -4,6 +4,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
+ android:background="@drawable/background"
android:layout_height="match_parent"
tools:context=".Fragment.MyFragment">
@@ -104,15 +105,16 @@
@@ -129,7 +131,7 @@
android:id="@+id/textView17"
android:layout_width="wrap_content"
android:layout_height="10dp"
- android:layout_marginLeft="10dp"
+ android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="我的收藏"
@@ -156,7 +158,7 @@
android:id="@+id/textView18"
android:layout_width="wrap_content"
android:layout_height="10dp"
- android:layout_marginLeft="10dp"
+ android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="浏览历史"
@@ -173,7 +175,7 @@
android:orientation="vertical">
+ android:layout_weight="1"
+ android:background="@drawable/shape_round_corner_my"
+ android:orientation="horizontal">
@@ -279,7 +289,7 @@
android:layout_width="40dp"
android:layout_height="50dp"
android:layout_marginTop="10dp"
- android:layout_marginRight="20dp"
+
android:layout_weight="1"
android:id="@+id/my_note"
android:src="@mipmap/img_note" />
@@ -288,10 +298,10 @@
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_news_history.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_news_history.xml
index defd116..811a3e3 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_news_history.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_news_history.xml
@@ -2,6 +2,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:background="@color/white"
tools:context="com.example.leudaemialikeme.Fragment.NewsHistoryFragment">
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_nice.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_nice.xml
index 32e13c3..a113c59 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_nice.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_nice.xml
@@ -5,113 +5,122 @@
android:layout_height="match_parent"
tools:context="com.example.leudaemialikeme.Fragment.PrivateMsgFragment">
+
+
+
+
-
+ android:layout_height="wrap_content"
+ android:paddingTop="13dp"
+ android:paddingBottom="13dp"
+
+ >
+
+
+
+
+
+
+ android:layout_marginBottom="10dp"
+ android:text="未关注用户" />
+ android:text="收藏了你的帖子" />
+
+
-
-
+ android:layout_height="1dp"
+ android:layout_gravity="bottom"
+ android:background="@color/grey" />
+ android:layout_height="wrap_content"
+ android:paddingTop="10dp"
+ android:paddingBottom="13dp">
-
+ android:orientation="vertical">
-
+ android:id="@+id/imageView12"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="10dp"
+ android:src="@drawable/img_helper" />
+
-
+
+
+
+
-
-
-
-
-
+ android:layout_height="wrap_content"
+ android:text="收藏了你的帖子" />
-
+
+
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_question_history.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_question_history.xml
index 077035f..0cfb347 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_question_history.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/fragment_question_history.xml
@@ -15,7 +15,8 @@
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/info_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/info_item.xml
index 4c8b8f6..586f7b4 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/info_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/info_item.xml
@@ -26,13 +26,13 @@
android:textStyle="bold" />
-
-
@@ -36,6 +37,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
+ android:paddingTop="10dp"
android:layout_margin="10dp"
android:text="TextView" />
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/my_question_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/my_question_item.xml
index f45f510..1d021ac 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/my_question_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/my_question_item.xml
@@ -3,9 +3,9 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_height="wrap_content"
android:layout_width="334dp"
- android:background="@drawable/background"
+ android:background="@color/white"
android:elevation="10dp"
- android:layout_marginTop="10dp"
+ android:layout_marginBottom="10dp"
android:orientation="vertical"
android:padding="15dp">
diff --git a/Code/LeudaemiaLikeMe/app/src/main/res/layout/question_item.xml b/Code/LeudaemiaLikeMe/app/src/main/res/layout/question_item.xml
index 55a1fb5..2dd3ceb 100644
--- a/Code/LeudaemiaLikeMe/app/src/main/res/layout/question_item.xml
+++ b/Code/LeudaemiaLikeMe/app/src/main/res/layout/question_item.xml
@@ -7,6 +7,7 @@
android:background="@drawable/background"
android:elevation="10dp"
android:layout_marginTop="10dp"
+ android:layout_marginBottom="6dp"
android:orientation="vertical"
android:padding="11dp">
@@ -27,16 +28,7 @@
android:ellipsize="end"
android:text="问题"
/>
- android:layout_height="wrap_content"
- android:id="@+id/news"
- android:layout_width="334dp"
- android:layout_marginLeft="15dp"
- android:layout_marginBottom="6dp"
- android:background="@drawable/background"
- android:elevation="10dp"
- android:layout_marginTop="10dp"
- android:orientation="vertical"
- android:padding="11dp">
+