Distribute the service indicator views in the drawer header layout

People have voted, and that was the chosen design.
This commit is contained in:
Mauricio Colli 2020-03-25 09:40:15 -03:00
parent 5169ef1f00
commit 697f0659e2
No known key found for this signature in database
GPG key ID: F200BFD6F29DDD85

View file

@ -66,6 +66,13 @@
android:paddingLeft="6dp" android:paddingLeft="6dp"
android:paddingRight="6dp"> android:paddingRight="6dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal">
<ImageView <ImageView
android:id="@+id/drawer_header_service_icon" android:id="@+id/drawer_header_service_icon"
android:layout_width="@dimen/drawer_header_service_icon_size" android:layout_width="@dimen/drawer_header_service_icon_size"
@ -85,8 +92,8 @@
android:maxLines="1" android:maxLines="1"
android:textColor="@color/drawer_header_font_color" android:textColor="@color/drawer_header_font_color"
android:textSize="@dimen/drawer_header_service_title_text_size" android:textSize="@dimen/drawer_header_service_title_text_size"
android:textStyle="italic"
tools:text="YouTube" /> tools:text="YouTube" />
</LinearLayout>
<ImageView <ImageView
android:id="@+id/drawer_arrow" android:id="@+id/drawer_arrow"