aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_comment.xml23
-rw-r--r--app/src/main/res/values/strings.xml1
2 files changed, 9 insertions, 15 deletions
diff --git a/app/src/main/res/layout/activity_comment.xml b/app/src/main/res/layout/activity_comment.xml
index 3beff433..c494cf3f 100644
--- a/app/src/main/res/layout/activity_comment.xml
+++ b/app/src/main/res/layout/activity_comment.xml
@@ -4,6 +4,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:id="@+id/coordinator_layout_comment_activity"
tools:context=".CommentActivity">
<com.google.android.material.appbar.AppBarLayout
@@ -24,32 +25,24 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
+ android:padding="16dp"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<TextView
android:id="@+id/comment_parent_text_view_comment_activity"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="16dp"
+ android:layout_marginBottom="16dp"
android:textSize="16sp" />
- <com.chinalwb.are.AREditText
- android:id="@+id/arEditText"
+ <EditText
+ android:id="@+id/comment_edit_text_comment_activity"
android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_margin="8dp"
- android:layout_weight="1"
- android:gravity="top"
+ android:layout_height="wrap_content"
android:hint="@string/write_comment_hint"
- android:inputType="textMultiLine|textCapSentences"
+ android:inputType="textCapSentences|textMultiLine"
android:textSize="18sp"
- android:textColor="@color/primaryTextColor"/>
-
- <com.chinalwb.are.styles.toolbar.ARE_ToolbarDefault
- android:id="@+id/areToolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical" />
+ android:background="#00000000" />
</LinearLayout>
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 7a3985eb..1b4968b0 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -72,5 +72,6 @@
<string name="lazy_mode_stop">Lazy Mode stopped</string>
<string name="write_comment_hint">Your interesting thoughts here</string>
+ <string name="send_comment_failed">Could not send this comment</string>
</resources>