Clean up spacing
Stephen Paul Weber
created
The RecyclerView doesn't put consistent space between our elements, so we need
to make sure to but consistent bottom padding on them.
Change summary
src/cheogram/res/layout/command_result_field.xml | 3 ++-
src/cheogram/res/layout/command_text_field.xml | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
Detailed changes
@@ -4,6 +4,7 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:paddingBottom="16dp"
android:orientation="vertical">
<TextView
@@ -11,9 +12,9 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
- android:minHeight="?android:attr/listPreferredItemHeightSmall"
android:paddingLeft="8dp"
android:paddingRight="8dp"
+ android:paddingBottom="16dp"
android:textAppearance="@style/TextAppearance.Conversations.Body1"
android:textColor="?attr/edit_text_color" />
@@ -4,13 +4,13 @@
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
+ android:paddingBottom="16dp"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textinput_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:paddingTop="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
app:errorTextAppearance="@style/TextAppearance.Conversations.Design.Error"
@@ -34,7 +34,6 @@
android:layout_height="wrap_content"
android:paddingLeft="16dp"
android:paddingRight="8dp"
- android:paddingBottom="8dp"
android:textAppearance="@style/TextAppearance.Conversations.Status"
android:textColor="?attr/edit_text_color" />