设置页面 start new chat
This commit is contained in:
parent
4ffe56ffc6
commit
64e5dfd17e
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:shape="rectangle"
|
||||||
|
>
|
||||||
|
<size
|
||||||
|
android:width="285dp"
|
||||||
|
android:height="50dp"
|
||||||
|
/>
|
||||||
|
<corners android:radius="25dp" />
|
||||||
|
<gradient android:type="linear"
|
||||||
|
android:angle="0"
|
||||||
|
android:startColor="#ffa653ff"
|
||||||
|
android:endColor="#ff009dff"
|
||||||
|
/>
|
||||||
|
</shape>
|
||||||
|
|
@ -1,329 +1,354 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.core.widget.NestedScrollView
|
<com.remax.visualnovel.widget.uitoken.view.UITokenRelativeLayout
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:background="@color/white"
|
android:background="@color/white"
|
||||||
>
|
>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:id="@+id/tvTitle"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:textSize="@dimen/sp_18"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/black"
|
||||||
|
android:text="@string/setting"
|
||||||
|
android:layout_marginStart="@dimen/dp_20"
|
||||||
|
android:layout_marginTop="@dimen/dp_30"
|
||||||
|
android:layout_marginBottom="@dimen/dp_20"
|
||||||
|
/>
|
||||||
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
<com.remax.visualnovel.widget.uitoken.view.UITokenFrameLayout
|
||||||
|
android:id="@+id/tv_start_new_chat"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:background="@drawable/setting_new_chat_bg"
|
||||||
android:padding="@dimen/dp_20"
|
android:layout_margin="@dimen/dp_20"
|
||||||
|
android:padding="@dimen/dp_13"
|
||||||
|
android:layout_alignParentBottom="true"
|
||||||
>
|
>
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
android:id="@+id/tvTitle"
|
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textSize="@dimen/sp_18"
|
|
||||||
android:textStyle="bold"
|
|
||||||
android:textColor="@color/black"
|
|
||||||
android:text="@string/setting"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="@dimen/dp_45"
|
|
||||||
android:padding="@dimen/dp_45"
|
|
||||||
android:text="Test....Test"
|
|
||||||
app:advBgColor="@color/glo_color_blue_80"
|
|
||||||
app:advRadius="@dimen/dp_30"
|
|
||||||
app:advStrokeColor="@color/black"
|
|
||||||
app:advStrokeWidth="@dimen/dp_5"
|
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:layout_gravity="center"
|
||||||
|
app:drawableLeftCompat="@mipmap/setting_new_chat"
|
||||||
|
android:drawableTint="@color/white"
|
||||||
|
android:drawablePadding="@dimen/dp_10"
|
||||||
|
android:textSize="@dimen/sp_17"
|
||||||
|
android:textStyle="bold"
|
||||||
|
android:textColor="@color/white"
|
||||||
|
android:text="@string/start_new_chat"
|
||||||
/>
|
/>
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenFrameLayout>
|
||||||
|
|
||||||
|
|
||||||
<!-- Ai model selecting related -->
|
<androidx.core.widget.NestedScrollView
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
android:layout_width="match_parent"
|
||||||
android:layout_width="wrap_content"
|
android:layout_height="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:background="@color/white"
|
||||||
android:layout_marginTop="28dp"
|
android:layout_below="@+id/tvTitle"
|
||||||
android:text="@string/setting_switch_model"
|
android:layout_above="@+id/tv_start_new_chat"
|
||||||
android:textColor="@color/gray3"
|
>
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_marginTop="10dp" >
|
android:padding="@dimen/dp_20"
|
||||||
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandSelectView
|
|
||||||
android:id="@+id/ai_model_selector"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
|
|
||||||
<!--short text mode-->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
|
|
||||||
android:id="@+id/ai_model_short_text_switcher"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_marginTop="@dimen/dp_5"
|
|
||||||
app:backgroundColorToken="@string/color_chat_setting_item_bg"
|
|
||||||
app:radiusToken="@string/radius_m"
|
|
||||||
android:padding="@dimen/dp_12"
|
|
||||||
>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
|
|
||||||
android:id="@+id/iv_left_short_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="@dimen/dp_10"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
android:src="@mipmap/setting_short_text"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:id="@+id/tv_title_short_text_mode"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginHorizontal="8dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:ellipsize="end"
|
|
||||||
android:gravity="start"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:textSize="@dimen/sp_14"
|
|
||||||
android:text="@string/short_text_mode"
|
|
||||||
android:textColor="@color/gray6"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/switch_short_text"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/iv_left_short_text"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.ui.SwitchView
|
|
||||||
android:id="@+id/switch_short_text"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="@dimen/dp_10"
|
|
||||||
app:switchColorStyle="purple"
|
|
||||||
app:switchSize="small"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
/>
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Sound related -->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
android:text="@string/setting_sound"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="10dp" >
|
|
||||||
|
|
||||||
<!-- sound selector -->
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandSoundSelectView
|
|
||||||
android:id="@+id/sound_actor_selector"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!--play dialogue only-->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
|
|
||||||
android:id="@+id/play_dialogue_only_switcher"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:gravity="center_vertical"
|
|
||||||
android:layout_marginTop="@dimen/dp_5"
|
|
||||||
app:backgroundColorToken="@string/color_chat_setting_item_bg"
|
|
||||||
app:radiusToken="@string/radius_m"
|
|
||||||
android:padding="@dimen/dp_12"
|
|
||||||
>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
|
|
||||||
android:id="@+id/iv_left_play_dialogue_only"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginEnd="@dimen/dp_10"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
android:src="@mipmap/setting_short_text"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:id="@+id/tv_title_play_dialogue_only"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginHorizontal="8dp"
|
|
||||||
android:layout_weight="1"
|
|
||||||
android:ellipsize="end"
|
|
||||||
android:gravity="start"
|
|
||||||
android:maxLines="1"
|
|
||||||
android:textSize="@dimen/sp_14"
|
|
||||||
android:text="@string/play_dialogue_only"
|
|
||||||
android:textColor="@color/gray6"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toStartOf="@+id/switch_play_dialogue_only"
|
|
||||||
app:layout_constraintStart_toEndOf="@+id/iv_left_play_dialogue_only"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.ui.SwitchView
|
|
||||||
android:id="@+id/switch_play_dialogue_only"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginStart="@dimen/dp_10"
|
|
||||||
app:switchColorStyle="purple"
|
|
||||||
app:switchSize="small"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
|
||||||
/>
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
|
||||||
|
|
||||||
<!--Maximum number of response tokens-->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
android:text="@string/setting_max_response_num"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="10dp" >
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.MaxNumView
|
|
||||||
android:id="@+id/max_response_num_view"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Appearance related -->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
android:text="@string/setting_appearance"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="10dp" >
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.FontSetView
|
|
||||||
android:id="@+id/font_set_view"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:padding="@dimen/dp_5"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandChatModeSelectView
|
|
||||||
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>
|
|
||||||
|
|
||||||
<!-- background related -->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
android:text="@string/setting_background"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="10dp" >
|
|
||||||
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandBackgroundSubView
|
|
||||||
android:id="@+id/background_selector_view"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
|
||||||
|
|
||||||
<!-- history related -->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
android:text="@string/setting_history"
|
|
||||||
android:textColor="@color/gray3"
|
|
||||||
android:textSize="@dimen/sp_16"
|
|
||||||
/>
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="10dp" >
|
|
||||||
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandHistorySubView
|
|
||||||
android:id="@+id/history_select_view"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
/>
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
|
||||||
|
|
||||||
<!-- Delete related -->
|
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
|
||||||
android:id="@+id/ll_delete"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:orientation="vertical"
|
|
||||||
android:layout_marginTop="28dp"
|
|
||||||
app:advStrokeWidth="@dimen/dp_3"
|
|
||||||
app:advStrokeColor="@color/red_ff3b30"
|
|
||||||
app:advRadius="@dimen/dp_25"
|
|
||||||
>
|
>
|
||||||
|
|
||||||
|
<!-- Ai model selecting related -->
|
||||||
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_marginTop="@dimen/dp_5"
|
||||||
android:padding="@dimen/dp_10"
|
android:text="@string/setting_switch_model"
|
||||||
android:gravity="center"
|
android:textColor="@color/gray3"
|
||||||
android:text="@string/setting_delete"
|
android:textSize="@dimen/sp_16"
|
||||||
android:drawablePadding="@dimen/dp_10"
|
|
||||||
app:drawableLeftCompat="@mipmap/setting_delete"
|
|
||||||
android:textSize="@dimen/sp_17"
|
|
||||||
android:textColor="@color/red_ff3b30"
|
|
||||||
/>
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandSelectView
|
||||||
|
android:id="@+id/ai_model_selector"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
|
|
||||||
|
|
||||||
|
<!--short text mode-->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
|
||||||
|
android:id="@+id/ai_model_short_text_switcher"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_marginTop="@dimen/dp_5"
|
||||||
|
app:backgroundColorToken="@string/color_chat_setting_item_bg"
|
||||||
|
app:radiusToken="@string/radius_m"
|
||||||
|
android:padding="@dimen/dp_12"
|
||||||
|
>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
|
||||||
|
android:id="@+id/iv_left_short_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="@dimen/dp_10"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
android:src="@mipmap/setting_short_text"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:id="@+id/tv_title_short_text_mode"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:gravity="start"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textSize="@dimen/sp_14"
|
||||||
|
android:text="@string/short_text_mode"
|
||||||
|
android:textColor="@color/gray6"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/switch_short_text"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/iv_left_short_text"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.ui.SwitchView
|
||||||
|
android:id="@+id/switch_short_text"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="@dimen/dp_10"
|
||||||
|
app:switchColorStyle="purple"
|
||||||
|
app:switchSize="small"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
/>
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
|
||||||
|
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Sound related -->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
android:text="@string/setting_sound"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="@dimen/sp_16"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
|
||||||
|
<!-- sound selector -->
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandSoundSelectView
|
||||||
|
android:id="@+id/sound_actor_selector"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<!--play dialogue only-->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
|
||||||
|
android:id="@+id/play_dialogue_only_switcher"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:layout_marginTop="@dimen/dp_5"
|
||||||
|
app:backgroundColorToken="@string/color_chat_setting_item_bg"
|
||||||
|
app:radiusToken="@string/radius_m"
|
||||||
|
android:padding="@dimen/dp_12"
|
||||||
|
>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
|
||||||
|
android:id="@+id/iv_left_play_dialogue_only"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="@dimen/dp_10"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
android:src="@mipmap/setting_short_text"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:id="@+id/tv_title_play_dialogue_only"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginHorizontal="8dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:ellipsize="end"
|
||||||
|
android:gravity="start"
|
||||||
|
android:maxLines="1"
|
||||||
|
android:textSize="@dimen/sp_14"
|
||||||
|
android:text="@string/play_dialogue_only"
|
||||||
|
android:textColor="@color/gray6"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/switch_play_dialogue_only"
|
||||||
|
app:layout_constraintStart_toEndOf="@+id/iv_left_play_dialogue_only"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.ui.SwitchView
|
||||||
|
android:id="@+id/switch_play_dialogue_only"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginStart="@dimen/dp_10"
|
||||||
|
app:switchColorStyle="purple"
|
||||||
|
app:switchSize="small"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
/>
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
|
||||||
|
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
<!--Maximum number of response tokens-->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
android:text="@string/setting_max_response_num"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="@dimen/sp_16"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.MaxNumView
|
||||||
|
android:id="@+id/max_response_num_view"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Appearance related -->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
android:text="@string/setting_appearance"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="@dimen/sp_16"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.FontSetView
|
||||||
|
android:id="@+id/font_set_view"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:padding="@dimen/dp_5"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandChatModeSelectView
|
||||||
|
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>
|
||||||
|
|
||||||
|
<!-- background related -->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
android:text="@string/setting_background"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="@dimen/sp_16"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandBackgroundSubView
|
||||||
|
android:id="@+id/background_selector_view"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
<!-- history related -->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
android:text="@string/setting_history"
|
||||||
|
android:textColor="@color/gray3"
|
||||||
|
android:textSize="@dimen/sp_16"
|
||||||
|
/>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="10dp" >
|
||||||
|
<com.remax.visualnovel.ui.chat.ui.expandableSelector.ExpandHistorySubView
|
||||||
|
android:id="@+id/history_select_view"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
<!-- Delete related -->
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout
|
||||||
|
android:id="@+id/ll_delete"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:orientation="vertical"
|
||||||
|
android:layout_marginTop="28dp"
|
||||||
|
app:advStrokeWidth="@dimen/dp_3"
|
||||||
|
app:advStrokeColor="@color/red_ff3b30"
|
||||||
|
app:advRadius="@dimen/dp_25"
|
||||||
|
>
|
||||||
|
<com.remax.visualnovel.widget.uitoken.view.UITokenTextView
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_horizontal"
|
||||||
|
android:padding="@dimen/dp_10"
|
||||||
|
android:gravity="center"
|
||||||
|
android:text="@string/setting_delete"
|
||||||
|
android:drawablePadding="@dimen/dp_10"
|
||||||
|
app:drawableLeftCompat="@mipmap/setting_delete"
|
||||||
|
android:textSize="@dimen/sp_17"
|
||||||
|
android:textColor="@color/red_ff3b30"
|
||||||
|
/>
|
||||||
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
||||||
|
|
||||||
|
</androidx.core.widget.NestedScrollView>
|
||||||
|
|
||||||
|
|
||||||
</com.remax.visualnovel.widget.uitoken.view.UITokenLinearLayout>
|
</com.remax.visualnovel.widget.uitoken.view.UITokenRelativeLayout>
|
||||||
|
|
||||||
</androidx.core.widget.NestedScrollView>
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 752 B |
|
|
@ -485,5 +485,6 @@
|
||||||
<string name="chat_mode">Chat Mode</string>
|
<string name="chat_mode">Chat Mode</string>
|
||||||
<string name="call_connecting">Connecting...</string>
|
<string name="call_connecting">Connecting...</string>
|
||||||
<string name="call_fail_hint">Network connection issue. Please check your connection and try again.</string>
|
<string name="call_fail_hint">Network connection issue. Please check your connection and try again.</string>
|
||||||
|
<string name="start_new_chat">Start New Chat</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
Loading…
Reference in New Issue