Преглед изворни кода

fixing whitespacing below mini FABs

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger пре 2 година
родитељ
комит
98084a4f88
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      app/src/main/res/layout/controller_profile.xml

+ 5 - 3
app/src/main/res/layout/controller_profile.xml

@@ -29,8 +29,7 @@
     <RelativeLayout
         android:id="@+id/avatarContainer"
         android:layout_width="match_parent"
-        android:layout_height="wrap_content"
-        android:layout_marginBottom="@dimen/standard_margin">
+        android:layout_height="wrap_content">
 
         <com.facebook.drawee.view.SimpleDraweeView
             android:id="@+id/avatar_image"
@@ -82,6 +81,7 @@
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="@dimen/standard_quarter_margin"
                 android:layout_marginRight="@dimen/standard_quarter_margin"
+                android:layout_marginBottom="@dimen/standard_margin"
                 android:contentDescription="@string/upload_new_avatar_from_device"
                 android:tint="@android:color/white"
                 app:fabSize="mini"
@@ -93,8 +93,8 @@
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="@dimen/standard_quarter_margin"
                 android:layout_marginRight="@dimen/standard_quarter_margin"
+                android:layout_marginBottom="@dimen/standard_margin"
                 android:contentDescription="@string/choose_avatar_from_cloud"
-                android:paddingBottom="@dimen/standard_padding"
                 android:tint="@android:color/white"
                 app:fabSize="mini"
                 app:srcCompat="@drawable/ic_mimetype_folder" />
@@ -105,6 +105,7 @@
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="@dimen/standard_quarter_margin"
                 android:layout_marginRight="@dimen/standard_quarter_margin"
+                android:layout_marginBottom="@dimen/standard_margin"
                 android:contentDescription="@string/set_avatar_from_camera"
                 android:tint="@android:color/white"
                 app:fabSize="mini"
@@ -116,6 +117,7 @@
                 android:layout_height="wrap_content"
                 android:layout_marginLeft="@dimen/standard_quarter_margin"
                 android:layout_marginRight="@dimen/standard_quarter_margin"
+                android:layout_marginBottom="@dimen/standard_margin"
                 android:contentDescription="@string/delete_avatar"
                 android:tint="@android:color/white"
                 app:fabSize="mini"