Distribute the service indicator views in the drawer header layout
People have voted, and that was the chosen design.
This commit is contained in:
parent
5169ef1f00
commit
697f0659e2
1 changed files with 26 additions and 19 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue