tune fancymenu layout

This commit is contained in:
Adrian Ulrich 2018-11-02 21:10:02 +01:00
parent 0df0328eef
commit 1d11f64e9e
2 changed files with 10 additions and 6 deletions

View File

@ -1,21 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="@dimen/row_narrow_height"
android:layout_height="@dimen/row_normal_height"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon"
android:layout_height="wrap_content"
android:layout_width="wrap_content" />
android:layout_marginLeft="@dimen/cover_padding"
android:layout_gravity="left|center_vertical"
android:layout_height="32sp"
android:layout_width="32sp" />
<TextView
android:id="@+id/text"
android:textColor="?android:textColorPrimary"
android:gravity="left|center_vertical"
android:textSize="@dimen/material_text_subhead"
android:layout_marginLeft="@dimen/text_padding"
android:layout_gravity="left|center_vertical"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1" />
</LinearLayout>

View File

@ -7,7 +7,7 @@
<dimen name="cover_padding_with_pmark">10sp</dimen>
<dimen name="text_padding">14sp</dimen>
<dimen name="row_normal_height">56sp</dimen>
<dimen name="row_narrow_height">38sp</dimen>
<dimen name="controls_padding">4dip</dimen>
<dimen name="track_details_dialog_padding">8dp</dimen>
<dimen name="material_text_subhead">16sp</dimen>
</resources>