Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b81bfff authored by Fabrice Di Meglio's avatar Fabrice Di Meglio
Browse files

Update Dashboard font sizes to match UX spec

- 16sp for title (medium text)
- 14sp for sub-title (small text)
- 14sp for category title

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

Change-Id: I04eb99b4df1ffcb60bb906ed3e1ea588e886dba4
parent dcb73d82
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@
            android:singleLine="true"
            android:ellipsize="marquee"
            android:gravity="center_vertical"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:textAppearance="@style/TextAppearance.Small"
            android:textAlignment="viewStart"
            />

+2 −2
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:singleLine="true"
                  android:textAppearance="?android:attr/textAppearanceMedium"
                  android:textAppearance="@style/TextAppearance.Medium"
                  android:ellipsize="marquee"
                  android:fadingEdge="horizontal" />

@@ -48,7 +48,7 @@
                  android:layout_height="wrap_content"
                  android:layout_below="@android:id/title"
                  android:layout_alignStart="@android:id/title"
                  android:textAppearance="?android:attr/textAppearanceSmall"
                  android:textAppearance="@style/TextAppearance.Small"
                  android:textColor="?android:attr/textColorSecondary"
                  />

+9 −1
Original line number Diff line number Diff line
@@ -258,7 +258,15 @@
        <item name="android:layout">@layout/apn_preference_layout</item>
    </style>

    <style name="TextAppearance.Switch" parent="@android:style/TextAppearance.Quantum.Medium">
    <style name="TextAppearance.Medium" parent="@android:style/TextAppearance.Quantum.Medium">
        <item name="android:textSize">16sp</item>
    </style>

    <style name="TextAppearance.Small" parent="@android:style/TextAppearance.Quantum.Small">
        <item name="android:textSize">14sp</item>
    </style>

    <style name="TextAppearance.Switch" parent="TextAppearance.Medium">
    </style>

</resources>