个人展示页

This commit is contained in:
nail
2026-04-25 18:21:19 +08:00
parent 0c5496e4bb
commit ab54122829
70 changed files with 4655 additions and 390 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:color="#f5f6fa" android:width="@dimen/dp1" />
<corners android:radius="@dimen/dp20" />
</shape>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#1AE472ED" />
<corners android:radius="@dimen/dp20" />
</shape>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 背景 -->
<item
android:id="@android:id/background"
android:drawable="@drawable/shape_efecec_r45_bg"></item>
<!-- 第二进度条样式,用不怎么到直接设置成了和背景色一样的颜色,隐藏起来 -->
<item android:id="@android:id/secondaryProgress" android:drawable="@drawable/shape_efecec_r45_bg">
</item>
<!-- 第一进度条样式,我想修改的,修改成简单的灰色 -->
<item android:id="@android:id/progress">
<clip>
<shape>
<!-- 圆角设置 -->
<corners android:radius="@dimen/dp16" />
<!-- <gradient
android:angle="270"
android:centerY="0.75"
android:endColor="#1AB62EFF"
android:startColor="#1AB62EFF" />-->
<solid android:color="@color/yellow_ffd33e" />
</shape>
</clip>
</item>
</layer-list>

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<stroke android:color="@color/titleLine"
<stroke android:color="#D2D2D2"
android:width="2px"/>
<solid android:color="@color/titleLine"/>
<solid android:color="#D2D2D2"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#E589EC"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#F9B776"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#8BAEFF"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#EA463A"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#4CD0E1"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#784512"/>
<corners android:radius="4dp"/>
</shape>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#D2D2D2"/>
<corners android:bottomLeftRadius="45dp" android:topLeftRadius="45dp"/>
</shape>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="@dimen/dp45" />
<solid android:color="#EFECEC"/>
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#E685A6"
android:endColor="#DA5281"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#E236B5"
android:endColor="#AA3CE9"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#BA9F4F"
android:endColor="#FFC107"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#4FA3E6"
android:endColor="#06CAE3"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#7D89CC"
android:endColor="#5403E4"/>
<corners android:radius="45dp"/>
</shape>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:angle="0"
android:startColor="#EA6FEE"
android:endColor="#EB6969"/>
<corners android:bottomRightRadius="45dp" android:topRightRadius="45dp"/>
</shape>

View File

@@ -0,0 +1,42 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:viewBindingIgnore="true"
android:background="@color/white">
<LinearLayout
android:layout_marginLeft="16dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:text="礼物总数"
android:textColor="@color/three_text"/>
<TextView
android:id="@+id/gift_received_header_info"
android:layout_marginLeft="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="14sp"
android:text="0"
android:textColor="@color/one_text"/>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:layout_marginLeft="12dp"
android:layout_marginRight="12dp"
android:layout_marginTop="16dp"
android:id="@+id/rv_recommend_list"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>

View File

