Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
302fa15a
Commit
302fa15a
authored
Jan 08, 2020
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
私聊改造UI校对backup
parent
5c0a18c1
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
167 additions
and
125 deletions
+167
-125
config.gradle
config.gradle
+2
-2
YDLMessageFragment.java
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
+16
-1
ImCommentBannerView.kt
m-im/src/main/java/com/yidianling/uikit/business/session/view/ImCommentBannerView.kt
+1
-1
ExpertConsultServiceDetailView.kt
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceDetailView.kt
+2
-2
ExpertConsultServiceItemView.kt
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceItemView.kt
+2
-2
ExpertConsultServiceTypeItemView.kt
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceTypeItemView.kt
+5
-0
im_expert_consult_service_detail_view.xml
m-im/src/main/res/layout/im_expert_consult_service_detail_view.xml
+15
-14
im_expert_consult_service_item_view.xml
m-im/src/main/res/layout/im_expert_consult_service_item_view.xml
+6
-2
im_expert_consult_service_type_item_view.xml
m-im/src/main/res/layout/im_expert_consult_service_type_item_view.xml
+2
-1
im_expert_consult_service_view.xml
m-im/src/main/res/layout/im_expert_consult_service_view.xml
+1
-0
im_unfocus_btn_bg.xml
m-im/src/main/res_uikit/drawable/im_unfocus_btn_bg.xml
+2
-1
im_expert_info_dialog_layout.xml
m-im/src/main/res_uikit/layout/im_expert_info_dialog_layout.xml
+2
-3
im_ydl_nim_message_fragment.xml
m-im/src/main/res_uikit/layout/im_ydl_nim_message_fragment.xml
+111
-96
No files found.
config.gradle
View file @
302fa15a
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
@@ -47,7 +47,7 @@ ext {
"m-fm"
:
"0.0.24"
,
"m-user"
:
"0.0.42"
,
"m-home"
:
"0.0.8.2"
,
"m-im"
:
"0.0.4.6
3
"
,
"m-im"
:
"0.0.4.6
4
"
,
"m-dynamic"
:
"0.0.2"
,
"m-muse"
:
"0.0.21"
,
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/fragment/YDLMessageFragment.java
View file @
302fa15a
...
...
@@ -452,6 +452,21 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
String
headUrl
=
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorBriefInfoSmallImage
;
if
(!
TextUtils
.
isEmpty
(
headUrl
))
{
GlideApp
.
with
(
getActivity
()).
load
(
headUrl
).
into
(
small_head_img
);
small_head_img
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
v
)
{
if
(
ActionHandlerStorage
.
getL
(
sessionId
)
!=
null
)
{
//
int
userType
=
ActionHandlerStorage
.
getL
(
sessionId
).
getUserType
();
//1普通用户2专家3助理
if
(
userType
==
1
||
userType
==
3
)
{
//跳转用户主页
ActionHandlerStorage
.
getL
(
sessionId
).
showUserHome
();
}
else
if
(
userType
==
2
)
{
//跳转专家主页
ActionHandlerStorage
.
getL
(
sessionId
).
showZhuanjPage
();
}
}
}
});
}
// 帮助人数
help_num
=
String
.
valueOf
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
doctorBriefInfoOrderNum
);
...
...
@@ -502,7 +517,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
}
int
commentCounter
=
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
commentCounter
;
tv_all_comment_desc
.
setText
(
"评论("
+
String
.
valueOf
(
commentCounter
)
+
")"
);
tv_all_comment_desc
.
setText
(
String
.
valueOf
(
commentCounter
)
);
H5Params
params
=
new
H5Params
(
ActionHandlerStorage
.
getL
(
sessionId
).
getInfo
().
commentCounterUrl
,
""
);
...
...
m-im/src/main/java/com/yidianling/uikit/business/session/view/ImCommentBannerView.kt
View file @
302fa15a
...
...
@@ -46,7 +46,7 @@ class ImCommentBannerView : LinearLayout {
private
val
STATUS_OUT
=
1
private
var
curTipIndex
=
0
private
var
lastTimeMillis
:
Long
=
0
private
val
ANIM_DELAYED_MILLIONS
=
2
*
1000
private
val
ANIM_DELAYED_MILLIONS
=
3
*
1000
/**
* 动画持续时长
*/
...
...
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceDetailView.kt
View file @
302fa15a
...
...
@@ -62,7 +62,7 @@ class ExpertConsultServiceDetailView : RelativeLayout {
}
}
if
(
bean
.
productSpecDtos
!=
null
&&
bean
.
productSpecDtos
.
size
>
0
)
{
val
mBean
:
ServiceItemBean
.
ProductsBean
.
ProductSpecDtosBean
=
bean
.
productSpecDtos
.
sortedWith
(
mCompare
)
[
0
]
val
mBean
:
ServiceItemBean
.
ProductsBean
.
ProductSpecDtosBean
=
bean
.
productSpecDtos
.
sortedWith
(
mCompare
)
.
last
()
//价格,取productSpecDtos数组最后一个价格,不保留小数
consult_service_service_price
.
text
=
String
.
format
(
"%.0f"
,
...
...
@@ -86,7 +86,7 @@ class ExpertConsultServiceDetailView : RelativeLayout {
//起售次数展示
consult_service_low_buy_time
.
visibility
=
View
.
VISIBLE
consult_service_low_buy_time
.
text
=
"
(${bean.productDto.packageNum}次起售)
"
consult_service_low_buy_time
.
text
=
"
(${bean.productDto.packageNum}次起售)
"
}
else
{
consult_service_is_package
.
text
=
"单次"
consult_service_times
.
text
=
"1次"
...
...
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceItemView.kt
View file @
302fa15a
...
...
@@ -56,7 +56,7 @@ class ExpertConsultServiceItemView : LinearLayout {
service_item_title
.
text
=
" ${bean.productDto.name}"
//起售次数展示
service_item_low_buy_time
.
visibility
=
View
.
VISIBLE
service_item_low_buy_time
.
text
=
"
(${bean.productDto.packageNum}次起售)
"
service_item_low_buy_time
.
text
=
"
(${bean.productDto.packageNum}次起售)
"
}
else
{
//隐藏套餐布局
service_item_package
.
visibility
=
View
.
GONE
...
...
@@ -74,7 +74,7 @@ class ExpertConsultServiceItemView : LinearLayout {
}
}
if
(
bean
.
productSpecDtos
!=
null
&&
bean
.
productSpecDtos
.
size
>
0
)
{
val
mBean
:
ServiceItemBean
.
ProductsBean
.
ProductSpecDtosBean
=
bean
.
productSpecDtos
.
sortedWith
(
mCompare
)
[
0
]
val
mBean
:
ServiceItemBean
.
ProductsBean
.
ProductSpecDtosBean
=
bean
.
productSpecDtos
.
sortedWith
(
mCompare
)
.
last
()
//价格,取productSpecDtos数组最小价格,不保留小数
service_item_price
.
text
=
String
.
format
(
"%.0f"
,
...
...
m-im/src/main/java/com/yidianling/uikit/custom/widget/expertConsultService/view/ExpertConsultServiceTypeItemView.kt
View file @
302fa15a
...
...
@@ -2,6 +2,7 @@ package com.yidianling.uikit.custom.widget.expertConsultService.view
import
android.content.Context
import
android.graphics.Color
import
android.graphics.Typeface
import
android.util.AttributeSet
import
android.view.View
import
android.widget.LinearLayout
...
...
@@ -56,9 +57,11 @@ class ExpertConsultServiceTypeItemView : LinearLayout {
if
(
isSelected
)
{
im_expert_info_dialog_type_item_text
.
setTextColor
((
Color
.
parseColor
(
"#1DA1F2"
)))
im_expert_info_dialog_type_item_text
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
BOLD
)
im_expert_info_dialog_type_item_text
.
setBackgroundResource
(
R
.
drawable
.
im_expert_info_dialog_type_item_selected_bg
)
}
else
{
im_expert_info_dialog_type_item_text
.
setTextColor
((
Color
.
parseColor
(
"#999999"
)))
im_expert_info_dialog_type_item_text
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
NORMAL
)
im_expert_info_dialog_type_item_text
.
setBackgroundResource
(
R
.
drawable
.
im_expert_info_dialog_type_item_unselected_bg
)
}
}
...
...
@@ -69,9 +72,11 @@ class ExpertConsultServiceTypeItemView : LinearLayout {
fun
updateStatus
(
isSelected
:
Boolean
)
{
if
(
isSelected
)
{
im_expert_info_dialog_type_item_text
.
setTextColor
((
Color
.
parseColor
(
"#1DA1F2"
)))
im_expert_info_dialog_type_item_text
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
BOLD
)
im_expert_info_dialog_type_item_text
.
setBackgroundResource
(
R
.
drawable
.
im_expert_info_dialog_type_item_selected_bg
)
}
else
{
im_expert_info_dialog_type_item_text
.
setTextColor
((
Color
.
parseColor
(
"#999999"
)))
im_expert_info_dialog_type_item_text
.
typeface
=
Typeface
.
defaultFromStyle
(
Typeface
.
NORMAL
)
im_expert_info_dialog_type_item_text
.
setBackgroundResource
(
R
.
drawable
.
im_expert_info_dialog_type_item_unselected_bg
)
}
}
...
...
m-im/src/main/res/layout/im_expert_consult_service_detail_view.xml
View file @
302fa15a
...
...
@@ -5,14 +5,6 @@
android:layout_height=
"match_parent"
tools:parentTag=
"android.widget.RelativeLayout"
>
<LinearLayout
android:id=
"@+id/consult_service_title_ll"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:orientation=
"horizontal"
android:paddingRight=
"15dp"
>
<ImageView
android:id=
"@+id/im_expert_service_list_left_back_btn"
android:layout_width=
"36dp"
...
...
@@ -24,11 +16,20 @@
android:scaleType=
"centerCrop"
android:src=
"@drawable/im_expert_service_list_left_back"
/>
<LinearLayout
android:id=
"@+id/consult_service_title_ll"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"15dp"
android:layout_marginLeft=
"36dp"
android:orientation=
"horizontal"
android:paddingRight=
"15dp"
>
<TextView
android:id=
"@+id/consult_service_title"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:text=
"调节孕期情绪烦躁,建立积极心态面
对新生活
"
android:text=
"调节孕期情绪烦躁,建立积极心态面"
android:textColor=
"#1A1A1A"
android:textSize=
"20dp"
android:textStyle=
"bold"
/>
...
...
@@ -51,8 +52,6 @@
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
>
<TextView
android:id=
"@+id/consult_service_desc_title"
android:layout_width=
"match_parent"
...
...
@@ -325,7 +324,9 @@
android:layout_height=
"match_parent"
android:text=
"¥"
android:textColor=
"#FF5040"
android:textSize=
"10dp"
/>
android:textSize=
"12dp"
android:textStyle=
"bold"
android:layout_marginTop=
"4dp"
/>
<TextView
android:id=
"@+id/consult_service_service_price"
...
...
@@ -333,7 +334,7 @@
android:layout_height=
"wrap_content"
android:text=
"320"
android:textColor=
"#FF5040"
android:textSize=
"
16
dp"
android:textSize=
"
20
dp"
android:textStyle=
"bold"
/>
<TextView
...
...
@@ -361,7 +362,7 @@
android:gravity=
"center"
android:text=
"立即预约"
android:textColor=
"#ffffff"
android:textSize=
"1
4
dp"
android:textSize=
"1
6
dp"
android:textStyle=
"bold"
/>
</LinearLayout>
...
...
m-im/src/main/res/layout/im_expert_consult_service_item_view.xml
View file @
302fa15a
...
...
@@ -58,7 +58,9 @@
android:layout_height=
"match_parent"
android:text=
"¥"
android:textColor=
"#FF5040"
android:textSize=
"10dp"
/>
android:textSize=
"9dp"
android:textStyle=
"bold"
android:layout_marginTop=
"4dp"
/>
<TextView
android:id=
"@+id/service_item_price"
...
...
@@ -67,7 +69,8 @@
android:text=
"320"
android:textColor=
"#FF5040"
android:textSize=
"16dp"
android:textStyle=
"bold"
/>
android:textStyle=
"bold"
android:layout_marginBottom=
"1dp"
/>
</LinearLayout>
<TextView
...
...
@@ -99,6 +102,7 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"99.9%"
android:layout_marginLeft=
"1dp"
android:textColor=
"#1A1A1A"
android:textSize=
"12dp"
/>
...
...
m-im/src/main/res/layout/im_expert_consult_service_type_item_view.xml
View file @
302fa15a
...
...
@@ -15,7 +15,7 @@
android:gravity=
"center"
tools:text=
"婚姻家庭"
android:textColor=
"#999999"
android:text=
"12dp"
android:text
Size
=
"12dp"
android:background=
"@drawable/im_expert_info_dialog_type_item_unselected_bg"
/>
</LinearLayout>
\ No newline at end of file
m-im/src/main/res/layout/im_expert_consult_service_view.xml
View file @
302fa15a
...
...
@@ -29,6 +29,7 @@
android:id=
"@+id/expert_consult_service_top_scroll"
android:layout_width=
"match_parent"
android:layout_height=
"44dp"
android:layout_marginTop=
"6dp"
android:paddingLeft=
"15dp"
android:clipToPadding=
"false"
android:scrollbars=
"none"
>
...
...
m-im/src/main/res_uikit/drawable/im_unfocus_btn_bg.xml
View file @
302fa15a
...
...
@@ -6,7 +6,7 @@
<corners
android:radius=
"10dp"
/>
<stroke
android:width=
"
1
dp"
<stroke
android:width=
"
0.5
dp"
android:color=
"#CCCCCC"
/>
</shape>
\ No newline at end of file
m-im/src/main/res_uikit/layout/im_expert_info_dialog_layout.xml
View file @
302fa15a
...
...
@@ -27,7 +27,7 @@
android:layout_height=
"95dp"
android:layout_centerHorizontal=
"true"
android:scaleType=
"fitXY"
android:layout_marginTop=
"2
5
dp"
android:layout_marginTop=
"2
0
dp"
android:src=
"@drawable/im_expert_info_dialog_top_bg"
/>
</LinearLayout>
...
...
@@ -46,8 +46,7 @@
android:layout_marginRight=
"@dimen/platform_dp_20"
android:text=
"数据更新于昨日24点,壹点灵通过严谨数据统计机制,对咨询师的数据进行持续的监督管理,确保提供真实有效的数据参考。"
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/im_text_size_16"
android:textStyle=
"bold"
/>
android:textSize=
"15dp"
/>
<LinearLayout
android:layout_width=
"match_parent"
...
...
m-im/src/main/res_uikit/layout/im_ydl_nim_message_fragment.xml
View file @
302fa15a
...
...
@@ -49,11 +49,11 @@
android:id=
"@+id/small_head_img"
android:layout_width=
"@dimen/platform_dp_36"
android:layout_height=
"@dimen/platform_dp_36"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"10dp"
android:background=
"@drawable/platform_head_place_hold_pic"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
android:layout_marginTop=
"8dp"
android:layout_marginBottom=
"10dp"
></com.ydl.ydlcommon.view.CircleImageView>
app:layout_constraintTop_toTopOf=
"parent"
></com.ydl.ydlcommon.view.CircleImageView>
<View
android:layout_width=
"match_parent"
...
...
@@ -62,44 +62,38 @@
android:layout_marginRight=
"10dp"
android:background=
"#F0F0F0"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintRight_toRightOf=
"parent"
/>
app:layout_constraintRight_toRightOf=
"parent"
/>
<View
android:layout_width=
"0.5dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"46dp"
android:background=
"#F0F0F0"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintLeft_toLeftOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<RelativeLayout
android:id=
"@+id/rl_help"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"37dp"
a
pp:layout_constraintLeft_toRightOf=
"@+id/small_head_img
"
android:padding
Top=
"8
dp"
a
ndroid:paddingBottom=
"10dp
"
>
a
ndroid:paddingTop=
"13dp
"
android:padding
Bottom=
"10
dp"
a
pp:layout_constraintLeft_toRightOf=
"@+id/small_head_img
"
>
<TextView
android:id=
"@+id/help_num_tv"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:fontFamily=
"@font/platform_dincond_bold"
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/platform_dp_1
5
"
android:textSize=
"@dimen/platform_dp_1
6
"
tools:text=
"2648"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:gravity=
"center"
android:layout_alignParentBottom=
"true"
>
<TextView
android:id=
"@+id/help_num_tv_desc"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
...
...
@@ -111,11 +105,12 @@
<ImageView
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_centerHorizontal=
"true"
android:src=
"@drawable/im_more_info_icon"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"12dp"
android:layout_marginBottom=
"1.5dp"
android:layout_toRightOf=
"@+id/help_num_tv_desc"
android:scaleType=
"fitXY"
android:layout_marginLeft=
"2dp"
/>
</LinearLayout>
android:src=
"@drawable/im_more_info_icon"
/>
</RelativeLayout>
...
...
@@ -125,101 +120,91 @@
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_marginRight=
"30dp"
a
pp:layout_constraintRight_toRightOf=
"parent
"
android:padding
Top=
"8
dp"
a
ndroid:paddingBottom=
"10dp
"
>
a
ndroid:paddingTop=
"13dp
"
android:padding
Bottom=
"10
dp"
a
pp:layout_constraintRight_toRightOf=
"parent
"
>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/good_num_tv"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:fontFamily=
"@font/platform_dincond_bold"
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/platform_dp_1
5
"
android:textSize=
"@dimen/platform_dp_1
6
"
tools:text=
"4.7"
/>
<TextView
android:id=
"@+id/good_num_tv_unit"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:fontFamily=
"@font/platform_dincond_bold"
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/platform_dp_10"
android:text=
"分"
android:layout_gravity=
"bottom"
/>
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/platform_dp_10"
/>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:gravity=
"center"
android:layout_alignParentBottom=
"true"
>
<com.yidianling.uikit.business.session.view.ImRedStarGradeView
android:id=
"@+id/good_num_icons"
android:layout_width=
"wrap_content"
android:layout_height=
"11dp"
/>
android:layout_height=
"11dp"
android:layout_marginBottom=
"1.5dp"
android:layout_alignParentBottom=
"true"
/>
<ImageView
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_centerHorizontal=
"true"
android:src=
"@drawable/im_more_info_icon"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"2dp"
android:layout_marginBottom=
"1.5dp"
android:layout_toRightOf=
"@+id/good_num_icons"
android:scaleType=
"fitXY"
android:layout_marginLeft=
"2dp"
/>
</LinearLayout>
android:src=
"@drawable/im_more_info_icon"
/>
</RelativeLayout>
<RelativeLayout
android:id=
"@+id/rl_server"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:paddingTop=
"13dp"
android:paddingBottom=
"10dp"
app:layout_constraintLeft_toRightOf=
"@+id/rl_help"
app:layout_constraintRight_toLeftOf=
"@+id/rl_good"
android:paddingTop=
"8dp"
android:paddingBottom=
"10dp"
>
app:layout_constraintRight_toLeftOf=
"@+id/rl_good"
>
<TextView
android:id=
"@+id/server_num_tv"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerHorizontal=
"true"
android:fontFamily=
"@font/platform_dincond_bold"
android:textColor=
"@color/im_color_242424"
android:textSize=
"@dimen/platform_dp_1
5
"
android:textSize=
"@dimen/platform_dp_1
6
"
tools:text=
"1634"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:gravity=
"center"
android:layout_alignParentBottom=
"true"
>
<TextView
android:id=
"@+id/server_num_tv_desc"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentBottom=
"true"
android:layout_centerHorizontal=
"true"
android:text=
"服务时长 (小时)"
android:textColor=
"@color/platform_color_999999"
android:textSize=
"@dimen/platform_dp_10"
/>
<ImageView
android:layout_width=
"10dp"
android:layout_height=
"10dp"
android:layout_centerHorizontal=
"true"
android:src=
"@drawable/im_more_info_icon"
android:layout_alignParentBottom=
"true"
android:layout_marginLeft=
"12dp"
android:layout_marginBottom=
"1.5dp"
android:layout_toRightOf=
"@+id/server_num_tv_desc"
android:scaleType=
"fitXY"
android:layout_marginLeft=
"2dp"
/>
</LinearLayout>
android:src=
"@drawable/im_more_info_icon"
/>
</RelativeLayout>
</android.support.constraint.ConstraintLayout>
...
...
@@ -240,16 +225,17 @@
android:id=
"@+id/im_focus_btn"
android:layout_width=
"46dp"
android:layout_height=
"20dp"
android:background=
"@drawable/im_focus_btn_bg"
android:gravity=
"center"
android:textColor=
"#1DA1F2"
android:textSize=
"12dp"
android:background=
"@drawable/im_focus_btn_bg"
tools:text=
"关注"
/>
<View
android:layout_width=
"0.5dp"
android:layout_height=
"match_parent"
android:layout_marginLeft=
"5dp"
android:background=
"#F0F0F0"
/>
android:background=
"#F0F0F0"
/>
<com.yidianling.uikit.business.session.view.ImCommentBannerView
android:id=
"@+id/comment_banner_view"
...
...
@@ -258,21 +244,50 @@
android:layout_weight=
"1"
></com.yidianling.uikit.business.session.view.ImCommentBannerView>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:lines=
"1"
android:textColor=
"#1DA1F2"
android:textSize=
"12dp"
android:text=
"评价"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:lines=
"1"
android:textColor=
"#1DA1F2"
android:textSize=
"12dp"
android:layout_marginBottom=
"1dp"
android:text=
"("
/>
<TextView
android:id=
"@+id/tv_all_comment_desc"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:lines=
"1"
android:textColor=
"#1DA1F2"
android:textSize=
"12dp"
tools:text=
"18714"
/>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:lines=
"1"
android:textColor=
"#1DA1F2"
android:textSize=
"12dp"
tools:text=
"评价(18714)"
/>
android:layout_marginBottom=
"1dp"
android:text=
")"
/>
<ImageView
android:id=
"@+id/tv_all_comment_go"
android:layout_width=
"4dp"
android:layout_height=
"37dp"
android:layout_marginLeft=
"8dp"
android:layout_width=
"6dp"
android:layout_height=
"39dp"
android:layout_gravity=
"center"
android:layout_marginLeft=
"8dp"
android:paddingTop=
"14.5dp"
android:paddingBottom=
"14.5dp"
android:scaleType=
"fitXY"
...
...
@@ -293,8 +308,8 @@
android:id=
"@+id/ll_actions_yi"
android:layout_width=
"match_parent"
android:layout_height=
"53dp"
android:orientation=
"horizontal"
android:layout_marginTop=
"10dp"
android:orientation=
"horizontal"
android:visibility=
"gone"
>
<LinearLayout
...
...
@@ -415,39 +430,39 @@
android:layout_below=
"@+id/rl_contain"
android:layout_alignParentRight=
"true"
android:layout_gravity=
"right"
android:layout_marginTop=
"1
0
dp"
android:layout_marginTop=
"1
4
dp"
android:visibility=
"visible"
>
<!-- <RelativeLayout-->
<!-- android:id="@+id/rela_qingsu"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="36dp"-->
<!-- android:background="@drawable/im_bg_im_confide_action"-->
<!-- android:gravity="center"-->
<!-- android:paddingLeft="14dp"-->
<!-- android:paddingRight="17dp">-->
<!-- <ImageView-->
<!-- android:id="@+id/action_qingshu_img"-->
<!-- android:layout_width="12dp"-->
<!-- android:layout_height="12dp"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:src="@mipmap/im_chat_ico_call" />-->
<!-- <TextView-->
<!-- android:id="@+id/action_qingshu"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_toRightOf="@+id/action_qingshu_img"-->
<!-- android:gravity="center"-->
<!-- android:paddingLeft="5dp"-->
<!-- android:text="即时倾诉"-->
<!-- android:textColor="@color/platform_google_blue"-->
<!-- android:textSize="12dp"-->
<!-- android:textStyle="bold" />-->
<!-- </RelativeLayout>-->
<!-- <RelativeLayout-->
<!-- android:id="@+id/rela_qingsu"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="36dp"-->
<!-- android:background="@drawable/im_bg_im_confide_action"-->
<!-- android:gravity="center"-->
<!-- android:paddingLeft="14dp"-->
<!-- android:paddingRight="17dp">-->
<!-- <ImageView-->
<!-- android:id="@+id/action_qingshu_img"-->
<!-- android:layout_width="12dp"-->
<!-- android:layout_height="12dp"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:src="@mipmap/im_chat_ico_call" />-->
<!-- <TextView-->
<!-- android:id="@+id/action_qingshu"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="match_parent"-->
<!-- android:layout_toRightOf="@+id/action_qingshu_img"-->
<!-- android:gravity="center"-->
<!-- android:paddingLeft="5dp"-->
<!-- android:text="即时倾诉"-->
<!-- android:textColor="@color/platform_google_blue"-->
<!-- android:textSize="12dp"-->
<!-- android:textStyle="bold" />-->
<!-- </RelativeLayout>-->
<RelativeLayout
android:id=
"@+id/rela_zixun"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment