Small layout improvement

This commit is contained in:
M66B 2019-07-25 08:27:31 +02:00
parent e0a446a8a9
commit 59e4c797ea
4 changed files with 56 additions and 52 deletions

View File

@ -10,6 +10,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="12dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
@ -23,9 +24,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_pick" android:contentDescription="@string/title_legend_pick"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_person_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/baseline_person_24" />
<TextView <TextView
android:id="@+id/tvPick" android:id="@+id/tvPick"
@ -45,9 +46,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_cc" android:contentDescription="@string/title_legend_cc"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_people_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivPick" /> app:layout_constraintTop_toBottomOf="@id/ivPick"
app:srcCompat="@drawable/baseline_people_24" />
<TextView <TextView
android:id="@+id/tvCC" android:id="@+id/tvCC"
@ -67,9 +68,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_link" android:contentDescription="@string/title_legend_link"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_insert_link_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivCC" /> app:layout_constraintTop_toBottomOf="@id/ivCC"
app:srcCompat="@drawable/baseline_insert_link_24" />
<TextView <TextView
android:id="@+id/tvLink" android:id="@+id/tvLink"
@ -89,9 +90,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_file" android:contentDescription="@string/title_legend_file"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_attachment_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivLink" /> app:layout_constraintTop_toBottomOf="@id/ivLink"
app:srcCompat="@drawable/baseline_attachment_24" />
<TextView <TextView
android:id="@+id/tvFile" android:id="@+id/tvFile"
@ -111,9 +112,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_picture" android:contentDescription="@string/title_legend_picture"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_image_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivFile" /> app:layout_constraintTop_toBottomOf="@id/ivFile"
app:srcCompat="@drawable/baseline_image_24" />
<TextView <TextView
android:id="@+id/tvPicture" android:id="@+id/tvPicture"
@ -133,9 +134,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_photo" android:contentDescription="@string/title_legend_photo"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_photo_camera_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivPicture" /> app:layout_constraintTop_toBottomOf="@id/ivPicture"
app:srcCompat="@drawable/baseline_photo_camera_24" />
<TextView <TextView
android:id="@+id/tvPhoto" android:id="@+id/tvPhoto"
@ -155,9 +156,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_audio" android:contentDescription="@string/title_legend_audio"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_record_voice_over_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivPhoto" /> app:layout_constraintTop_toBottomOf="@id/ivPhoto"
app:srcCompat="@drawable/baseline_record_voice_over_24" />
<TextView <TextView
android:id="@+id/tvAudio" android:id="@+id/tvAudio"
@ -177,9 +178,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_bold" android:contentDescription="@string/title_legend_bold"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_format_bold_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivAudio" /> app:layout_constraintTop_toBottomOf="@id/ivAudio"
app:srcCompat="@drawable/baseline_format_bold_24" />
<TextView <TextView
android:id="@+id/tvBold" android:id="@+id/tvBold"
@ -199,9 +200,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_italic" android:contentDescription="@string/title_legend_italic"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_format_italic_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivBold" /> app:layout_constraintTop_toBottomOf="@id/ivBold"
app:srcCompat="@drawable/baseline_format_italic_24" />
<TextView <TextView
android:id="@+id/tvItalic" android:id="@+id/tvItalic"
@ -221,9 +222,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_underline" android:contentDescription="@string/title_legend_underline"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_format_underlined_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivItalic" /> app:layout_constraintTop_toBottomOf="@id/ivItalic"
app:srcCompat="@drawable/baseline_format_underlined_24" />
<TextView <TextView
android:id="@+id/tvUnderline" android:id="@+id/tvUnderline"
@ -243,9 +244,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_text_size" android:contentDescription="@string/title_legend_text_size"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_format_size_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivUnderline" /> app:layout_constraintTop_toBottomOf="@id/ivUnderline"
app:srcCompat="@drawable/baseline_format_size_24" />
<TextView <TextView
android:id="@+id/tvSize" android:id="@+id/tvSize"
@ -265,9 +266,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_text_color" android:contentDescription="@string/title_legend_text_color"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_format_color_text_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivSize" /> app:layout_constraintTop_toBottomOf="@id/ivSize"
app:srcCompat="@drawable/baseline_format_color_text_24" />
<TextView <TextView
android:id="@+id/tvColor" android:id="@+id/tvColor"

View File

@ -10,6 +10,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="12dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">

View File

@ -10,6 +10,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="12dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">

View File

@ -10,6 +10,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="vertical" android:orientation="vertical"
android:padding="12dp"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"> app:layout_constraintTop_toTopOf="parent">
@ -23,9 +24,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_primary_connected" android:contentDescription="@string/title_legend_primary_connected"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_folder_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/baseline_folder_24" />
<TextView <TextView
android:id="@+id/tvPrimaryConnected" android:id="@+id/tvPrimaryConnected"
@ -45,9 +46,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_primary_disconnected" android:contentDescription="@string/title_legend_primary_disconnected"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_folder_open_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivPrimaryConnected" /> app:layout_constraintTop_toBottomOf="@id/ivPrimaryConnected"
app:srcCompat="@drawable/baseline_folder_open_24" />
<TextView <TextView
android:id="@+id/tvPrimaryDisconnected" android:id="@+id/tvPrimaryDisconnected"
@ -67,9 +68,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_download_on" android:contentDescription="@string/title_legend_download_on"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_mail_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivPrimaryDisconnected" /> app:layout_constraintTop_toBottomOf="@id/ivPrimaryDisconnected"
app:srcCompat="@drawable/baseline_mail_24" />
<TextView <TextView
android:id="@+id/tvDownloadOn" android:id="@+id/tvDownloadOn"
@ -89,9 +90,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_download_off" android:contentDescription="@string/title_legend_download_off"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_mail_outline_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivDownloadOn" /> app:layout_constraintTop_toBottomOf="@id/ivDownloadOn"
app:srcCompat="@drawable/baseline_mail_outline_24" />
<TextView <TextView
android:id="@+id/tvDownloadOff" android:id="@+id/tvDownloadOff"
@ -111,9 +112,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_synchronize_on" android:contentDescription="@string/title_legend_synchronize_on"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_sync_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivDownloadOff" /> app:layout_constraintTop_toBottomOf="@id/ivDownloadOff"
app:srcCompat="@drawable/baseline_sync_24" />
<TextView <TextView
android:id="@+id/tvSynchronize" android:id="@+id/tvSynchronize"
@ -133,9 +134,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_synchronize_off" android:contentDescription="@string/title_legend_synchronize_off"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_sync_disabled_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivSynchronize" /> app:layout_constraintTop_toBottomOf="@id/ivSynchronize"
app:srcCompat="@drawable/baseline_sync_disabled_24" />
<TextView <TextView
android:id="@+id/tvSynchronizeOff" android:id="@+id/tvSynchronizeOff"
@ -155,9 +156,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_disconnected" android:contentDescription="@string/title_legend_disconnected"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_cloud_off_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivSynchronizeOff" /> app:layout_constraintTop_toBottomOf="@id/ivSynchronizeOff"
app:srcCompat="@drawable/baseline_cloud_off_24" />
<TextView <TextView
android:id="@+id/tvDisconnected" android:id="@+id/tvDisconnected"
@ -177,9 +178,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_connecting" android:contentDescription="@string/title_legend_connecting"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_cloud_queue_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivDisconnected" /> app:layout_constraintTop_toBottomOf="@id/ivDisconnected"
app:srcCompat="@drawable/baseline_cloud_queue_24" />
<TextView <TextView
android:id="@+id/tvConnecting" android:id="@+id/tvConnecting"
@ -199,9 +200,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_connected" android:contentDescription="@string/title_legend_connected"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_cloud_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivConnecting" /> app:layout_constraintTop_toBottomOf="@id/ivConnecting"
app:srcCompat="@drawable/baseline_cloud_24" />
<TextView <TextView
android:id="@+id/tvConnected" android:id="@+id/tvConnected"
@ -221,9 +222,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_executing" android:contentDescription="@string/title_legend_executing"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_dns_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivConnected" /> app:layout_constraintTop_toBottomOf="@id/ivConnected"
app:srcCompat="@drawable/baseline_dns_24" />
<TextView <TextView
android:id="@+id/tvExecuting" android:id="@+id/tvExecuting"
@ -243,9 +244,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_synchronizing" android:contentDescription="@string/title_legend_synchronizing"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_compare_arrows_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivExecuting" /> app:layout_constraintTop_toBottomOf="@id/ivExecuting"
app:srcCompat="@drawable/baseline_compare_arrows_24" />
<TextView <TextView
android:id="@+id/tvSynchronizing" android:id="@+id/tvSynchronizing"
@ -265,9 +266,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_downloading" android:contentDescription="@string/title_legend_downloading"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_cloud_download_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivSynchronizing" /> app:layout_constraintTop_toBottomOf="@id/ivSynchronizing"
app:srcCompat="@drawable/baseline_cloud_download_24" />
<TextView <TextView
android:id="@+id/tvDownloading" android:id="@+id/tvDownloading"
@ -287,9 +288,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_closing" android:contentDescription="@string/title_legend_closing"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_close_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivDownloading" /> app:layout_constraintTop_toBottomOf="@id/ivDownloading"
app:srcCompat="@drawable/baseline_close_24" />
<TextView <TextView
android:id="@+id/tvClosing" android:id="@+id/tvClosing"
@ -309,9 +310,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:contentDescription="@string/title_legend_waiting" android:contentDescription="@string/title_legend_waiting"
android:padding="12dp" android:padding="12dp"
app:srcCompat="@drawable/baseline_hourglass_empty_24"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/ivClosing" /> app:layout_constraintTop_toBottomOf="@id/ivClosing"
app:srcCompat="@drawable/baseline_hourglass_empty_24" />
<TextView <TextView
android:id="@+id/tvWaiting" android:id="@+id/tvWaiting"