Improve the Dashboard layout

- make the category text header taller and centered

See bug #13140648 Settings needs to support the new Quantum Paper theme

Change-Id: I557211db923f106a83d65d090ce610c76fa53d5e
This commit is contained in:
Fabrice Di Meglio
2014-05-16 16:13:40 -07:00
parent cf4b8f228e
commit 94c9e177a4
2 changed files with 4 additions and 1 deletions

View File

@@ -22,9 +22,10 @@
<TextView android:id="@+id/category_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="@dimen/dashboard_category_title_height"
android:singleLine="true"
android:ellipsize="marquee"
android:gravity="center_vertical"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textAlignment="viewStart"
/>

View File

@@ -88,4 +88,6 @@
<!-- Dashboard padding between each tiles within the layout -->
<dimen name="dashboard_cell_gap">4dp</dimen>
<dimen name="dashboard_category_title_height">48dp</dimen>
</resources>