dialog_danmaku_comment.xml
3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:background="@color/res_color_common_C8">
<!-- 说两句布局 -->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clSaySomething"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp56"
app:layout_constraintTop_toTopOf="parent">
<EditText
android:id="@+id/etSaySomething"
android:layout_width="0dp"
android:layout_height="@dimen/rmrb_dp40"
android:maxLines="1"
android:maxLength="100"
android:layout_marginStart="@dimen/rmrb_dp73"
android:layout_marginEnd="@dimen/rmrb_dp120"
android:background="@color/res_color_common_C7"
android:hint="@string/res_say_two_sentences"
android:imeOptions="flagNoExtractUi"
android:paddingLeft="@dimen/rmrb_dp12"
android:textColorHint="@color/res_color_common_C3"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp16"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivDanmakuExpression"
android:layout_width="@dimen/rmrb_dp24"
android:layout_height="@dimen/rmrb_dp24"
android:layout_marginEnd="@dimen/rmrb_dp12"
android:src="@mipmap/ic_danmaku_expression_gray"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/etSaySomething"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvSeed"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/rmrb_dp16"
android:text="发送"
android:textColor="@color/rmrb_cccccc_light"
android:textSize="@dimen/rmrb_dp16"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/etSaySomething"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- 表情键盘 -->
<FrameLayout
android:id="@+id/flExpression"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp190"
android:visibility="gone"
app:layout_constraintTop_toBottomOf="@+id/clSaySomething">
<LinearLayout
android:id="@+id/llPageTurningPoint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|center"
android:layout_marginBottom="@dimen/rmrb_dp20"
android:gravity="center_vertical"
android:orientation="horizontal" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/vpExpression"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<View
android:id="@+id/vEmojiLayer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#66000000"
android:visibility="gone" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>