ui 微调
This commit is contained in:
		
							parent
							
								
									7358fbd8e2
								
							
						
					
					
						commit
						667161f05f
					
				|  | @ -41,7 +41,7 @@ class ExpandBubbleSubView @JvmOverloads constructor( | |||
|     private fun initRv(itemsRv: RecyclerView) { | ||||
|         itemsRv.grid(3) | ||||
|             .divider { | ||||
|                 setDivider(16, true) | ||||
|                 setDivider(10, true) | ||||
|                 orientation = DividerOrientation.VERTICAL | ||||
|             }.setup { | ||||
|                 addType<ChatBubble>(R.layout.layout_item_setting_bubble) | ||||
|  |  | |||
|  | @ -226,12 +226,14 @@ | |||
|                 android:id="@+id/chat_model_selector" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginTop="@dimen/dp_5" | ||||
|                 /> | ||||
| 
 | ||||
|             <com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandBubbleSelectView | ||||
|                 android:id="@+id/bubble_select_view" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginTop="@dimen/dp_5" | ||||
|                 /> | ||||
| 
 | ||||
|         </com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout> | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ | |||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="0dp" | ||||
|         app:backgroundColorToken="@string/color_surface_element_normal" | ||||
|         app:layout_constraintDimensionRatio="h,164:120" | ||||
|         app:layout_constraintDimensionRatio="h,87:100" | ||||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         app:radiusToken="@string/radius_l" | ||||
|         app:strokeColorToken="@string/color_txt_tertiary_normal" | ||||
|  | @ -30,8 +30,18 @@ | |||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintTop_toBottomOf="@+id/selectBg" | ||||
|         app:textColorToken="@string/color_txt_primary_normal" | ||||
|         app:textToken="@string/txt_label_m" /> | ||||
|         android:textColor="@color/chat_setting_ai_model_recommend_color" /> | ||||
| 
 | ||||
|     <com.remax.visualnovel.widget.uitoken.view.UITokenImageView | ||||
|         android:id="@+id/iv_bubble" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@mipmap/chat_left_bg" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintBottom_toBottomOf="parent" | ||||
|         /> | ||||
| 
 | ||||
| 
 | ||||
|     <com.remax.visualnovel.widget.uitoken.view.UITokenTextView | ||||
|  | @ -71,16 +81,7 @@ | |||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         /> | ||||
| 
 | ||||
|     <com.remax.visualnovel.widget.uitoken.view.UITokenImageView | ||||
|         android:id="@+id/iv_bubble" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:src="@mipmap/chat_left_bg" | ||||
|         app:layout_constraintEnd_toEndOf="parent" | ||||
|         app:layout_constraintTop_toTopOf="parent" | ||||
|         app:layout_constraintStart_toStartOf="parent" | ||||
|         app:layout_constraintBottom_toBottomOf="parent" | ||||
|         /> | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| </androidx.constraintlayout.widget.ConstraintLayout> | ||||
		Loading…
	
		Reference in New Issue