2019-06-13 06:16:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-04-17 12:08:30 +02:00
|
|
|
android:id="@+id/coordinator_layout_comment_activity"
|
2019-06-13 06:16:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-10-03 14:31:55 +02:00
|
|
|
android:background="?attr/backgroundColor"
|
2019-08-07 17:28:02 +02:00
|
|
|
tools:application=".CommentActivity">
|
2019-06-13 06:16:04 +02:00
|
|
|
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2020-03-01 09:30:33 +01:00
|
|
|
android:id="@+id/appbar_layout_comment_activity"
|
2019-06-13 06:16:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-10-03 14:31:55 +02:00
|
|
|
android:background="?attr/toolbarAndTabBackgroundColor"
|
2019-06-13 06:16:04 +02:00
|
|
|
android:theme="@style/AppTheme.AppBarOverlay">
|
|
|
|
|
2020-04-17 12:08:30 +02:00
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar_comment_activity"
|
2019-06-13 06:16:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2020-04-17 12:08:30 +02:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
app:navigationIcon="?attr/homeAsUpIndicator"
|
|
|
|
app:popupTheme="@style/AppTheme.PopupOverlay" />
|
2019-06-13 06:16:04 +02:00
|
|
|
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
|
2019-08-20 09:01:54 +02:00
|
|
|
<androidx.core.widget.NestedScrollView
|
2019-06-13 06:16:04 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
2019-08-20 09:01:54 +02:00
|
|
|
<LinearLayout
|
2019-06-13 06:16:04 +02:00
|
|
|
android:layout_width="match_parent"
|
2019-06-28 05:29:05 +02:00
|
|
|
android:layout_height="match_parent"
|
2020-02-22 11:22:02 +01:00
|
|
|
android:orientation="vertical">
|
2019-08-20 09:01:54 +02:00
|
|
|
|
2019-08-26 07:52:19 +02:00
|
|
|
<TextView
|
2019-08-20 09:01:54 +02:00
|
|
|
android:id="@+id/comment_parent_markwon_view_comment_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-02-22 11:22:02 +01:00
|
|
|
android:layout_margin="16dp"
|
2020-03-15 06:12:02 +01:00
|
|
|
android:textColor="?attr/commentColor"
|
2020-02-22 11:22:02 +01:00
|
|
|
android:textSize="?attr/title_font_16" />
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/content_markdown_view_comment_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="16dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
2020-04-17 12:08:30 +02:00
|
|
|
android:layout_marginBottom="16dp"
|
2020-02-22 11:22:02 +01:00
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<View
|
2020-03-15 06:12:02 +01:00
|
|
|
android:id="@+id/divider_comment_activity"
|
2020-02-22 11:22:02 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
2019-08-20 09:01:54 +02:00
|
|
|
android:layout_marginBottom="16dp"
|
2020-02-27 09:58:15 +01:00
|
|
|
android:background="?attr/dividerColor" />
|
2019-08-20 09:01:54 +02:00
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/comment_edit_text_comment_activity"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-04-17 12:08:30 +02:00
|
|
|
android:background="#00000000"
|
2019-08-20 09:01:54 +02:00
|
|
|
android:gravity="top"
|
|
|
|
android:hint="@string/write_comment_hint"
|
|
|
|
android:inputType="textCapSentences|textMultiLine"
|
2020-04-17 12:08:30 +02:00
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="16dp"
|
|
|
|
android:paddingBottom="16dp"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
|
|
|
android:textSize="?attr/content_font_18" />
|
2019-08-20 09:01:54 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
2019-06-13 06:16:04 +02:00
|
|
|
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|