@@ -10,11 +10,11 @@
<ImageView
android:id="@+id/login_logo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="80dp"
android:src="@mipmap/login_logo" />
android:src="@mipmap/ic_launcher" />
<ImageView
android:id="@+id/backBtn"
@@ -34,7 +34,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/login_logo"
android:layout_marginStart="@dimen/dp20"
android:layout_marginTop="10dp"
android:layout_marginTop="40dp"
android:orientation="horizontal">
@@ -216,11 +216,10 @@
<TextView
android:id="@+id/tv_send_code"
android:layout_width="wrap_content"
android:layout_width="80dp"
android:layout_height="@dimen/dp25"
android:background="@drawable/shape_button_enable"
android:gravity="center"
android:paddingHorizontal="@dimen/dp8"
android:text="获取验证码"
android:textColor="@color/white"
android:textSize="12dp" />
@@ -349,6 +348,7 @@
</LinearLayout>
<RelativeLayout
android:visibility="gone"
android:id="@+id/rl_fast_login_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -387,6 +387,7 @@
</RelativeLayout>
<LinearLayout
android:visibility="gone"
android:id="@+id/thirdCotainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -424,7 +425,7 @@
android:id="@+id/login_contract_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/lin_login_help"
android:layout_alignParentBottom="true"
android:layout_marginBottom="22dp"
android:gravity="center"
android:orientation="horizontal">
@@ -474,6 +475,7 @@
</LinearLayout>
<LinearLayout
android:visibility="gone"
android:id="@+id/lin_login_help"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -0,0 +1,46 @@
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@color/white"
tools:viewBindingIgnore="true">
<LinearLayout
android:id="@+id/ll_content_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.scwang.smartrefresh.layout.SmartRefreshLayout
android:id="@+id/smart_refresh"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible">
<com.scwang.smartrefresh.layout.header.ClassicsHeader
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srlEnableLastTime="false" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_recommend_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/dp_10" />
</LinearLayout>
<com.scwang.smartrefresh.layout.footer.ClassicsFooter
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
</LinearLayout>
</LinearLayout>

View File

@@ -110,6 +110,7 @@
</LinearLayout>
<LinearLayout
android:visibility="gone"
android:id="@+id/main_personal_page_wechat"
android:layout_width="wrap_content"
android:layout_height="match_parent"
@@ -244,6 +245,7 @@
</RelativeLayout>
<TextView
android:visibility="gone"
android:id="@+id/tv_personal_free"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -258,5 +260,31 @@
android:textColor="#FFFF365E"
android:textSize="15dp"
android:textStyle="bold"
android:visibility="gone" />
/>
<RelativeLayout
android:visibility="gone"
android:layout_marginBottom="120dp"
android:layout_marginEnd="20dp"
android:id="@+id/rl_love_layout"
android:layout_width="@dimen/dp55"
android:layout_height="@dimen/dp55"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:background="@mipmap/ic_love_ssss">
<TextView
android:id="@+id/tv_love_count"
android:layout_width="@dimen/dp35"
android:layout_height="@dimen/dp15"
android:layout_centerHorizontal="true"
android:background="@drawable/bg_focus"
android:layout_alignParentBottom="true"
android:textColor="@color/white"
android:gravity="center"
android:textSize="9dp"
android:text="0%"
/>
</RelativeLayout>
</RelativeLayout>

View File

@@ -139,12 +139,12 @@
<Button
android:id="@+id/register_send_code_button"
style="@style/caiButtonStyleV2"
android:layout_width="90dp"
android:layout_height="28dp"
android:layout_width="80dp"
android:layout_height="@dimen/dp25"
android:layout_weight="0.5"
android:text="获取验证码"
android:textColor="@color/white"
android:textSize="14sp" />
android:textSize="12dp" />
</LinearLayout>
<View

View File

