"我的"页面
This commit is contained in:
@@ -233,30 +233,30 @@ public class MeFragment extends BaseFragment implements View.OnClickListener {
|
|||||||
mBinding.tvConstellation.setText(star);
|
mBinding.tvConstellation.setText(star);
|
||||||
|
|
||||||
// 头像遮罩
|
// 头像遮罩
|
||||||
GlideApp.with(mContext)
|
// GlideApp.with(mContext)
|
||||||
.load(mUserInfo.getAvatar())
|
// .load(mUserInfo.getAvatar())
|
||||||
.dontAnimate()
|
// .dontAnimate()
|
||||||
.centerInside()
|
// .centerInside()
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
// .diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||||
.listener(new RequestListener<Drawable>() {
|
// .listener(new RequestListener<Drawable>() {
|
||||||
@Override
|
// @Override
|
||||||
public boolean onLoadFailed(@Nullable GlideException e, Object o,
|
// public boolean onLoadFailed(@Nullable GlideException e, Object o,
|
||||||
Target<Drawable> target, boolean b) {
|
// Target<Drawable> target, boolean b) {
|
||||||
return false;
|
// return false;
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
@Override
|
// @Override
|
||||||
public boolean onResourceReady(Drawable drawable, Object o,
|
// public boolean onResourceReady(Drawable drawable, Object o,
|
||||||
Target<Drawable> target, DataSource dataSource, boolean b) {
|
// Target<Drawable> target, DataSource dataSource, boolean b) {
|
||||||
drawable.setColorFilter(mContext.getResources().getColor(R.color.black_transparent_20), PorterDuff.Mode.DARKEN);
|
// drawable.setColorFilter(mContext.getResources().getColor(R.color.black_transparent_20), PorterDuff.Mode.DARKEN);
|
||||||
ViewTarget<ImageView, Drawable> viewTarget = (ViewTarget<ImageView, Drawable>) target;
|
// ViewTarget<ImageView, Drawable> viewTarget = (ViewTarget<ImageView, Drawable>) target;
|
||||||
viewTarget.getView().setImageDrawable(drawable);
|
// viewTarget.getView().setImageDrawable(drawable);
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
// “23”:设置模糊度(在0.0到25.0之间),默认”25";"4":图片缩放比例,默认“1”。
|
// // “23”:设置模糊度(在0.0到25.0之间),默认”25";"4":图片缩放比例,默认“1”。
|
||||||
.transforms(new BlurTransformation(mContext, 25, 1))
|
// .transforms(new BlurTransformation(mContext, 25, 1))
|
||||||
.into(mBinding.ivUserAvatarShadow);
|
// .into(mBinding.ivUserAvatarShadow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 802 B |
@@ -18,7 +18,9 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
|
||||||
|
>
|
||||||
|
|
||||||
<com.yizhuan.erban.ui.widget.ObservableScrollView
|
<com.yizhuan.erban.ui.widget.ObservableScrollView
|
||||||
android:id="@+id/scroll_view"
|
android:id="@+id/scroll_view"
|
||||||
@@ -31,41 +33,55 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<android.support.constraint.ConstraintLayout
|
<!-- <android.support.constraint.ConstraintLayout-->
|
||||||
android:layout_width="match_parent"
|
<!-- android:layout_width="match_parent"-->
|
||||||
android:layout_height="wrap_content">
|
<!-- android:layout_height="wrap_content">-->
|
||||||
|
|
||||||
<!--头像遮罩-->
|
<!--头像遮罩-->
|
||||||
<ImageView
|
<!-- <ImageView-->
|
||||||
android:id="@+id/iv_user_avatar_shadow"
|
<!-- android:id="@+id/iv_user_avatar_shadow"-->
|
||||||
android:layout_width="match_parent"
|
<!-- android:layout_width="match_parent"-->
|
||||||
android:layout_height="0dp"
|
<!-- android:layout_height="0dp"-->
|
||||||
android:scaleType="centerCrop"
|
<!-- android:scaleType="centerCrop"-->
|
||||||
app:layout_collapseMode="parallax"
|
<!-- app:layout_collapseMode="parallax"-->
|
||||||
app:layout_collapseParallaxMultiplier="0"
|
<!-- app:layout_collapseParallaxMultiplier="0"-->
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/rl_user_info"
|
<!-- app:layout_constraintBottom_toBottomOf="@+id/rl_user_info"-->
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
<!-- app:layout_constraintTop_toTopOf="parent"-->
|
||||||
tools:ignore="ContentDescription"
|
<!-- tools:ignore="ContentDescription"-->
|
||||||
tools:src="@drawable/default_avatar" />
|
<!-- android:visibility="gone"-->
|
||||||
|
<!-- tools:src="@drawable/default_avatar" />-->
|
||||||
|
|
||||||
<!--90%白色遮罩-->
|
<!--90%白色遮罩-->
|
||||||
<View
|
<!-- <View-->
|
||||||
|
<!-- android:layout_width="match_parent"-->
|
||||||
|
<!-- android:layout_height="0dp"-->
|
||||||
|
<!-- android:background="#E6ffffff"-->
|
||||||
|
<!-- app:layout_constraintBottom_toBottomOf="@+id/rl_user_info"-->
|
||||||
|
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||||
|
<!-- app:layout_constraintRight_toRightOf="parent"-->
|
||||||
|
<!-- app:layout_constraintTop_toTopOf="parent" />-->
|
||||||
|
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="wrap_content"
|
||||||
android:background="#E6ffffff"
|
>
|
||||||
app:layout_constraintBottom_toBottomOf="@+id/rl_user_info"
|
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
<ImageView
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:scaleType="fitXY"
|
||||||
|
android:src="@mipmap/bg_me_top"
|
||||||
|
/>
|
||||||
|
|
||||||
<!--个人信息-->
|
<!--个人信息-->
|
||||||
<android.support.constraint.ConstraintLayout
|
<android.support.constraint.ConstraintLayout
|
||||||
android:id="@+id/rl_user_info"
|
android:id="@+id/rl_user_info"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="45dp"
|
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toRightOf="parent"
|
app:layout_constraintRight_toRightOf="parent"
|
||||||
@@ -120,8 +136,8 @@
|
|||||||
android:maxWidth="150dp"
|
android:maxWidth="150dp"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{userInfo.nick}"
|
android:text="@{userInfo.nick}"
|
||||||
android:textColor="@color/color_333333"
|
android:textColor="@color/white"
|
||||||
android:textSize="20sp"
|
android:textSize="@dimen/sp_18"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
tools:text="移动地下党移动地下党" />
|
tools:text="移动地下党移动地下党" />
|
||||||
@@ -143,10 +159,9 @@
|
|||||||
android:id="@+id/ll_icon"
|
android:id="@+id/ll_icon"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="17dp"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toRightOf="@id/ll_id"
|
||||||
app:layout_constraintTop_toBottomOf="@id/tv_user_name">
|
app:layout_constraintTop_toTopOf="@id/ll_id">
|
||||||
|
|
||||||
<android.support.v7.widget.AppCompatImageView
|
<android.support.v7.widget.AppCompatImageView
|
||||||
android:id="@+id/iv_user_noble_level"
|
android:id="@+id/iv_user_noble_level"
|
||||||
@@ -154,6 +169,7 @@
|
|||||||
android:layout_height="14dp"
|
android:layout_height="14dp"
|
||||||
android:layout_marginEnd="5dp"
|
android:layout_marginEnd="5dp"
|
||||||
tools:src="@mipmap/ic_user_level_king"
|
tools:src="@mipmap/ic_user_level_king"
|
||||||
|
android:visibility="gone"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -188,11 +204,11 @@
|
|||||||
android:id="@+id/ll_id"
|
android:id="@+id/ll_id"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/dp_5"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
|
android:layout_marginTop="@dimen/dp_18"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/ll_icon">
|
app:layout_constraintTop_toBottomOf="@id/tv_user_name">
|
||||||
|
|
||||||
<android.support.v7.widget.AppCompatImageView
|
<android.support.v7.widget.AppCompatImageView
|
||||||
android:id="@+id/iv_user_official"
|
android:id="@+id/iv_user_official"
|
||||||
@@ -225,11 +241,10 @@
|
|||||||
android:id="@+id/tv_user_id"
|
android:id="@+id/tv_user_id"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:drawableStart="@drawable/ic_my_id"
|
|
||||||
android:drawablePadding="4dp"
|
android:drawablePadding="4dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:textColor="@color/color_333333"
|
android:textColor="@color/white"
|
||||||
android:textSize="@dimen/dp_13"
|
android:textSize="@dimen/dp_13"
|
||||||
tools:ignore="SpUsage"
|
tools:ignore="SpUsage"
|
||||||
tools:text="123456" />
|
tools:text="123456" />
|
||||||
@@ -239,20 +254,19 @@
|
|||||||
</android.support.constraint.ConstraintLayout>
|
</android.support.constraint.ConstraintLayout>
|
||||||
|
|
||||||
<!--四个Tab的遮罩-->
|
<!--四个Tab的遮罩-->
|
||||||
<View
|
<!-- <View-->
|
||||||
android:layout_width="match_parent"
|
<!-- android:layout_width="match_parent"-->
|
||||||
android:layout_height="wrap_content"
|
<!-- android:layout_height="wrap_content"-->
|
||||||
android:background="@drawable/bg_my_top_bottom_white"
|
<!-- android:background="@drawable/bg_my_top_bottom_white"-->
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
<!-- app:layout_constraintLeft_toLeftOf="parent"-->
|
||||||
app:layout_constraintRight_toRightOf="parent" />
|
<!-- app:layout_constraintRight_toRightOf="parent" />-->
|
||||||
|
|
||||||
<!--关注 粉丝 用户等级 魅力等级-->
|
<!--关注 粉丝 用户等级 魅力等级-->
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/layout_user_info_tab"
|
android:id="@+id/layout_user_info_tab"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="72dp"
|
android:layout_height="72dp"
|
||||||
android:layout_marginTop="25dp"
|
|
||||||
android:baselineAligned="false"
|
android:baselineAligned="false"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -276,8 +290,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{String.valueOf(userInfo.followNum)}"
|
android:text="@{String.valueOf(userInfo.followNum)}"
|
||||||
android:textColor="@color/color_333333"
|
android:textColor="@color/white"
|
||||||
android:textSize="18sp"
|
android:textSize="@dimen/sp_18"
|
||||||
tools:text="999" />
|
tools:text="999" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -285,15 +299,15 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/attention"
|
android:text="@string/attention"
|
||||||
android:textColor="#666666"
|
android:textColor="@color/color_CEC0FF"
|
||||||
android:textSize="12sp" />
|
android:textSize="@dimen/sp_11" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<!-- <View-->
|
||||||
android:layout_width="1dp"
|
<!-- android:layout_width="1dp"-->
|
||||||
android:layout_height="13dp"
|
<!-- android:layout_height="13dp"-->
|
||||||
android:background="#E6E6E6" />
|
<!-- android:background="#E6E6E6" />-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/tv_user_fans"
|
android:id="@+id/tv_user_fans"
|
||||||
@@ -310,8 +324,8 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{String.valueOf(userInfo.fansNum)}"
|
android:text="@{String.valueOf(userInfo.fansNum)}"
|
||||||
android:textColor="#333333"
|
android:textColor="@color/white"
|
||||||
android:textSize="18sp"
|
android:textSize="@dimen/sp_18"
|
||||||
tools:text="999999" />
|
tools:text="999999" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -321,8 +335,8 @@
|
|||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@string/fan"
|
android:text="@string/fan"
|
||||||
android:textColor="#666666"
|
android:textColor="@color/color_CEC0FF"
|
||||||
android:textSize="12sp" />
|
android:textSize="@dimen/sp_11"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -338,6 +352,7 @@
|
|||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
|
android:visibility="gone"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
@@ -362,10 +377,10 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<View
|
<!-- <View-->
|
||||||
android:layout_width="1dp"
|
<!-- android:layout_width="1dp"-->
|
||||||
android:layout_height="13dp"
|
<!-- android:layout_height="13dp"-->
|
||||||
android:background="#E6E6E6" />
|
<!-- android:background="#E6E6E6" />-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/fl_me_charm"
|
android:id="@+id/fl_me_charm"
|
||||||
@@ -373,6 +388,7 @@
|
|||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:visibility="gone"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@@ -402,43 +418,25 @@
|
|||||||
|
|
||||||
</android.support.constraint.ConstraintLayout>
|
</android.support.constraint.ConstraintLayout>
|
||||||
|
|
||||||
</android.support.constraint.ConstraintLayout>
|
<!-- </android.support.constraint.ConstraintLayout>-->
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/me_item_charge"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
|
||||||
android:layout_marginTop="7dp"
|
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:onClick="@{click}"
|
|
||||||
android:orientation="horizontal"
|
|
||||||
android:paddingStart="@dimen/dp_me_padding_left"
|
|
||||||
android:paddingEnd="15dp"
|
|
||||||
tools:ignore="UseCompoundDrawables">
|
|
||||||
|
|
||||||
<ImageView
|
|
||||||
android:layout_width="@dimen/dp_me_icon_width"
|
|
||||||
android:layout_height="@dimen/dp_me_icon_height"
|
|
||||||
android:src="@mipmap/ic_me_charge"
|
|
||||||
tools:ignore="ContentDescription" />
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="@dimen/dp_13"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_weight="1"
|
android:layout_marginRight="15dp"
|
||||||
android:text="@string/menu_my_gold_charge"
|
android:layout_marginTop="@dimen/dp_15"
|
||||||
android:textColor="@color/color_333333"
|
android:background="@drawable/bg_corner_shadow_12"
|
||||||
android:textSize="16sp" />
|
android:paddingTop="20dp"
|
||||||
|
android:paddingBottom="16dp"
|
||||||
</LinearLayout>
|
android:orientation="vertical"
|
||||||
|
android:layout_below="@id/rl_user_info"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/me_item_radish"
|
android:id="@+id/me_item_radish"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -467,7 +465,6 @@
|
|||||||
android:id="@+id/me_item_wallet"
|
android:id="@+id/me_item_wallet"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -492,11 +489,60 @@
|
|||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginLeft="15dp"
|
||||||
|
android:layout_marginRight="15dp"
|
||||||
|
android:layout_marginTop="@dimen/dp_15"
|
||||||
|
android:background="@drawable/bg_corner_shadow_12"
|
||||||
|
android:paddingTop="20dp"
|
||||||
|
android:paddingBottom="16dp"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/me_item_charge"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="55dp"
|
||||||
|
android:layout_marginTop="7dp"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:onClick="@{click}"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:paddingStart="@dimen/dp_me_padding_left"
|
||||||
|
android:paddingEnd="15dp"
|
||||||
|
tools:ignore="UseCompoundDrawables">
|
||||||
|
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="@dimen/dp_me_icon_width"
|
||||||
|
android:layout_height="@dimen/dp_me_icon_height"
|
||||||
|
android:src="@mipmap/ic_me_charge"
|
||||||
|
tools:ignore="ContentDescription" />
|
||||||
|
|
||||||
|
<TextView
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="@dimen/dp_13"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:text="@string/menu_my_gold_charge"
|
||||||
|
android:textColor="@color/color_333333"
|
||||||
|
android:textSize="16sp" />
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/me_item_noble"
|
android:id="@+id/me_item_noble"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -533,7 +579,6 @@
|
|||||||
android:id="@+id/me_item_car_shop"
|
android:id="@+id/me_item_car_shop"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -557,27 +602,26 @@
|
|||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/dp_10"
|
android:layout_height="wrap_content"
|
||||||
android:background="#FAFAFA"
|
android:layout_marginLeft="15dp"
|
||||||
android:gravity="center">
|
android:layout_marginRight="15dp"
|
||||||
|
android:layout_marginTop="@dimen/dp_15"
|
||||||
|
android:background="@drawable/bg_corner_shadow_12"
|
||||||
|
android:paddingTop="20dp"
|
||||||
|
android:paddingBottom="16dp"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:gravity="center_vertical">
|
||||||
|
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="1px"
|
|
||||||
android:layout_marginStart="@dimen/dp_18"
|
|
||||||
android:layout_marginEnd="@dimen/dp_18"
|
|
||||||
android:background="@color/line_color" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/ll_recommend_position"
|
android:id="@+id/ll_recommend_position"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="@dimen/dp_me_padding_left"
|
android:paddingStart="@dimen/dp_me_padding_left"
|
||||||
@@ -604,7 +648,6 @@
|
|||||||
android:id="@+id/me_item_my_family"
|
android:id="@+id/me_item_my_family"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -633,7 +676,6 @@
|
|||||||
android:id="@+id/ll_module_hall"
|
android:id="@+id/ll_module_hall"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="@dimen/dp_me_padding_left"
|
android:paddingStart="@dimen/dp_me_padding_left"
|
||||||
@@ -661,7 +703,6 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/dp_10"
|
android:layout_height="@dimen/dp_10"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
|
|
||||||
<View
|
<View
|
||||||
@@ -677,7 +718,6 @@
|
|||||||
android:id="@+id/ll_authen"
|
android:id="@+id/ll_authen"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="@dimen/dp_me_padding_left"
|
android:paddingStart="@dimen/dp_me_padding_left"
|
||||||
@@ -705,7 +745,6 @@
|
|||||||
android:id="@+id/ll_approve"
|
android:id="@+id/ll_approve"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingStart="@dimen/dp_me_padding_left"
|
android:paddingStart="@dimen/dp_me_padding_left"
|
||||||
@@ -733,7 +772,6 @@
|
|||||||
android:id="@+id/me_item_patriarch"
|
android:id="@+id/me_item_patriarch"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -762,7 +800,6 @@
|
|||||||
android:id="@+id/me_item_setting"
|
android:id="@+id/me_item_setting"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="55dp"
|
android:layout_height="55dp"
|
||||||
android:background="#FAFAFA"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:onClick="@{click}"
|
android:onClick="@{click}"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
@@ -786,11 +823,7 @@
|
|||||||
android:textSize="16sp" />
|
android:textSize="16sp" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
<View
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="43dp"
|
|
||||||
android:background="#FAFAFA" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -799,6 +832,7 @@
|
|||||||
<android.support.constraint.ConstraintLayout
|
<android.support.constraint.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="45dp"
|
android:layout_height="45dp"
|
||||||
|
android:visibility="gone"
|
||||||
android:layout_gravity="top">
|
android:layout_gravity="top">
|
||||||
|
|
||||||
<View
|
<View
|
||||||
|
BIN
app/src/main/res/mipmap-xxhdpi/bg_me_top.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/bg_me_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 274 KiB |
@@ -515,6 +515,9 @@
|
|||||||
<color name="color_E0E0E0">#E0E0E0</color>
|
<color name="color_E0E0E0">#E0E0E0</color>
|
||||||
<color name="color_F3F2F5">#F3F2F5</color>
|
<color name="color_F3F2F5">#F3F2F5</color>
|
||||||
<color name="color_FFF044">#FFF044</color>
|
<color name="color_FFF044">#FFF044</color>
|
||||||
|
<color name="color_CEC0FF">#CEC0FF</color>
|
||||||
|
|
||||||
|
<color name="color_shadow">#05a5a5a5</color>
|
||||||
|
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -350,7 +350,7 @@
|
|||||||
<string name="text_check_damage">查看伤害排行榜</string>
|
<string name="text_check_damage">查看伤害排行榜</string>
|
||||||
<string name="title_monster_hunting_reward">获得奖励(%s)</string>
|
<string name="title_monster_hunting_reward">获得奖励(%s)</string>
|
||||||
<string name="currency_unit">金币</string>
|
<string name="currency_unit">金币</string>
|
||||||
<string name="text_user_id">ID:%s</string>
|
<string name="text_user_id">66号:%s</string>
|
||||||
<string name="format_monster_hunting_impact">伤害 %s 点/次</string>
|
<string name="format_monster_hunting_impact">伤害 %s 点/次</string>
|
||||||
<string name="format_monster_hunting_magic_value">(%s金币)</string>
|
<string name="format_monster_hunting_magic_value">(%s金币)</string>
|
||||||
<string name="exchange_gold_tips">钻石可以兑换金币,兑换比率:1钻石=%s金币;\n</string>
|
<string name="exchange_gold_tips">钻石可以兑换金币,兑换比率:1钻石=%s金币;\n</string>
|
||||||
|
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@color/color_shadow"/>
|
||||||
|
<corners android:radius="@dimen/dp_20"/>
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
<item
|
||||||
|
android:bottom="5dp"
|
||||||
|
android:left="1dp"
|
||||||
|
android:right="1dp"
|
||||||
|
android:top="1dp">
|
||||||
|
<shape android:shape="rectangle">
|
||||||
|
<solid android:color="@android:color/white"/>
|
||||||
|
<corners android:radius="@dimen/dp_12"/>
|
||||||
|
</shape>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</layer-list>
|
Reference in New Issue
Block a user