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

Commit d0adc72a authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

systemui: Tweak the media queue UX

 * Make the fonts smaller and reduce the padding.

Change-Id: I37e2b632029d5dba905c72ccff4a18a4f8354294
parent 84b06b50
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@
    android:layout_width="match_parent"
    android:background="@drawable/queue_bg"
    android:layout_height="@dimen/queue_row_height"
    android:paddingTop="4dp"
    android:paddingBottom="4dp"
    android:paddingTop="2dp"
    android:paddingBottom="2dp"
    android:paddingStart="16dp"
    android:paddingEnd="16dp">

@@ -41,13 +41,13 @@
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/TextAppearance.NotificationGuts.Primary"
            style="@style/TextAppearance.MediaQueue.Title"
            android:id="@+id/title"/>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/TextAppearance.NotificationGuts.Header"
            style="@style/TextAppearance.MediaQueue.Subtitle"
            android:id="@+id/summary"/>
    </LinearLayout>

+34 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The CyanogenMod Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources xmlns:android="http://schemas.android.com/apk/res/android">

    <!-- Fonts used in the MediaQueue -->
    <style name="TextAppearance.MediaQueue">
        <item name="android:textSize">14sp</item>
        <item name="android:fontFamily">roboto-regular</item>
        <item name="android:textColor">@android:color/black</item>
    </style>
    <style name="TextAppearance.MediaQueue.Title">
        <item name="android:alpha">.87</item>
        <item name="android:textSize">14sp</item>
    </style>
    <style name="TextAppearance.MediaQueue.Subtitle">
        <item name="android:alpha">.38</item>
        <item name="android:textSize">12sp</item>
    </style>

</resources>