|
|
37
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
38
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
39
|
app:srcCompat="@drawable/write_comment_icon" />
|
|
|
40
|
|
|
|
41
|
<EditText
|
|
|
42
|
android:id="@+id/dialogEdit"
|
|
|
43
|
android:background="@null"
|
|
|
44
|
android:layout_width="0dp"
|
|
|
45
|
android:layout_height="wrap_content"
|
|
|
46
|
android:hint="优质评论会被优先展示"
|
|
|
47
|
android:textColor="#ffffff"
|
|
|
48
|
android:textColorHint="#7e7e7e"
|
|
|
49
|
android:textSize="14sp"
|
|
|
50
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
51
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
52
|
app:layout_constraintLeft_toRightOf="@+id/dialogIcon"
|
|
|
53
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
54
|
</android.support.constraint.ConstraintLayout>
|
|
|
55
|
|
|
|
56
|
<TextView
|
|
|
57
|
android:id="@+id/dialogPublish"
|
|
|
58
|
android:layout_width="wrap_content"
|
|
|
59
|
android:layout_height="0dp"
|
|
|
60
|
android:gravity="center_vertical"
|
|
|
61
|
android:paddingLeft="13dp"
|
|
|
62
|
android:paddingRight="15dp"
|
|
|
63
|
android:text="发布"
|
|
|
64
|
android:textColor="#7e7e7e"
|
|
|
65
|
android:textSize="14sp"
|
|
|
66
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
67
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
68
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
69
|
tools:layout_editor_absoluteX="348dp"
|
|
|
70
|
tools:layout_editor_absoluteY="19dp" />
|
|
|
71
|
</android.support.constraint.ConstraintLayout>
|
|
|
72
|
|
|
|
73
|
</android.support.constraint.ConstraintLayout>
|
|
|
@ -6,6 +6,12 @@
|
|
6
|
6
|
<item name="colorAccent">@color/colorAccent</item>
|
|
7
|
7
|
|
|
8
|
8
|
</style>
|
|
|
9
|
<style name="BottomDialog" parent="@style/AppTheme">
|
|
|
10
|
<item name="android:layout_width">match_parent</item>
|
|
|
11
|
<item name="android:layout_height">wrap_content</item>
|
|
|
12
|
<item name="android:windowIsFloating">true</item>
|
|
|
13
|
<item name="android:windowSoftInputMode">stateAlwaysVisible</item><!--显示软件盘-->
|
|
|
14
|
</style>
|
|
9
|
15
|
|
|
10
|
16
|
<style name="actionBarTheme" parent="ThemeOverlay.AppCompat.Dark.ActionBar">
|
|
11
|
17
|
<item name="android:textColorPrimary">@android:color/primary_text_light</item>
|