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
a1bb4ddf
Commit
a1bb4ddf
authored
Jul 08, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:UI修改
parent
73d2635b
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
10 deletions
+20
-10
MsgViewHolderLingxiWhichQuestion.java
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiWhichQuestion.java
+1
-1
im_lingxi_which_question_item.xml
m-im/src/main/res/layout/im_lingxi_which_question_item.xml
+4
-3
im_nim_lingxi_first_question.xml
m-im/src/main/res/layout/im_nim_lingxi_first_question.xml
+1
-1
im_nim_lingxi_multiple_choice.xml
m-im/src/main/res/layout/im_nim_lingxi_multiple_choice.xml
+7
-4
im_nim_message_item.xml
m-im/src/main/res_uikit/layout/im_nim_message_item.xml
+6
-1
im_nim_read_recipt_layout.xml
m-im/src/main/res_uikit/layout/im_nim_read_recipt_layout.xml
+1
-0
No files found.
m-im/src/main/java/com/yidianling/im/session/viewholder/MsgViewHolderLingxiWhichQuestion.java
View file @
a1bb4ddf
...
...
@@ -107,7 +107,7 @@ public class MsgViewHolderLingxiWhichQuestion extends MsgViewHolderBase implemen
}
for
(
int
i
=
0
;
i
<
questionList
.
size
();
i
++)
{
questionList
.
get
(
i
).
setSelected
(
false
);
if
(
questionList
.
get
(
i
).
getName
().
length
()
>
5
)
{
if
(
questionList
.
get
(
i
).
getName
().
length
()
>
6
)
{
isSingleChoice
=
true
;
}
}
...
...
m-im/src/main/res/layout/im_lingxi_which_question_item.xml
View file @
a1bb4ddf
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
android:layout_height=
"wrap_content"
android:text=
"婚姻家庭婚"
android:textColor=
"@color/platform_color_1DA1F2"
...
...
@@ -13,8 +13,8 @@
android:id=
"@+id/tv_which_question"
android:layout_marginBottom=
"@dimen/platform_dp_16"
android:layout_marginRight=
"@dimen/platform_dp_9"
android:paddingStart=
"@dimen/platform_dp_
25
"
android:paddingEnd=
"@dimen/platform_dp_
25
"
android:paddingStart=
"@dimen/platform_dp_
12
"
android:paddingEnd=
"@dimen/platform_dp_
12
"
>
</TextView>
\ No newline at end of file
m-im/src/main/res/layout/im_nim_lingxi_first_question.xml
View file @
a1bb4ddf
<?xml version="1.0" encoding="utf-8"?>
<ImageView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"
26
0dp"
android:layout_width=
"
30
0dp"
android:layout_height=
"260dp"
android:scaleType=
"fitXY"
android:id=
"@+id/first_question"
...
...
m-im/src/main/res/layout/im_nim_lingxi_multiple_choice.xml
View file @
a1bb4ddf
...
...
@@ -6,7 +6,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:background=
"@drawable/im_custom_message_round_white_6dp_bg"
android:paddingLeft=
"@dimen/platform_dp_12"
android:paddingRight=
"@dimen/platform_dp_
3
"
android:paddingRight=
"@dimen/platform_dp_
12
"
android:paddingTop=
"@dimen/platform_dp_12"
>
<TextView
...
...
@@ -18,19 +18,22 @@
app:layout_constraintLeft_toLeftOf=
"parent"
tools:text=
"请问是发生了什么事情导致的呢?(多选)?"
android:textSize=
"@dimen/im_text_size_17"
android:paddingBottom=
"@dimen/platform_dp_12"
android:includeFontPadding=
"false"
android:lineSpacingExtra=
"3dip"
android:textColor=
"@color/im_color_242424"
android:paddingBottom=
"@dimen/platform_dp_16"
>
</TextView>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/multiple_question_rv"
android:layout_width=
"0dp"
android:layout_marginTop=
"@dimen/dp_4"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
android:minWidth=
"263dp"
app:layout_constraintTop_toBottomOf=
"@id/multiple_choice_title"
app:layout_constraintStart_toStartOf=
"@id/multiple_choice_title"
app:layout_constraintEnd_toEndOf=
"parent"
tools:itemCount=
"6"
app:spanCount=
"2"
tools:listitem=
"@layout/im_lingxi_which_question_item"
...
...
@@ -52,7 +55,7 @@
android:paddingBottom=
"@dimen/platform_dp_8"
android:textColor=
"@color/white"
android:gravity=
"center"
android:layout_marginBottom=
"@dimen/platform_dp_
20
"
android:layout_marginBottom=
"@dimen/platform_dp_
16
"
app:layout_constraintBottom_toBottomOf=
"parent"
>
...
...
m-im/src/main/res_uikit/layout/im_nim_message_item.xml
View file @
a1bb4ddf
...
...
@@ -148,7 +148,12 @@
tools:visibility=
"visible"
/>
<include
layout=
"@layout/im_nim_read_recipt_layout"
/>
<include
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom"
android:layout_marginRight=
"@dimen/dp_4"
layout=
"@layout/im_nim_read_recipt_layout"
/>
<TextView
android:id=
"@+id/team_ack_msg"
...
...
m-im/src/main/res_uikit/layout/im_nim_read_recipt_layout.xml
View file @
a1bb4ddf
...
...
@@ -7,6 +7,7 @@
android:layout_gravity=
"bottom"
android:layout_marginLeft=
"2dp"
android:layout_marginRight=
"2dp"
android:includeFontPadding=
"false"
android:layout_marginBottom=
"3dip"
android:background=
"@color/im_transparent"
android:text=
"@string/im_readed"
...
...
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