InputPanel 初步
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 790 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1020 B |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 802 B |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 6.1 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1006 B |
|
|
@ -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>
|
||||
|
||||
|
||||
|
||||
|
|
|
|||