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

Commit b609eca6 authored by Shubham Basu's avatar Shubham Basu
Browse files

adding matrial next overline text style for subheader

Bug: 188819618
Test: manual

screenshot pre-S: https://screenshot.googleplex.com/ArkxkE6zJZiMiX3.png
screenshot android S: https://screenshot.googleplex.com/5iSze2rMXbDWdpV

Change-Id: I278241aa492e60b63932ed8d7e9e2317be674da3
parent c8c87d8b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,8 +72,7 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:textAppearance="@style/SortTitle"
            android:textAllCaps="true"
            android:textAppearance="@style/SectionHeader"
            android:maxLines="1"
            android:ellipsize="end"
            android:gravity="start|center_vertical"/>
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 The Android Open Source 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>
    <style name="SectionHeader" parent="@*android:style/TextAppearance.DeviceDefault.Medium">
        <item name="android:textColor">?android:attr/textColorPrimary</item>
        <item name="fontFamily">@string/config_fontFamilyMedium</item>
        <item name="android:textSize">12sp</item>
    </style>
</resources>
+7 −0
Original line number Diff line number Diff line
@@ -19,6 +19,13 @@
        <item name="android:textSize">11sp</item>
    </style>

    <style name="SectionHeader" parent="@*android:style/TextAppearance.DeviceDefault.Medium">
        <item name="android:textColor">?android:attr/textColorPrimary</item>
        <item name="android:textAllCaps">true</item>
        <item name="fontFamily">@string/config_fontFamilyMedium</item>
        <item name="android:textSize">12sp</item>
    </style>

    <style name="SortList" parent="@style/TextAppearance.AppCompat.Subhead">
        <item name="android:textColor">@color/sort_list_text</item>
        <item name="fontFamily">@string/config_fontFamilyMedium</item>