Commit 6afdceff by 刘鹏

Merge branch 'feat/lp/lp_confide_7' into 'd/v_confide_2.0'

feat: 一键登录、拨打页优化

See merge request app_android_lib/YDL-Component!95
parents b537cadc 57c52bca
......@@ -5,10 +5,10 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.96",
"m-confide" : "0.0.49.98",
"m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.25",
"m-user" : "0.0.62.26",
"m-home" : "0.0.23.74",
"m-im" : "0.0.21.48",
"m-dynamic" : "0.0.7.74",
......@@ -41,7 +41,7 @@ ext {
"ydl-webview" : "0.0.38.80",
"ydl-media" : "0.0.21.45",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.30.01",
"m-audioim" : "0.0.49.30.03",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......@@ -90,10 +90,10 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.96",
"m-confide" : "0.0.49.98",
"m-consultant" : "0.0.60.27",
"m-fm" : "0.0.30.09",
"m-user" : "0.0.62.25",
"m-user" : "0.0.62.26",
"m-home" : "0.0.23.74",
"m-im" : "0.0.21.48",
"m-dynamic" : "0.0.7.74",
......@@ -124,7 +124,7 @@ ext {
"ydl-webview" : "0.0.38.80",
"ydl-media" : "0.0.21.45",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.30.01",
"m-audioim" : "0.0.49.30.03",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......
......@@ -3,10 +3,7 @@
<corners android:radius="@dimen/platform_dp_14" />
<solid android:color="@color/transparent" />
<stroke
android:color="#ffffff"
android:width="0.5dp"
>
android:color="#ffffff">
</stroke>
</shape>
\ No newline at end of file
......@@ -5,26 +5,37 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/audiohome_background">
<TextView
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="13sp"
android:textColor="@color/white"
android:text="联系客服"
android:id="@+id/jump_kefu"
android:drawableLeft="@drawable/audioim_kefu"
android:layout_alignParentRight="true"
android:layout_marginTop="44dp"
android:layout_marginRight="@dimen/platform_dp_15"
android:drawablePadding="@dimen/platform_dp_3"
android:background="@drawable/audio_border_white_kefu"
android:paddingTop="@dimen/platform_dp_5"
android:paddingBottom="@dimen/platform_dp_5"
android:paddingStart="@dimen/platform_dp_8"
android:paddingEnd="@dimen/platform_dp_8"
>
android:background="@drawable/audioim_border_white_kefu"
android:gravity="center_vertical"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:src="@drawable/audioim_kefu" />
</TextView>
<TextView
android:id="@+id/jump_kefu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp"
android:layout_marginTop="5dp"
android:layout_marginRight="8dp"
android:layout_marginBottom="5dp"
android:text="联系客服"
android:textColor="@color/white"
android:textSize="13sp" />
</LinearLayout>
<RelativeLayout
......@@ -52,8 +63,8 @@
android:layout_height="120dp"
android:layout_centerInParent="true"
android:scaleType="centerCrop"
android:src="@drawable/audioim_head_place_hold_pic"
/>
android:src="@drawable/audioim_head_place_hold_pic" />
<TextView
android:id="@+id/tv_name"
android:layout_width="wrap_content"
......@@ -77,9 +88,9 @@
android:ellipsize="end"
android:gravity="center"
android:maxLines="2"
android:text="正在等待聆听者接受邀请…"
android:textColor="@color/platform_color_70FFFFFF"
android:textSize="12sp"
android:text="正在等待聆听者接受邀请…" />
android:textSize="12sp" />
</RelativeLayout>
<!-- 倾诉剩余时间-->
......@@ -90,6 +101,7 @@
android:layout_below="@+id/rl_head"
android:visibility="gone"
tools:visibility="visible">
<TextView
android:id="@+id/tv_notes"
android:layout_width="wrap_content"
......@@ -142,9 +154,7 @@
android:gravity="center"
android:maxLines="2"
android:textColor="@color/white"
android:textSize="15sp"
/>
android:textSize="15sp" />
<TextView
......@@ -171,23 +181,23 @@
android:textSize="12sp"
android:visibility="gone"
tools:visibility="gone" />
<LinearLayout
android:id="@+id/ll_changeRoute"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_above="@id/ll_three_icon"
android:gravity="center"
android:orientation="vertical"
android:id="@+id/ll_changeRoute"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/platform_dp_88"
>
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/iv_change_route"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/iv_change_route"
android:id="@+id/iv_change_route"
>
</ImageView>
android:src="@drawable/iv_change_route"></ImageView>
<TextView
android:id="@+id/tv_change_time_counter"
android:layout_width="wrap_content"
......@@ -211,11 +221,10 @@
<LinearLayout
android:id="@+id/rl_mute_on_off"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1"
android:gravity="center"
>
android:orientation="vertical">
<ImageView
android:id="@+id/iv_mute_on_off"
......@@ -239,14 +248,15 @@
<LinearLayout
android:id="@+id/rl_hang_up"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical"
android:layout_height="wrap_content">
android:orientation="vertical">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/iv_hang_up"
android:layout_width="66dp"
......@@ -255,6 +265,7 @@
android:layout_marginTop="1dp"
android:src="@drawable/audioim_img_hang_up_unuse"
android:visibility="visible" />
<com.ydl.ydlcommon.view.ProgressView
android:id="@+id/progress_view"
android:layout_width="70dp"
......@@ -262,6 +273,7 @@
app:pa_progressBackColor="#45E6AB"
app:pa_progressWidth="4dp" />
</FrameLayout>
<TextView
android:id="@+id/audio_hangup_text"
android:layout_width="wrap_content"
......@@ -277,11 +289,10 @@
<!-- 免提按钮-->
<LinearLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="1"
android:gravity="center"
>
android:orientation="vertical">
<ImageView
android:id="@+id/iv_hands_free"
......
......@@ -395,13 +395,13 @@ object OneKeyLoginHelp {
.setAppPrivacyTwo("隐私协议", "https://m.ydl.com/Protol/yinsi")
.setAppPrivacyColor(Color.parseColor("#bfbfbf"), Color.parseColor("#991da1f2"))
.setCheckboxHidden(checkBoxHidden) // 设置是否同意协议的checkbox隐藏
.setCheckBoxHeight(24)
.setCheckBoxHeight(22)
.setCheckBoxWidth(24)
.setCheckedImgPath("user_login_protocol_selected_new")
.setUncheckedImgPath("user_login_protocol_unselected_new")
.setCheckedImgPath("user_login_protocol_selected_dialog")
.setUncheckedImgPath("user_login_protocol_unselected_dialog")
.setPrivacyBefore(mPrivacyBeforeText)
.setPrivacyMargin(35)
.setProtocolGravity(Gravity.CENTER_VERTICAL)
.setProtocolGravity(Gravity.FILL_VERTICAL)
.setDialogHeight(dialogHeight)
.setDialogBottom(true)
.setScreenOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT) // 设置竖屏
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment