Fix alignment issues in group creator dialog

This commit is contained in:
Mauricio Colli 2019-10-07 02:33:29 -03:00
parent 20a4bb0936
commit f69b6c85f8
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
2 changed files with 7 additions and 4 deletions

View File

@ -34,6 +34,8 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:paddingTop="6dp"
android:paddingBottom="6dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:hint="@string/feed_group_dialog_name_input" android:hint="@string/feed_group_dialog_name_input"
app:errorEnabled="true" app:errorEnabled="true"

View File

@ -16,8 +16,7 @@
android:gravity="center" android:gravity="center"
android:minWidth="72dp" android:minWidth="72dp"
android:orientation="vertical" android:orientation="vertical"
android:padding="4dp" android:padding="4dp">
tools:layout_width="wrap_content">
<de.hdodenhof.circleimageview.CircleImageView <de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/thumbnail_view" android:id="@+id/thumbnail_view"
@ -49,8 +48,10 @@
tools:visibility="visible"> tools:visibility="visible">
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="48dp"
android:layout_height="match_parent" android:layout_height="48dp"
android:layout_marginTop="4dp"
android:layout_gravity="top|center_horizontal"
android:scaleType="centerInside" android:scaleType="centerInside"
app:srcCompat="@drawable/ic_done_white_24dp" app:srcCompat="@drawable/ic_done_white_24dp"
tools:ignore="ContentDescription"/> tools:ignore="ContentDescription"/>