|
@@ -19,9 +19,10 @@
|
|
-->
|
|
-->
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
@@ -33,25 +34,22 @@
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
android:id="@+id/commentInputField"
|
|
android:id="@+id/commentInputField"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
|
+ android:layout_height="@dimen/minimum_size_for_touchable_area"
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
android:hint="@string/new_comment"
|
|
android:hint="@string/new_comment"
|
|
- android:paddingTop="@dimen/standard_padding"
|
|
|
|
|
|
+ android:layout_marginTop="@dimen/standard_half_margin"
|
|
android:textColorHint="@color/secondary_text_color" />
|
|
android:textColorHint="@color/secondary_text_color" />
|
|
|
|
|
|
- <ImageButton
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
android:id="@+id/submitComment"
|
|
android:id="@+id/submitComment"
|
|
- android:layout_width="wrap_content"
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
- android:background="?attr/selectableItemBackgroundBorderless"
|
|
|
|
|
|
+ style="@style/Widget.AppTheme.Button.IconButton"
|
|
|
|
+ android:layout_width="@dimen/minimum_size_for_touchable_area"
|
|
|
|
+ android:layout_height="@dimen/minimum_size_for_touchable_area"
|
|
android:contentDescription="@string/common_send"
|
|
android:contentDescription="@string/common_send"
|
|
- android:paddingBottom="@dimen/standard_padding"
|
|
|
|
- android:paddingEnd="@dimen/standard_padding"
|
|
|
|
- android:paddingLeft="@dimen/standard_padding"
|
|
|
|
- android:paddingRight="@dimen/standard_padding"
|
|
|
|
- android:paddingStart="@dimen/standard_padding"
|
|
|
|
- android:paddingTop="@dimen/standard_padding"
|
|
|
|
- android:src="@drawable/ic_send" />
|
|
|
|
|
|
+ app:cornerRadius="24dp"
|
|
|
|
+ app:icon="@drawable/ic_send"
|
|
|
|
+ app:iconTint="@color/grey_600"/>
|
|
|
|
+
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|