Fix various padding and alignment issues.

This commit is contained in:
Greyson Parrelli 2018-07-27 14:00:11 -04:00
parent a3115c14ac
commit 1e895e960f
4 changed files with 10 additions and 8 deletions

View File

@ -219,6 +219,11 @@
android:id="@+id/send_button" android:id="@+id/send_button"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingTop="6dp"
android:paddingRight="6dp"
android:paddingBottom="6dp"
android:paddingLeft="11dp"
android:scaleType="fitCenter"
android:contentDescription="@string/conversation_activity__send" android:contentDescription="@string/conversation_activity__send"
android:nextFocusLeft="@+id/embedded_text_editor" android:nextFocusLeft="@+id/embedded_text_editor"
android:src="?conversation_transport_sms_indicator" android:src="?conversation_transport_sms_indicator"

View File

@ -10,12 +10,6 @@
android:paddingLeft="28dp" android:paddingLeft="28dp"
android:paddingRight="28dp"> android:paddingRight="28dp">
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="?attr/conversation_item_date_line_color"
android:layout_marginBottom="3dp"/>
<TextView <TextView
android:id="@+id/text" android:id="@+id/text"
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout 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" xmlns:tools="http://schemas.android.com/tools"
android:id="@id/container" android:id="@id/container"
android:orientation="vertical" android:orientation="vertical"
@ -13,6 +14,8 @@
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:minHeight="?attr/actionBarSize" android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:contentInsetStart="14dp"
app:contentInsetLeft="14dp"
android:elevation="4dp" android:elevation="4dp"
android:theme="?attr/actionBarStyle"> android:theme="?attr/actionBarStyle">

View File

@ -23,8 +23,8 @@
android:cropToPadding="true" android:cropToPadding="true"
tools:src="@drawable/ic_contact_picture" tools:src="@drawable/ic_contact_picture"
android:contentDescription="@string/conversation_list_item_view__contact_photo_image" android:contentDescription="@string/conversation_list_item_view__contact_photo_image"
android:layout_marginRight="10dp" android:layout_marginRight="12dp"
android:layout_marginEnd="10dp" /> android:layout_marginEnd="12dp" />
<RelativeLayout android:layout_width="match_parent" <RelativeLayout android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"