修復bug
This commit is contained in:
parent
e00df4d8e5
commit
6c224d66ed
@ -1,6 +1,7 @@
|
|||||||
package com.shayu.onetoone.activity.fragments;
|
package com.shayu.onetoone.activity.fragments;
|
||||||
|
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.content.ClipboardManager;
|
import android.content.ClipboardManager;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
@ -208,7 +209,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
// mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
// mContext.startActivity(new Intent(mContext, EditProfileActivity.class));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
loadData();
|
//loadData();
|
||||||
initPeopleNum();
|
initPeopleNum();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -221,9 +222,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
super.onResume();
|
super.onResume();
|
||||||
// if (isShowed() && mPaused) {
|
loadData();
|
||||||
// loadData();
|
|
||||||
// }
|
|
||||||
mPaused = false;
|
mPaused = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -292,7 +291,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
*/
|
*/
|
||||||
private void initMenu(List<UserItemBean> list) {
|
private void initMenu(List<UserItemBean> list) {
|
||||||
if (list != null && list.size() > 0) {
|
if (list != null && list.size() > 0) {
|
||||||
List<UserItemBean> listNow = new ArrayList<>();
|
/* List<UserItemBean> listNow = new ArrayList<>();
|
||||||
for (UserItemBean userItemBean : list) {
|
for (UserItemBean userItemBean : list) {
|
||||||
if (userItemBean.getId() != 21 && userItemBean.getId() != 13) {
|
if (userItemBean.getId() != 21 && userItemBean.getId() != 13) {
|
||||||
listNow.add(userItemBean);
|
listNow.add(userItemBean);
|
||||||
@ -301,13 +300,13 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
} else if (userItemBean.getId() == 13) {
|
} else if (userItemBean.getId() == 13) {
|
||||||
beanStetting = userItemBean;
|
beanStetting = userItemBean;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
if (mAdapter == null) {
|
if (mAdapter == null) {
|
||||||
mAdapter = new MainMeAdapter(mContext, listNow);
|
mAdapter = new MainMeAdapter(mContext, list);
|
||||||
mAdapter.setOnItemClickListener(this);
|
mAdapter.setOnItemClickListener(this);
|
||||||
mRecyclerView.setAdapter(mAdapter);
|
mRecyclerView.setAdapter(mAdapter);
|
||||||
} else {
|
} else {
|
||||||
mAdapter.setList(listNow);
|
mAdapter.setList(list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -339,6 +338,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
|
|
||||||
private List<SlideBean> mBannerListNew = new ArrayList<>();
|
private List<SlideBean> mBannerListNew = new ArrayList<>();
|
||||||
|
|
||||||
|
@SuppressLint("SetTextI18n")
|
||||||
private void showData(UserBean u) {
|
private void showData(UserBean u) {
|
||||||
mBannerList.clear();
|
mBannerList.clear();
|
||||||
mBannerListNew.clear();
|
mBannerListNew.clear();
|
||||||
@ -374,9 +374,8 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
} else {
|
} else {
|
||||||
singnature = "The guy was lazy and didn't write anything.";
|
singnature = "The guy was lazy and didn't write anything.";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
signature.setText(singnature);
|
signature.setText(getResources().getString(R.string.user_sign) + ":" + singnature);
|
||||||
CommonAppConfig appConfig = CommonAppConfig.getInstance();
|
CommonAppConfig appConfig = CommonAppConfig.getInstance();
|
||||||
LevelBean anchorLevelBean = appConfig.getAnchorLevel(u.getLevelAnchor());
|
LevelBean anchorLevelBean = appConfig.getAnchorLevel(u.getLevelAnchor());
|
||||||
|
|
||||||
@ -444,7 +443,7 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
//修改靓号图标 个人中心
|
//修改靓号图标 个人中心
|
||||||
if (u.getGoodnum() != null && !u.getGoodnum().equals("")) {
|
if (u.getGoodnum() != null && !u.getGoodnum().equals("")) {
|
||||||
good_nub_ico.setVisibility(View.VISIBLE);
|
good_nub_ico.setVisibility(View.VISIBLE);
|
||||||
mID.setText(" " + u.getGoodnum());
|
mID.setText("ID:" + u.getGoodnum());
|
||||||
} else {
|
} else {
|
||||||
good_nub_ico.setVisibility(View.GONE);
|
good_nub_ico.setVisibility(View.GONE);
|
||||||
mID.setText(u.getLiangNameTip());
|
mID.setText(u.getLiangNameTip());
|
||||||
@ -472,6 +471,12 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
public void onItemClick(UserItemBean bean, int position) {
|
public void onItemClick(UserItemBean bean, int position) {
|
||||||
if (!StringUtil.isEmpty(bean.getHref())) {
|
if (!StringUtil.isEmpty(bean.getHref())) {
|
||||||
RouteManager.forwardWebViewActivity(bean.getName(), bean.getHref());
|
RouteManager.forwardWebViewActivity(bean.getName(), bean.getHref());
|
||||||
|
} else {
|
||||||
|
switch (bean.getId()) {
|
||||||
|
case 13:
|
||||||
|
forwardSetting();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -673,20 +678,19 @@ public class MyFragment extends BaseFragment implements OnItemClickListener<User
|
|||||||
}
|
}
|
||||||
|
|
||||||
void initPeopleNum() {
|
void initPeopleNum() {
|
||||||
OTONetManager.getInstance(mContext)
|
OTONetManager.getInstance(mContext).getPeopleNum(new com.yunbao.common.http.base.HttpCallback<PeopleNum>() {
|
||||||
.getPeopleNum(new com.yunbao.common.http.base.HttpCallback<PeopleNum>() {
|
@Override
|
||||||
@Override
|
public void onSuccess(PeopleNum data) {
|
||||||
public void onSuccess(PeopleNum data) {
|
fansNum.setText(data.getFans() + "");
|
||||||
fansNum.setText(data.getFans() + "");
|
followNum.setText(data.getFollow() + "");
|
||||||
followNum.setText(data.getFollow() + "");
|
friendNum.setText(data.getFriend() + "");
|
||||||
friendNum.setText(data.getFriend() + "");
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(String error) {
|
public void onError(String error) {
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -148,6 +148,7 @@ public class ChooseLabelActivity extends AbsOTOActivity {
|
|||||||
next.setOnClickListener(new View.OnClickListener() {
|
next.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
|
RouteManager.forwardMainActivity();
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -217,7 +217,7 @@ public class CompleteActivity extends AbsOTOActivity {
|
|||||||
Toast.makeText(mContext, WordUtil.getNewString(R.string.gender_hint), Toast.LENGTH_SHORT).show();
|
Toast.makeText(mContext, WordUtil.getNewString(R.string.gender_hint), Toast.LENGTH_SHORT).show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
OTONetManager.getInstance(mContext).setInfo(avatarUrl, userNickName.getText().toString(), sex, year + "-" + month + "-" + day, new HttpCallback<HttpCallbackModel>() {
|
OTONetManager.getInstance(mContext).setInfo(avatarUrl, userNickName.getText().toString(), sex, year + "-" + (month + 1) + "-" + day, new HttpCallback<HttpCallbackModel>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(HttpCallbackModel data) {
|
public void onSuccess(HttpCallbackModel data) {
|
||||||
Toast.makeText(mContext, data.getMsg(), Toast.LENGTH_SHORT).show();
|
Toast.makeText(mContext, data.getMsg(), Toast.LENGTH_SHORT).show();
|
||||||
|
@ -63,7 +63,7 @@ public class AuthActivity extends AbsActivity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void main() {
|
protected void main() {
|
||||||
setTitle(mContext.getString(R.string.edit_profile));
|
setTitle("真人认证");
|
||||||
image1 = findViewById(R.id.image1);
|
image1 = findViewById(R.id.image1);
|
||||||
image11 = findViewById(R.id.image11);
|
image11 = findViewById(R.id.image11);
|
||||||
image2 = findViewById(R.id.image2);
|
image2 = findViewById(R.id.image2);
|
||||||
|
@ -310,7 +310,7 @@ public class AuthBloggerActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
/* @Override
|
||||||
public void onBackPressed() {
|
public void onBackPressed() {
|
||||||
if (userModel.getUserInfoComplete() == 1) {
|
if (userModel.getUserInfoComplete() == 1) {
|
||||||
finish();
|
finish();
|
||||||
@ -327,7 +327,7 @@ public class AuthBloggerActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
})).show();
|
})).show();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
public class ActiveAdapter extends RefreshAdapter<ImageBean> {
|
public class ActiveAdapter extends RefreshAdapter<ImageBean> {
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ public class AuthBloggerInletActivity extends AbsActivity {
|
|||||||
public void onSuccess(AuthBloggerBean data) {
|
public void onSuccess(AuthBloggerBean data) {
|
||||||
authBloggerBean = data;
|
authBloggerBean = data;
|
||||||
if (data.getStatus() == 2) {//已通过
|
if (data.getStatus() == 2) {//已通过
|
||||||
sageLayout.setBackground(getResources().getDrawable(R.drawable.bg_auth_submit_3));
|
sageLayout.setBackground(getResources().getDrawable(R.drawable.bg_auth_submit_4));
|
||||||
sageImg.setImageDrawable(getResources().getDrawable(R.mipmap.icon_suc));
|
sageImg.setImageDrawable(getResources().getDrawable(R.mipmap.icon_suc));
|
||||||
sageStatus.setText(R.string.complete2);
|
sageStatus.setText(R.string.complete2);
|
||||||
sageStatus.setBackground(getResources().getDrawable(R.drawable.bg_auth_submit_3));
|
sageStatus.setBackground(getResources().getDrawable(R.drawable.bg_auth_submit_3));
|
||||||
|
@ -270,7 +270,7 @@ public class EditProfileActivity extends AbsActivity {
|
|||||||
|
|
||||||
} else if (i == R.id.btn_sex) {
|
} else if (i == R.id.btn_sex) {
|
||||||
// forwardSex();
|
// forwardSex();
|
||||||
new XPopup.Builder(mContext).asCustom(new UpdateSexPopup(mContext, userModel.getSex(), new UpdateSexPopup.UpdateSexCallBack() {
|
/*new XPopup.Builder(mContext).asCustom(new UpdateSexPopup(mContext, userModel.getSex(), new UpdateSexPopup.UpdateSexCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onSex(int sex) {
|
public void onSex(int sex) {
|
||||||
userSex = sex;
|
userSex = sex;
|
||||||
@ -291,7 +291,7 @@ public class EditProfileActivity extends AbsActivity {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
})).show();
|
})).show();*/
|
||||||
} else if (i == R.id.btn_city) {
|
} else if (i == R.id.btn_city) {
|
||||||
CountryPicker.newInstance(null, new OnPick() {
|
CountryPicker.newInstance(null, new OnPick() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -214,7 +214,7 @@ public interface OneToOneApi {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 设置基本信息
|
* 设置标签
|
||||||
*/
|
*/
|
||||||
@FormUrlEncoded
|
@FormUrlEncoded
|
||||||
@POST("/api/public/?service=Friendappinfos.setLabel")
|
@POST("/api/public/?service=Friendappinfos.setLabel")
|
||||||
|
@ -7,124 +7,139 @@
|
|||||||
|
|
||||||
<include layout="@layout/view_title_custom" />
|
<include layout="@layout/view_title_custom" />
|
||||||
|
|
||||||
<TextView
|
<ScrollView
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:text="@string/layout_auth_tips1"
|
|
||||||
android:textColor="@color/black2"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="10dp"
|
|
||||||
android:text="@string/layout_auth_tips2"
|
|
||||||
android:textColor="@color/text_gray"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginTop="20dp"
|
|
||||||
android:text="@string/layout_auth_tips3"
|
|
||||||
android:textColor="@color/black2"
|
|
||||||
android:textSize="18sp"
|
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="180dp"
|
android:layout_height="wrap_content">
|
||||||
android:layout_marginLeft="40dp"
|
|
||||||
android:layout_marginTop="10dp"
|
|
||||||
android:layout_marginRight="40dp">
|
|
||||||
|
|
||||||
<ImageView
|
<LinearLayout
|
||||||
android:id="@+id/image1"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:orientation="vertical">
|
||||||
android:scaleType="centerCrop"
|
|
||||||
android:src="@mipmap/auth_add_bg" />
|
|
||||||
|
|
||||||
<ImageView
|
<TextView
|
||||||
android:id="@+id/image11"
|
android:layout_width="wrap_content"
|
||||||
android:layout_width="80dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="80dp"
|
android:layout_marginLeft="10dp"
|
||||||
android:layout_centerHorizontal="true"
|
android:text="@string/layout_auth_tips1"
|
||||||
android:layout_centerVertical="true"
|
android:textColor="@color/black2"
|
||||||
android:layout_gravity="center"
|
android:textSize="18sp"
|
||||||
android:scaleType="centerCrop"
|
android:textStyle="bold" />
|
||||||
android:src="@mipmap/auth_add_img" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="10dp"
|
||||||
|
android:text="@string/layout_auth_tips2"
|
||||||
|
android:textColor="@color/text_gray"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="20dp"
|
||||||
android:text="@string/layout_auth_tips4"
|
android:text="@string/layout_auth_tips3"
|
||||||
android:textColor="@color/black2"
|
android:textColor="@color/black2"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="180dp"
|
android:layout_height="180dp"
|
||||||
android:layout_marginLeft="40dp"
|
android:layout_marginLeft="40dp"
|
||||||
android:layout_marginTop="10dp"
|
android:layout_marginTop="10dp"
|
||||||
android:layout_marginRight="40dp">
|
android:layout_marginRight="40dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/image2"
|
android:id="@+id/image1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:src="@mipmap/auth_add_bg" />
|
android:src="@mipmap/auth_add_bg" />
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/image22"
|
android:id="@+id/image11"
|
||||||
android:layout_width="80dp"
|
android:layout_width="80dp"
|
||||||
android:layout_height="80dp"
|
android:layout_height="80dp"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:scaleType="centerCrop"
|
android:scaleType="centerCrop"
|
||||||
android:src="@mipmap/auth_add_img" />
|
android:src="@mipmap/auth_add_img" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/remake"
|
android:layout_width="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_gravity="center"
|
||||||
android:layout_gravity="center"
|
android:layout_marginTop="10dp"
|
||||||
android:layout_marginTop="10dp"
|
android:text="@string/layout_auth_tips4"
|
||||||
android:text="@string/layout_auth_tips4"
|
android:textColor="@color/black2"
|
||||||
android:textColor="@color/red"
|
android:textSize="18sp"
|
||||||
android:textSize="14sp"
|
android:textStyle="bold" />
|
||||||
android:visibility="gone" />
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="180dp"
|
||||||
|
android:layout_marginLeft="40dp"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:layout_marginRight="40dp">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/image2"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:scaleType="centerCrop"
|
||||||
|
android:src="@mipmap/auth_add_bg" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:id="@+id/image22"
|
||||||
|
android:layout_width="80dp"
|
||||||
|
android:layout_height="80dp"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:layout_centerVertical="true"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:scaleType="centerCrop"
|
||||||
|
android:src="@mipmap/auth_add_img" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/remake"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="10dp"
|
||||||
|
android:text="@string/layout_auth_tips4"
|
||||||
|
android:textColor="@color/red"
|
||||||
|
android:textSize="14sp"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/submit"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginLeft="70dp"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:layout_marginRight="70dp"
|
||||||
|
android:background="@drawable/bg_auth_submit_1"
|
||||||
|
android:gravity="center"
|
||||||
|
android:paddingTop="10dp"
|
||||||
|
android:paddingBottom="10dp"
|
||||||
|
android:text="@string/layout_auth_tips5"
|
||||||
|
android:textColor="@color/black2"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
</ScrollView>
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/submit"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginLeft="70dp"
|
|
||||||
android:layout_marginTop="20dp"
|
|
||||||
android:layout_marginRight="70dp"
|
|
||||||
android:background="@drawable/bg_auth_submit_1"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingTop="10dp"
|
|
||||||
android:paddingBottom="10dp"
|
|
||||||
android:text="@string/layout_auth_tips5"
|
|
||||||
android:textColor="@color/black2"
|
|
||||||
android:textSize="16sp"
|
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -344,7 +344,7 @@
|
|||||||
android:paddingTop="10dp"
|
android:paddingTop="10dp"
|
||||||
android:paddingBottom="10dp"
|
android:paddingBottom="10dp"
|
||||||
android:text="@string/layout_auth_blogger_tips15"
|
android:text="@string/layout_auth_blogger_tips15"
|
||||||
android:textColor="@color/black2"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@
|
|||||||
android:layout_marginLeft="50dp"
|
android:layout_marginLeft="50dp"
|
||||||
android:layout_marginTop="30dp"
|
android:layout_marginTop="30dp"
|
||||||
android:layout_marginRight="50dp"
|
android:layout_marginRight="50dp"
|
||||||
android:background="@drawable/bg_auth_submit_1"
|
android:background="@drawable/bg_auth_submit_4"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@ -53,21 +53,21 @@
|
|||||||
android:id="@+id/personStatus"
|
android:id="@+id/personStatus"
|
||||||
android:layout_width="18dp"
|
android:layout_width="18dp"
|
||||||
android:layout_height="18dp"
|
android:layout_height="18dp"
|
||||||
android:src="@mipmap/icon_suc" />
|
android:src="@mipmap/icon_fail" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/personBt"
|
android:id="@+id/personBt"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="50dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginTop="20dp"
|
android:layout_marginTop="20dp"
|
||||||
android:background="@drawable/bg_auth_submit_3"
|
android:background="@drawable/bg_auth_submit_5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingLeft="40dp"
|
android:paddingLeft="40dp"
|
||||||
android:paddingRight="40dp"
|
android:paddingRight="40dp"
|
||||||
android:text="@string/layout_auth_blogger_inlet_tips4"
|
android:text="去上传"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
|
|
||||||
@ -100,14 +100,14 @@
|
|||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/sageBt"
|
android:id="@+id/sageBt"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="50dp"
|
android:layout_height="40dp"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_marginTop="20dp"
|
android:layout_marginTop="20dp"
|
||||||
android:background="@drawable/bg_auth_submit_5"
|
android:background="@drawable/bg_auth_submit_5"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:paddingLeft="40dp"
|
android:paddingLeft="40dp"
|
||||||
android:paddingRight="40dp"
|
android:paddingRight="40dp"
|
||||||
android:text="@string/layout_auth_blogger_inlet_tips6"
|
android:text="去上传"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="18sp" />
|
android:textSize="18sp" />
|
||||||
|
|
||||||
|
@ -6,151 +6,161 @@
|
|||||||
android:background="@mipmap/bg_login"
|
android:background="@mipmap/bg_login"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<LinearLayout
|
|
||||||
|
<ScrollView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent">
|
||||||
android:background="@mipmap/bg_w"
|
|
||||||
android:orientation="vertical">
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="120dp"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/layout_complete_tip1"
|
|
||||||
android:textColor="#FFFFFF"
|
|
||||||
android:textSize="33sp"
|
|
||||||
android:textStyle="bold" />
|
|
||||||
|
|
||||||
<RelativeLayout
|
|
||||||
android:id="@+id/editHead"
|
|
||||||
android:layout_width="90dp"
|
|
||||||
android:layout_height="90dp"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_marginTop="20dp">
|
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
|
||||||
android:id="@+id/userAvatar"
|
|
||||||
android:layout_width="80dp"
|
|
||||||
android:layout_height="80dp"
|
|
||||||
android:layout_centerHorizontal="true"
|
|
||||||
android:scaleType="centerCrop"
|
|
||||||
android:src="@mipmap/icon_avatar_placeholder"
|
|
||||||
app:riv_oval="true" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/text_choose"
|
|
||||||
android:layout_width="70dp"
|
|
||||||
android:layout_height="30dp"
|
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_centerHorizontal="true"
|
|
||||||
android:background="@drawable/background_8f7cdf"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="去选择"
|
|
||||||
android:textColor="#FFFFFF"
|
|
||||||
android:textSize="12sp" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="15dp"
|
|
||||||
android:layout_marginTop="60dp"
|
|
||||||
android:text="@string/layout_complete_tip3"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
|
|
||||||
<EditText
|
|
||||||
android:id="@+id/userNickName"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="47dp"
|
|
||||||
android:layout_marginLeft="30dp"
|
|
||||||
android:layout_marginRight="30dp"
|
|
||||||
android:background="@mipmap/ws_ind"
|
|
||||||
android:gravity="center"
|
|
||||||
android:maxEms="15"
|
|
||||||
android:paddingBottom="5dp"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:textColorHint="#999999"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="15dp"
|
|
||||||
android:layout_marginTop="20dp"
|
|
||||||
android:text="@string/layout_complete_tip4"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="match_parent"
|
||||||
|
android:background="@mipmap/bg_w"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_sex_1"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="119dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="45dp"
|
android:layout_marginTop="120dp"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/layout_complete_tip1"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="33sp"
|
||||||
|
android:textStyle="bold" />
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:id="@+id/editHead"
|
||||||
|
android:layout_width="90dp"
|
||||||
|
android:layout_height="90dp"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:layout_marginTop="20dp">
|
||||||
|
|
||||||
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
|
android:id="@+id/userAvatar"
|
||||||
|
android:layout_width="80dp"
|
||||||
|
android:layout_height="80dp"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:scaleType="centerCrop"
|
||||||
|
android:src="@mipmap/icon_avatar_placeholder"
|
||||||
|
app:riv_oval="true" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/text_choose"
|
||||||
|
android:layout_width="70dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_centerHorizontal="true"
|
||||||
|
android:background="@drawable/background_8f7cdf"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="去选择"
|
||||||
|
android:textColor="#FFFFFF"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginTop="60dp"
|
||||||
|
android:text="@string/layout_complete_tip3"
|
||||||
|
android:textColor="#ff333333"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<EditText
|
||||||
|
android:id="@+id/userNickName"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="47dp"
|
||||||
android:layout_marginLeft="30dp"
|
android:layout_marginLeft="30dp"
|
||||||
android:layout_marginRight="30dp"
|
android:layout_marginRight="30dp"
|
||||||
android:layout_weight="1"
|
android:background="@mipmap/ws_ind"
|
||||||
android:background="@mipmap/icon_user_sex_00"
|
android:ems="15"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/layout_complete_tip5"
|
android:maxEms="15"
|
||||||
|
android:maxLength="15"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:paddingBottom="5dp"
|
||||||
android:textColor="#999999"
|
android:textColor="#999999"
|
||||||
android:textColorHint="#999999"
|
android:textColorHint="#999999"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_sex_2"
|
android:layout_width="match_parent"
|
||||||
android:layout_width="119dp"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="45dp"
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:text="@string/layout_complete_tip4"
|
||||||
|
android:textColor="#ff333333"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/user_sex_1"
|
||||||
|
android:layout_width="119dp"
|
||||||
|
android:layout_height="45dp"
|
||||||
|
android:layout_marginLeft="30dp"
|
||||||
|
android:layout_marginRight="30dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:background="@mipmap/icon_user_sex_00"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/layout_complete_tip5"
|
||||||
|
android:textColor="#999999"
|
||||||
|
android:textColorHint="#999999"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/user_sex_2"
|
||||||
|
android:layout_width="119dp"
|
||||||
|
android:layout_height="45dp"
|
||||||
|
android:layout_marginLeft="30dp"
|
||||||
|
android:layout_marginRight="30dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:background="@mipmap/icon_user_sex_00"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/layout_complete_tip6"
|
||||||
|
android:textColor="#999999"
|
||||||
|
android:textColorHint="#999999"
|
||||||
|
android:textSize="14sp" />
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
|
android:text="@string/layout_complete_tip7"
|
||||||
|
android:textColor="#ff333333"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:id="@+id/userBirthday"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="47dp"
|
||||||
android:layout_marginLeft="30dp"
|
android:layout_marginLeft="30dp"
|
||||||
android:layout_marginRight="30dp"
|
android:layout_marginRight="30dp"
|
||||||
android:layout_weight="1"
|
android:background="@mipmap/ws_ind"
|
||||||
android:background="@mipmap/icon_user_sex_00"
|
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/layout_complete_tip6"
|
android:paddingBottom="5dp"
|
||||||
android:textColor="#999999"
|
android:textColor="#999999"
|
||||||
android:textColorHint="#999999"
|
android:textColorHint="#999999"
|
||||||
android:textSize="14sp" />
|
android:textSize="14sp" />
|
||||||
|
|
||||||
|
<Button
|
||||||
|
android:id="@+id/btn_register"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="47dp"
|
||||||
|
android:layout_marginLeft="30dp"
|
||||||
|
android:layout_marginTop="30dp"
|
||||||
|
android:layout_marginRight="30dp"
|
||||||
|
android:background="@drawable/background_8f7cdf"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/layout_complete_tip8"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:textSize="16sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<TextView
|
</ScrollView>
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginLeft="15dp"
|
|
||||||
android:layout_marginTop="20dp"
|
|
||||||
android:text="@string/layout_complete_tip7"
|
|
||||||
android:textColor="#ff333333"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/userBirthday"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="47dp"
|
|
||||||
android:layout_marginLeft="30dp"
|
|
||||||
android:layout_marginRight="30dp"
|
|
||||||
android:background="@mipmap/ws_ind"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingBottom="5dp"
|
|
||||||
android:textColor="#999999"
|
|
||||||
android:textColorHint="#999999"
|
|
||||||
android:textSize="14sp" />
|
|
||||||
|
|
||||||
<Button
|
|
||||||
android:id="@+id/btn_register"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="47dp"
|
|
||||||
android:layout_marginLeft="30dp"
|
|
||||||
android:layout_marginTop="30dp"
|
|
||||||
android:layout_marginRight="30dp"
|
|
||||||
android:background="@drawable/background_8f7cdf"
|
|
||||||
android:gravity="center"
|
|
||||||
android:text="@string/layout_complete_tip8"
|
|
||||||
android:textColor="@color/white"
|
|
||||||
android:textSize="16sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
@ -1,15 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent"
|
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools">
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:background="#F5F6F7"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<include
|
<include
|
||||||
android:id="@+id/include"
|
android:id="@+id/include"
|
||||||
layout="@layout/view_activity_title"
|
layout="@layout/view_title_custom"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="71dp"
|
android:layout_height="71dp"
|
||||||
android:layout_marginTop="@dimen/activity_top"
|
|
||||||
android:visibility="visible"
|
android:visibility="visible"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
@ -269,6 +269,34 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:paddingTop="15.33dp"
|
||||||
|
android:paddingBottom="15dp">
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="25dp"
|
||||||
|
android:text="@string/layout_setting_tip14"
|
||||||
|
android:textColor="#1E1F20"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
android:layout_weight="1" />
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="17dp"
|
||||||
|
android:layout_height="30dp"
|
||||||
|
android:layout_marginEnd="26.33dp"
|
||||||
|
android:src="@mipmap/icon_arrow_right" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/clearCaChe"
|
android:id="@+id/clearCaChe"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/titleView"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
|
||||||
android:background="@color/gray2"
|
android:background="@color/gray2"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="10dp">
|
android:paddingBottom="10dp">
|
||||||
@ -39,14 +39,13 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/lt_me_top"
|
android:id="@+id/lt_me_top"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="144dp"
|
android:layout_height="120dp"
|
||||||
android:layout_marginTop="42dp"
|
android:layout_marginTop="42dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="114dp"
|
android:layout_width="114dp"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginRight="18dp"
|
|
||||||
android:gravity="center|right">
|
android:gravity="center|right">
|
||||||
|
|
||||||
<com.makeramen.roundedimageview.RoundedImageView
|
<com.makeramen.roundedimageview.RoundedImageView
|
||||||
@ -74,9 +73,10 @@
|
|||||||
android:id="@+id/sex"
|
android:id="@+id/sex"
|
||||||
android:layout_width="28dp"
|
android:layout_width="28dp"
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
android:layout_alignParentBottom="true"
|
|
||||||
android:layout_marginBottom="20dp"
|
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
|
android:layout_marginRight="5dp"
|
||||||
|
android:layout_marginBottom="25dp"
|
||||||
app:srcCompat="@mipmap/ic_message_tab_man" />
|
app:srcCompat="@mipmap/ic_message_tab_man" />
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
@ -92,6 +92,7 @@
|
|||||||
android:layout_height="7dp"
|
android:layout_height="7dp"
|
||||||
android:layout_marginStart="115.9dp"
|
android:layout_marginStart="115.9dp"
|
||||||
android:layout_marginEnd="4dp"
|
android:layout_marginEnd="4dp"
|
||||||
|
android:visibility="invisible"
|
||||||
app:cardBackgroundColor="#FF5730"
|
app:cardBackgroundColor="#FF5730"
|
||||||
app:cardCornerRadius="20dp" />
|
app:cardCornerRadius="20dp" />
|
||||||
|
|
||||||
@ -101,8 +102,8 @@
|
|||||||
android:layout_height="25.25dp"
|
android:layout_height="25.25dp"
|
||||||
android:layout_marginStart="21dp"
|
android:layout_marginStart="21dp"
|
||||||
android:layout_marginTop="-5dp"
|
android:layout_marginTop="-5dp"
|
||||||
android:visibility="gone"
|
android:background="@mipmap/icon_complete_information"
|
||||||
android:background="@mipmap/icon_complete_information">
|
android:visibility="gone">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@ -117,8 +118,7 @@
|
|||||||
android:id="@+id/lt_name"
|
android:id="@+id/lt_name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="21dp"
|
android:layout_marginTop="12dp"
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
@ -126,6 +126,8 @@
|
|||||||
android:id="@+id/name"
|
android:id="@+id/name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:maxLength="8"
|
||||||
android:text="@string/layout_f_my_tips1"
|
android:text="@string/layout_f_my_tips1"
|
||||||
android:textColor="#D56FF0"
|
android:textColor="#D56FF0"
|
||||||
android:textSize="19sp"
|
android:textSize="19sp"
|
||||||
@ -137,22 +139,21 @@
|
|||||||
android:id="@+id/signature"
|
android:id="@+id/signature"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="21dp"
|
android:layout_marginTop="3dp"
|
||||||
android:layout_marginTop="6dp"
|
android:ellipsize="end"
|
||||||
|
android:maxLines="1"
|
||||||
android:text="@string/layout_f_my_tips2"
|
android:text="@string/layout_f_my_tips2"
|
||||||
android:textColor="@color/gray_cccccc"
|
android:textColor="@color/gray_cccccc"
|
||||||
android:textSize="12sp" />
|
android:textSize="12sp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="48dp"
|
android:layout_height="28dp"
|
||||||
android:layout_marginLeft="21dp"
|
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center|left">
|
android:gravity="center|left">
|
||||||
|
|
||||||
@ -166,7 +167,8 @@
|
|||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="30dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="15dp"
|
android:layout_height="15dp"
|
||||||
android:src="@mipmap/icon_userid" />
|
android:src="@mipmap/icon_userid"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/id_val"
|
android:id="@+id/id_val"
|
||||||
@ -190,7 +192,7 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="48dp"
|
android:layout_height="28dp"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center|left">
|
android:gravity="center|left">
|
||||||
@ -233,7 +235,6 @@
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@ -246,85 +247,100 @@
|
|||||||
android:src="@mipmap/home_btn_edit" />
|
android:src="@mipmap/home_btn_edit" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/lt_friend_layout"
|
android:id="@+id/lt_friend_layout"
|
||||||
android:layout_below="@id/lt_me_top"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_below="@id/lt_me_top"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
<LinearLayout
|
|
||||||
android:id="@+id/friend_layout"
|
<LinearLayout
|
||||||
android:layout_weight="1"
|
android:id="@+id/friend_layout"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:orientation="vertical"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_weight="1"
|
||||||
<TextView
|
android:orientation="vertical">
|
||||||
android:id="@+id/friend"
|
|
||||||
tools:text="1"
|
<TextView
|
||||||
android:textStyle="bold"
|
android:id="@+id/friend"
|
||||||
android:textSize="20sp"
|
android:layout_width="wrap_content"
|
||||||
android:textColor="#000"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:layout_width="wrap_content"
|
android:textColor="#000"
|
||||||
android:layout_height="wrap_content"/>
|
android:textSize="20sp"
|
||||||
<TextView
|
android:textStyle="bold"
|
||||||
android:text="@string/activity_my_friend_friend"
|
tools:text="1" />
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_width="wrap_content"
|
<TextView
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_width="wrap_content"
|
||||||
</LinearLayout>
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="@string/activity_my_friend_friend"
|
||||||
|
android:textSize="12sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/follow_layout"
|
android:id="@+id/follow_layout"
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:orientation="vertical"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/follow"
|
android:id="@+id/follow"
|
||||||
tools:text="1"
|
android:layout_width="wrap_content"
|
||||||
android:textStyle="bold"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="20sp"
|
android:layout_gravity="center"
|
||||||
android:textColor="#000"
|
android:textColor="#000"
|
||||||
android:layout_gravity="center"
|
android:textSize="20sp"
|
||||||
android:layout_width="wrap_content"
|
android:textStyle="bold"
|
||||||
android:layout_height="wrap_content"/>
|
tools:text="1" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:text="@string/activity_my_friend_follow"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="@string/activity_my_friend_follow"
|
||||||
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/fans_layout"
|
android:id="@+id/fans_layout"
|
||||||
android:layout_weight="1"
|
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:orientation="vertical"
|
android:layout_height="wrap_content"
|
||||||
android:layout_height="wrap_content">
|
android:layout_weight="1"
|
||||||
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/fans"
|
android:id="@+id/fans"
|
||||||
tools:text="1"
|
android:layout_width="wrap_content"
|
||||||
android:textStyle="bold"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="20sp"
|
android:layout_gravity="center"
|
||||||
android:textColor="#000"
|
android:textColor="#000"
|
||||||
android:layout_gravity="center"
|
android:textSize="20sp"
|
||||||
android:layout_width="wrap_content"
|
android:textStyle="bold"
|
||||||
android:layout_height="wrap_content"/>
|
tools:text="1" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:text="@string/activity_my_friend_fans"
|
|
||||||
android:layout_gravity="center"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"/>
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
android:text="@string/activity_my_friend_fans"
|
||||||
|
android:textSize="12sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_below="@id/lt_friend_layout"
|
|
||||||
android:layout_height="114dp"
|
android:layout_height="114dp"
|
||||||
|
android:layout_below="@id/lt_friend_layout"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginTop="20dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:background="@drawable/bg_me_data"
|
android:background="@drawable/bg_me_data"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
@ -352,9 +368,9 @@
|
|||||||
android:paddingTop="6dp">
|
android:paddingTop="6dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="39dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="39dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/home_me_diamonds" />
|
android:src="@mipmap/icon_coin_02" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -398,9 +414,9 @@
|
|||||||
android:paddingTop="6dp">
|
android:paddingTop="6dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="39dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="39dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/icon_collectibles" />
|
android:src="@mipmap/icon_coin_01" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -445,9 +461,9 @@
|
|||||||
android:paddingTop="6dp">
|
android:paddingTop="6dp">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:layout_width="39dp"
|
android:layout_width="30dp"
|
||||||
android:layout_height="39dp"
|
android:layout_height="30dp"
|
||||||
android:src="@mipmap/home_me_gold" />
|
android:src="@mipmap/icon_coin_03" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -583,10 +599,10 @@
|
|||||||
android:background="@drawable/bg_me_data"
|
android:background="@drawable/bg_me_data"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:focusable="true"
|
android:focusable="true"
|
||||||
android:visibility="gone"
|
|
||||||
android:focusableInTouchMode="true"
|
android:focusableInTouchMode="true"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal"
|
||||||
|
android:visibility="gone">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -737,7 +753,8 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical"
|
||||||
|
android:visibility="gone">
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/rt_setting"
|
android:id="@+id/rt_setting"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/titleView"
|
android:id="@+id/title"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
|
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_01.png
Normal file
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_01.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_02.png
Normal file
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_02.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_03.png
Normal file
BIN
OneToOne/src/main/res/mipmap-xxhdpi/icon_coin_03.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.4 KiB |
@ -70,7 +70,7 @@
|
|||||||
<string name="dialog_normal_title">首次匹配成功獎勵</string>
|
<string name="dialog_normal_title">首次匹配成功獎勵</string>
|
||||||
<string name="dialog_normal_content">恭喜獲得</string>
|
<string name="dialog_normal_content">恭喜獲得</string>
|
||||||
<string name="title_greet_config">打招呼設置</string>
|
<string name="title_greet_config">打招呼設置</string>
|
||||||
<string name="title_audit_config">審核中,請耐心等待</string>
|
<string name="title_audit_config">審核中,請耐心等待审核通过</string>
|
||||||
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
||||||
<string name="title_audit_config3">審核失敗,去提交</string>
|
<string name="title_audit_config3">審核失敗,去提交</string>
|
||||||
<string name="title_audit_config4">審核中</string>
|
<string name="title_audit_config4">審核中</string>
|
||||||
@ -202,6 +202,7 @@
|
|||||||
<string name="layout_setting_tip11">版本號</string>
|
<string name="layout_setting_tip11">版本號</string>
|
||||||
<string name="layout_setting_tip12">檢查新版本</string>
|
<string name="layout_setting_tip12">檢查新版本</string>
|
||||||
<string name="layout_setting_tip13">退出</string>
|
<string name="layout_setting_tip13">退出</string>
|
||||||
|
<string name="layout_setting_tip14">用戶協議</string>
|
||||||
|
|
||||||
<string name="layout_choose_label_adapter_tip1">我的標籤</string>
|
<string name="layout_choose_label_adapter_tip1">我的標籤</string>
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@
|
|||||||
<string name="dialog_normal_title">首次匹配成功獎勵</string>
|
<string name="dialog_normal_title">首次匹配成功獎勵</string>
|
||||||
<string name="dialog_normal_content">恭喜獲得</string>
|
<string name="dialog_normal_content">恭喜獲得</string>
|
||||||
<string name="title_greet_config">打招呼設置</string>
|
<string name="title_greet_config">打招呼設置</string>
|
||||||
<string name="title_audit_config">審核中,請耐心等待</string>
|
<string name="title_audit_config">審核中,請耐心等待审核通过</string>
|
||||||
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
||||||
<string name="title_audit_config3">審核失敗,去提交</string>
|
<string name="title_audit_config3">審核失敗,去提交</string>
|
||||||
<string name="title_audit_config4">審核中</string>
|
<string name="title_audit_config4">審核中</string>
|
||||||
@ -202,6 +202,7 @@
|
|||||||
<string name="layout_setting_tip11">版本號</string>
|
<string name="layout_setting_tip11">版本號</string>
|
||||||
<string name="layout_setting_tip12">檢查新版本</string>
|
<string name="layout_setting_tip12">檢查新版本</string>
|
||||||
<string name="layout_setting_tip13">退出</string>
|
<string name="layout_setting_tip13">退出</string>
|
||||||
|
<string name="layout_setting_tip14">用戶協議</string>
|
||||||
|
|
||||||
<string name="layout_choose_label_adapter_tip1">我的標籤</string>
|
<string name="layout_choose_label_adapter_tip1">我的標籤</string>
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
<string name="dialog_normal_title">首次匹配成功奖励</string>
|
<string name="dialog_normal_title">首次匹配成功奖励</string>
|
||||||
<string name="dialog_normal_content">恭喜获得</string>
|
<string name="dialog_normal_content">恭喜获得</string>
|
||||||
<string name="title_greet_config">打招呼設置</string>
|
<string name="title_greet_config">打招呼設置</string>
|
||||||
<string name="title_audit_config">審核中,請耐心等待</string>
|
<string name="title_audit_config">審核中,請耐心等待审核通过</string>
|
||||||
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
<string name="title_audit_config2">已發起審核,請耐心等待審核結果</string>
|
||||||
<string name="title_audit_config3">審核失敗,去提交</string>
|
<string name="title_audit_config3">審核失敗,去提交</string>
|
||||||
<string name="title_audit_config4">審核中</string>
|
<string name="title_audit_config4">審核中</string>
|
||||||
@ -113,6 +113,8 @@
|
|||||||
<string name="layout_auth_tips4">身份證背面</string>
|
<string name="layout_auth_tips4">身份證背面</string>
|
||||||
<string name="layout_auth_tips5">發起審核</string>
|
<string name="layout_auth_tips5">發起審核</string>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<string name="layout_auth_blogger_tips1">带*为必填项,為保障您的利益,請如實填寫</string>
|
<string name="layout_auth_blogger_tips1">带*为必填项,為保障您的利益,請如實填寫</string>
|
||||||
<string name="layout_auth_blogger_tips2">性别</string>
|
<string name="layout_auth_blogger_tips2">性别</string>
|
||||||
<string name="layout_auth_blogger_tips3">男</string>
|
<string name="layout_auth_blogger_tips3">男</string>
|
||||||
@ -204,6 +206,7 @@
|
|||||||
<string name="layout_setting_tip11">版本號</string>
|
<string name="layout_setting_tip11">版本號</string>
|
||||||
<string name="layout_setting_tip12">檢查新版本</string>
|
<string name="layout_setting_tip12">檢查新版本</string>
|
||||||
<string name="layout_setting_tip13">退出</string>
|
<string name="layout_setting_tip13">退出</string>
|
||||||
|
<string name="layout_setting_tip14">用戶協議</string>
|
||||||
|
|
||||||
<string name="layout_choose_label_adapter_tip1">我的标签</string>
|
<string name="layout_choose_label_adapter_tip1">我的标签</string>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user