Commit a1bb4ddf by 霍志良

feat:UI修改

parent 73d2635b
......@@ -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;
}
}
......
<?xml version="1.0" encoding="utf-8"?>
<TextView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_width="match_parent"
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
<?xml version="1.0" encoding="utf-8"?>
<ImageView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="260dp"
android:layout_width="300dp"
android:layout_height="260dp"
android:scaleType="fitXY"
android:id="@+id/first_question"
......
......@@ -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"
>
......
......@@ -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"
......
......@@ -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"
......
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