InputPanel 初步

This commit is contained in:
renhaoting 2025-10-22 18:34:03 +08:00
parent 6971784f98
commit d721fa025c
24 changed files with 75 additions and 0 deletions

Binary file not shown.

View File

@ -9,6 +9,7 @@ import com.remax.visualnovel.app.base.BaseBindingActivity
import com.remax.visualnovel.utils.Routers
import com.remax.visualnovel.utils.StatusBarUtils
import com.pengxr.modular.eventbus.generated.events.EventDefineOfUserEvents
import com.remax.visualnovel.R
import com.remax.visualnovel.databinding.ActivityActorChatBinding
import com.remax.visualnovel.event.model.OnLoginEvent
import com.remax.visualnovel.extension.launchWithRequest
@ -24,6 +25,9 @@ class ChatActivity : BaseBindingActivity<ActivityActorChatBinding>() {
private val mViewModel by viewModels<MainViewModel>()
override fun initView() {
ARouter.getInstance().inject(this)
//setToolbar(R.string.setting)
StatusBarUtils.setStatusBarAndNavBarIsLight(this, false)
StatusBarUtils.setTransparent(this)

View File

@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?>
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/dp_20" >
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
android:id="@+id/chat_expand"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/chat_up"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:padding="@dimen/dp_12"
app:radiusToken="@string/radius_pill"
app:backgroundColorToken="@string/color_surface_element_normal"
/>
<com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@id/chat_expand"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginStart="@dimen/dp_10"
app:radiusToken="@string/radius_40"
app:backgroundColorToken="@string/color_surface_element_normal"
>
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
android:id="@+id/iv_chat_voice"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:src="@mipmap/chat_voice_b"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:padding="@dimen/dp_12"
/>
<com.remax.visualnovel.widget.uitoken.view.UITokenImageView
android:id="@+id/iv_chat_send"
android:layout_width="@dimen/dp_60"
android:layout_height="@dimen/dp_44"
android:src="@mipmap/chat_send"
android:padding="@dimen/dp_12"
android:layout_margin="@dimen/dp_3"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:radiusToken="@string/radius_xxl"
app:backgroundColorToken="@string/color_surface_float_hover"
/>
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>
</com.remax.visualnovel.widget.uitoken.view.UITokenConstraintLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 790 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1020 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

View File

@ -187,6 +187,7 @@
<color name="tag_text_color">#ffe5f1ff</color>
<color name="yellow">#FFFF00</color>
<color name="yellow_light_1">#FF8800</color>
<color name="chat_send_bg">#ff565563</color>