@@ -0,0 +1,157 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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:background="@color/transparent">
<RelativeLayout
android:layout_centerInParent="true"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:gravity="center_horizontal"
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">
<TextView
android:id="@+id/tv_chat"
android:textColor="@color/one_text"
android:layout_marginTop="44dp"
android:textSize="16sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="与希尔的聊天"/>
<TextView
android:id="@+id/tv_time"
android:textColor="@color/three_text"
android:layout_marginTop="16dp"
android:textSize="14sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="通话:"/>
<TextView
android:id="@+id/tv_cost"
android:textColor="@color/three_text"
android:textSize="14sp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="消费:"/>
<LinearLayout
android:layout_marginLeft="44dp"
android:layout_marginRight="44dp"
android:layout_marginTop="16dp"
android:background="@drawable/shape_dddddd_line_oval_bg"
android:layout_width="match_parent"
android:layout_height="32dp"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_dislike"
android:gravity="center"
android:layout_weight="1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="无感"
android:textColor="@color/two_text"
android:textSize="16sp"/>
<TextView
android:id="@+id/tv_like"
android:background="@drawable/shape_like_bg"
android:layout_weight="1"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="喜欢"
android:textColor="@color/white"
android:textSize="16sp"/>
</LinearLayout>
<RelativeLayout
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:layout_marginRight="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.xuebiping.bolizhuzi.utils.FlowLayout
android:id="@+id/fl_like"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:isIndicator="true"
app:labelBackground="@drawable/label_shape_feed_back_bt_no_selected"
app:labelTextColor="#ff9ea7b6"
app:labelTextSize="14dp"
app:lineMargin="10dp"
app:selectlabelBackground="@drawable/label_shape_feed_back_bt_selected"
app:selectlabelTextColor="@color/yellow_ffd33e" />
<com.xuebiping.bolizhuzi.utils.FlowLayout
android:visibility="gone"
android:id="@+id/fl_dislike"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:isIndicator="true"
app:labelBackground="@drawable/label_shape_feed_back_bt_no_selected"
app:labelTextColor="#ff9ea7b6"
app:labelTextSize="14dp"
app:lineMargin="10dp"
app:selectlabelBackground="@drawable/shape_button_disable"
app:selectlabelTextColor="@color/white" />
</RelativeLayout>
<Button
android:layout_marginBottom="20dp"
android:id="@+id/bt_commit"
style="@style/caiButtonStyle"
android:layout_marginLeft="44dp"
android:layout_marginRight="44dp"
android:text="提交评价"
android:layout_width="match_parent"
android:layout_height="44dp"
android:layout_marginTop="100dp"/>
</LinearLayout>
<RelativeLayout
android:layout_centerHorizontal="true"
android:layout_width="112dp"
android:layout_height="56dp">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/my_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:layout_alignParentRight="true"
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" />
<ImageView
android:layout_width="22dp"
android:layout_height="22dp"
android:layout_centerInParent="true"
android:src="@mipmap/ic_look_wechat_love" />
</RelativeLayout>
</RelativeLayout>
</RelativeLayout>

View 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>

View File

@@ -0,0 +1,106 @@
<?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_marginLeft="32dp"
android:layout_marginRight="32dp"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:id="@+id/ll_share"
android:background="#151515"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/user_head"
android:layout_width="match_parent"
android:layout_height="300dp"
android:scaleType="fitXY"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="160dp">
<LinearLayout
android:layout_centerVertical="true"
android:layout_marginLeft="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="恋爱不是KPI\n在芊颜慢慢种花自然开"
android:textColor="#ffefdfcf"
android:textSize="15sp"
/>
<TextView
android:id="@+id/tv_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="软软i"
android:textColor="@color/white"
android:textSize="15sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_code"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="ID:611139"
android:textColor="@color/white"
android:textSize="13sp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_centerVertical="true"
android:gravity="center_horizontal"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="保存图片扫码下载"
android:textColor="@color/white"
android:textSize="12sp"
/>
<com.facebook.drawee.view.SimpleDraweeView
android:layout_marginTop="4dp"
android:id="@+id/sv_er"
android:layout_width="80dp"
android:layout_height="80dp"
android:scaleType="fitXY"/>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
<Button
android:layout_below="@+id/ll_share"
android:id="@+id/bt_save"
style="@style/caiButtonStyle"
android:text="保存图片"
android:layout_width="match_parent"
android:layout_height="44dp"
android:layout_marginTop="24dp"/>
</RelativeLayout>
</LinearLayout>

View File

