优化ai对话页面
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="52dp"
|
||||
android:layout_height="60dp"
|
||||
android:background="?attr/mainBackground"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
>
|
||||
<com.scwang.smartrefresh.layout.header.ClassicsHeader
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"></com.scwang.smartrefresh.layout.header.ClassicsHeader>
|
||||
android:layout_height="wrap_content"/>
|
||||
<!--内容-->
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
@@ -33,7 +34,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@mipmap/image_health_top"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
/>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
@@ -45,64 +46,83 @@
|
||||
android:paddingHorizontal="20dp"
|
||||
>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
<com.ck.ckcollar.app.widget.CKFrameLayout
|
||||
android:id="@+id/contentCustomer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
>
|
||||
android:layout_height="96dp"
|
||||
android:layout_marginTop="8dp">
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="75dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:background="@drawable/bg_health_item1" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:id="@+id/contentCustomer"
|
||||
android:id="@+id/customerTextContent"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="70dp"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_height="75dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:gravity="center_vertical"
|
||||
android:background="@drawable/bg_health_item1"
|
||||
android:paddingLeft="18dp"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
android:paddingRight="96dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textDate"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/pet_advisor"
|
||||
android:textStyle="bold"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
android:text="@string/pet_advisor2"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:id="@+id/textDate2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="13sp"
|
||||
android:layout_marginStart="3dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:text="@string/pet_advisor_time_default"
|
||||
android:textColor="@color/textColor"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
android:textSize="12sp"
|
||||
app:autoSizeMaxTextSize="12sp"
|
||||
app:autoSizeMinTextSize="9sp"
|
||||
app:autoSizeStepGranularity="1sp"
|
||||
app:autoSizeTextType="uniform" />
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:includeFontPadding="false"
|
||||
android:maxLines="1"
|
||||
android:textSize="12sp"
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/pet_advisor_desc"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
android:text="@string/pet_advisor_desc" />
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/image_health_kf"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginRight="25dp"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
android:id="@+id/imageCustomerService"
|
||||
android:layout_width="75dp"
|
||||
android:layout_height="75dp"
|
||||
android:layout_gravity="top|end"
|
||||
android:layout_marginEnd="15dp"
|
||||
android:scaleType="fitCenter"
|
||||
android:src="@mipmap/image_health_kf"/>
|
||||
</com.ck.ckcollar.app.widget.CKFrameLayout>
|
||||
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
@@ -134,7 +154,7 @@
|
||||
android:text="@string/ai_text_diagnosis"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textStyle="bold"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
/>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -142,7 +162,7 @@
|
||||
android:textSize="14sp"
|
||||
android:text="@string/ai_text_diagnosis_tag"
|
||||
android:layout_marginTop="15dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
<com.ck.ckcollar.app.widget.CKImageView
|
||||
@@ -151,11 +171,11 @@
|
||||
android:src="@mipmap/image_health_wz"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
<View
|
||||
android:layout_width="10dp"
|
||||
android:layout_height="0dp"></View>
|
||||
android:layout_height="0dp"/>
|
||||
<com.ck.ckcollar.app.widget.CKRelativeLayout
|
||||
android:id="@+id/btnAIPhoto"
|
||||
android:layout_width="match_parent"
|
||||
@@ -171,7 +191,7 @@
|
||||
android:src="@mipmap/image_health_tp"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
></com.ck.ckcollar.app.widget.CKImageView>
|
||||
/>
|
||||
<com.ck.ckcollar.app.widget.CKLinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -185,7 +205,7 @@
|
||||
android:text="@string/ai_photo_diagnosis"
|
||||
android:layout_marginTop="15dp"
|
||||
android:textStyle="bold"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
/>
|
||||
<com.ck.ckcollar.app.widget.CKTextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -193,7 +213,7 @@
|
||||
android:textSize="14sp"
|
||||
android:text="@string/ai_photo_diagnosis_tag"
|
||||
android:layout_marginTop="15dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKRelativeLayout>
|
||||
@@ -207,7 +227,7 @@
|
||||
android:textColor="@color/textColor"
|
||||
android:text="@string/pet_knowledge_popularization"
|
||||
android:layout_marginTop="30dp"
|
||||
></com.ck.ckcollar.app.widget.CKTextView>
|
||||
/>
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
@@ -215,7 +235,7 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="10dp"
|
||||
></androidx.recyclerview.widget.RecyclerView>
|
||||
/>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
@@ -225,4 +245,4 @@
|
||||
</com.scwang.smartrefresh.layout.SmartRefreshLayout>
|
||||
|
||||
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
</com.ck.ckcollar.app.widget.CKLinearLayout>
|
||||
|
||||
@@ -122,6 +122,8 @@
|
||||
<!-- 宠物顾问模块 -->
|
||||
<string name="pet_advisor">宠物顾问(早 9:00-晚 21:00)</string>
|
||||
<string name="pet_advisor2">宠物顾问</string>
|
||||
<string name="pet_advisor_time_default">08:00-12:00/14:00-21:00</string>
|
||||
<string name="pet_advisor_time_format">%1$s/%2$s</string>
|
||||
<string name="pet_advisor_desc">1分钟快速响应,贴心守护爱宠健康</string>
|
||||
<string name="ai_text_diagnosis">AI文字问诊</string>
|
||||
<string name="ai_text_diagnosis_tag">通用</string>
|
||||
|
||||
Reference in New Issue
Block a user