个人展示页
This commit is contained in:
174
app/src/main/res/layout/dialog_look_wechat.xml
Normal file
174
app/src/main/res/layout/dialog_look_wechat.xml
Normal file
@@ -0,0 +1,174 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_gravity="center"
|
||||
android:background="@color/transparent"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginTop="28dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:background="@drawable/shape_white_bg_r14"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="36dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="当前与TA的亲密度为:"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_percent_intimacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="56%"
|
||||
android:textColor="@color/yellow_ffd33e"
|
||||
android:textSize="25sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/pb_intimacy"
|
||||
style="@style/progressBar_voice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="4dp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:max="100"
|
||||
android:progress="50" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_no_vip_intimacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:text="0/13140"
|
||||
android:textColor="@color/yellow_ffd33e"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_vip_intimacy"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:drawableEnd="@mipmap/ic_svip"
|
||||
android:drawablePadding="8dp"
|
||||
android:text="0/13140"
|
||||
android:textColor="@color/yellow_ffd33e"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_all_intimacy_intro"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="24dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:text="亲密值累计 13140 可成为私密好友并免费解锁微信每与她消费1金币,可增加1亲密值"
|
||||
android:textColor="#ff000000"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/bt_look_wechat"
|
||||
style="@style/caiButtonStyle"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:enabled="false"
|
||||
android:text="查看TA的微信"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="44dp"
|
||||
android:layout_marginTop="24dp"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:drawableStart="@mipmap/ic_risk_tip"
|
||||
android:drawablePadding="6dp"
|
||||
android:text="风险提示"
|
||||
android:textColor="#ffeb838c"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_risk"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="1、亲密度代表了熟悉程度,循序渐进的积累更有助于稳固彼此的亲密关系哦!
|
||||
\n2、平台禁止一切诈骗、涉黄等违法行为
|
||||
\n3、如主播在直播任何场合以陪玩、送礼等方式进行诱导用户添加个人联系方式、打赏、私下交易,进行违法行为,一经发现永久封禁,请谨慎判断,以防人身或财产损失。请用户注意财产安全,谨防网络诈骗。此外,用户在第三方平台与主播产生的任何风险与财产损失与平台无关。"
|
||||
android:textColor="#ffeb838c"
|
||||
android:textSize="12sp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_risk_footer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:text="解锁主播亲密度24小时内未添加成功及时联系官方客服如果您遇到主播有此违规行为欢迎您联系客服进行举报"
|
||||
android:textColor="#ffff0016"
|
||||
android:textSize="12sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="112dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginLeft="44dp">
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/other_user_head"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:scaleType="fitXY"
|
||||
app:roundAsCircle="true"
|
||||
app:roundingBorderColor="@color/white"
|
||||
app:roundingBorderWidth="2dp" />
|
||||
|
||||
<com.facebook.drawee.view.SimpleDraweeView
|
||||
android:id="@+id/my_user_head"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:scaleType="fitXY"
|
||||
app:roundAsCircle="true"
|
||||
app:roundingBorderColor="@color/white"
|
||||
app:roundingBorderWidth="2dp" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="22dp"
|
||||
android:layout_centerInParent="true"
|
||||
android:src="@mipmap/ic_look_wechat_love" />
|
||||
</RelativeLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user