@@ -1,13 +1,13 @@
<?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:tools="http://schemas.android.com/tools"
android:id="@+id/dynamics_fresh"
android:layout_width="match_parent"
xmlns:tools="http://schemas.android.com/tools"
tools:viewBindingIgnore="true"
android:layout_height="match_parent"
android:background="@color/background"
android:orientation="vertical"
android:background="@color/background">
tools:viewBindingIgnore="true">
<com.fengliyan.uikit.refresh.LoadMoreListView
android:id="@+id/dynamics_list"
android:layout_width="match_parent"

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center_horizontal"
android:orientation="vertical">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/gift_received_logo"
android:layout_width="44dp"
android:layout_height="44dp" />
<TextView
android:maxLines="1"
android:maxEms="4"
android:ellipsize="middle"
android:id="@+id/gift_received_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:text="玫瑰花"
android:textColor="@color/one_text"
android:textSize="14sp" />
<TextView
android:id="@+id/gift_received_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:gravity="center"
android:text="x2"
android:textColor="@color/three_text"
android:textSize="12sp" />
</LinearLayout>
</RelativeLayout>

View File

@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fresco="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
tools:viewBindingIgnore="true">
<RelativeLayout
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_marginBottom="16dp"
android:id="@+id/rl_item"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<LinearLayout
android:gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/list_photo"
android:layout_width="40dp"
android:layout_height="40dp"
fresco:roundAsCircle="true" />
<LinearLayout
android:layout_marginStart="10dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:textStyle="bold"
android:id="@+id/tv_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="醉红颜醉红颜"
android:textColor="@color/one_text"
android:textSize="12sp" />
<TextView
android:id="@+id/tv_level"
android:paddingHorizontal="6dp"
android:layout_marginTop="4dp"
android:gravity="center"
android:background="@drawable/shape_level_1_20_bg"
android:layout_width="wrap_content"
android:layout_height="16dp"
android:text="LV.100"
android:textColor="@color/white"
android:textSize="8dp"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:gravity="center"
android:visibility="gone"
android:id="@+id/tv_comment1"
android:paddingHorizontal="6dp"
android:background="@drawable/shape_comment1_bg"
android:layout_width="wrap_content"
android:layout_height="16dp"
android:text="有感觉"
android:textColor="@color/white"
android:textSize="10dp" />
<TextView
android:gravity="center"
android:visibility="gone"
android:id="@+id/tv_comment2"
android:layout_marginLeft="8dp"
android:paddingHorizontal="6dp"
android:background="@drawable/shape_comment2_bg"
android:layout_width="wrap_content"
android:layout_height="16dp"
android:text="有亲和力"
android:textColor="@color/white"
android:textSize="10dp" />
<TextView
android:gravity="center"
android:visibility="gone"
android:id="@+id/tv_comment3"
android:layout_marginLeft="8dp"
android:paddingHorizontal="6dp"
android:background="@drawable/shape_comment3_bg"
android:layout_width="wrap_content"
android:layout_height="16dp"
android:text="身材好"
android:textColor="@color/white"
android:textSize="10dp" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>

View File

@@ -29,6 +29,7 @@
<LinearLayout
android:visibility="gone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@@ -66,4 +66,78 @@
<declare-styleable name="RoundAngleImageView">
<attr name="round" format="dimension" />
</declare-styleable>
<declare-styleable name="FlowLayout">
<attr name="selectType" format="enum">
<enum name="NONE" value="1" />
<enum name="SINGLE" value="2" />
<enum name="SINGLE_IRREVOCABLY" value="3" />
<enum name="MULTI" value="4" />
</attr>
<attr name="labelGravity">
<!-- Push object to the top of its container, not changing its size. -->
<flag name="top" value="0x30" />
<!-- Push object to the bottom of its container, not changing its size. -->
<flag name="bottom" value="0x50" />
<!-- Push object to the left of its container, not changing its size. -->
<flag name="left" value="0x03" />
<!-- Push object to the right of its container, not changing its size. -->
<flag name="right" value="0x05" />
<!-- Place object in the vertical center of its container, not changing its size. -->
<flag name="center_vertical" value="0x10" />
<!-- Grow the vertical size of the object if needed so it completely fills its container. -->
<flag name="fill_vertical" value="0x70" />
<!-- Place object in the horizontal center of its container, not changing its size. -->
<flag name="center_horizontal" value="0x01" />
<!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
<flag name="fill_horizontal" value="0x07" />
<!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
<flag name="center" value="0x11" />
<!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
<flag name="fill" value="0x77" />
<!-- Additional option that can be set to have the top and/or bottom edges of
the child clipped to its container's bounds.
The clip will be based on the vertical gravity: a top gravity will clip the bottom
edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
<flag name="clip_vertical" value="0x80" />
<!-- Additional option that can be set to have the left and/or right edges of
the child clipped to its container's bounds.
The clip will be based on the horizontal gravity: a left gravity will clip the right
edge, a right gravity will clip the left edge, and neither will clip both edges. -->
<flag name="clip_horizontal" value="0x08" />
<!-- Push object to the beginning of its container, not changing its size. -->
<flag name="start" value="0x00800003" />
<!-- Push object to the end of its container, not changing its size. -->
<flag name="end" value="0x00800005" />
</attr>
<attr name="maxSelect" format="integer" />
<attr name="minSelect" format="integer" />
<attr name="maxLines" format="integer" />
<attr name="isIndicator" format="boolean" />
<attr name="labelTextColor" format="reference|color" />
<attr name="selectlabelTextColor" format="reference|color" />
<attr name="labelTextSize" format="dimension" />
<attr name="labelTextWidth" format="dimension">
<enum name="fill_parent" value="-1" />
<enum name="match_parent" value="-1" />
<enum name="wrap_content" value="-2" />
</attr>
<attr name="labelTextHeight" format="dimension">
<enum name="fill_parent" value="-1" />
<enum name="match_parent" value="-1" />
<enum name="wrap_content" value="-2" />
</attr>
<attr name="labelTextPadding" format="dimension" />
<attr name="labelTextPaddingLeft" format="dimension" />
<attr name="labelTextPaddingTop" format="dimension" />
<attr name="labelTextPaddingRight" format="dimension" />
<attr name="labelTextPaddingBottom" format="dimension" />
<attr name="lineMargin" format="dimension" />
<attr name="wordMargin" format="dimension" />
<attr name="labelBackground" format="reference|color" />
<attr name="selectlabelBackground" format="reference|color" />
<attr name="singleLine" format="boolean" />
</declare-styleable>
</resources>

View File

@@ -32,7 +32,7 @@
<color name="noticeCuttingLine">#cccccc</color>
<color name="newsTimeBackground">#d8d8d8</color>
<color name="frame_stroke_color">#d5d5d5</color>
<color name="transColor">#99FFFFFF</color>
<color name="transColor">#00000000</color>
<color name="nofocus">#666666</color>
<color name="level2">#9AD836</color>
<color name="level1">#7FC72D</color>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="statusbarutil_fake_status_bar_view" type="id"/>
<item name="statusbarutil_translucent_view" type="id"/>
<item name="tag_key_data" type="id"/>
<item name="tag_key_position" type="id"/>
</resources>

View File

@@ -71,4 +71,29 @@
<item name="android:windowTranslucentStatus">true</item>
</style>
<style name="progressBar_voice" parent="@android:style/Widget.ProgressBar.Horizontal">
<!-- 最大高度50dp最小高度10dp进度值确定Drawable样式文件引用 -->
<item name="android:progress">0</item>
<item name="android:indeterminateOnly">false</item>
<item name="android:indeterminateDrawable">
@android:drawable/progress_indeterminate_horizontal
</item>
<item name="android:progressDrawable">@drawable/progressbar_voice</item>
</style>
<style name="activity_dialog" parent="Theme.AppCompat.Dialog">
<item name="android:windowIsFloating">true</item>
<!-- <item name="android:windowFrame">@null</item>-->
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:fullBright">@android:color/transparent</item>
<item name="android:fullDark">@android:color/transparent</item>
<item name="android:topBright">@android:color/transparent</item>
<item name="android:topDark">@android:color/transparent</item>
<item name="android:borderlessButtonStyle">@android:color/transparent</item>
</style>
</resources>