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

Commit b2032416 authored by Doris Ling's avatar Doris Ling
Browse files

Use color accent as background color for app info pages.

Bug: 34977561
Test: visual
Change-Id: Idc03d33a318d7908a47e76738f7d098ab60fb0fe
parent 5e2545c3
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/app_snippet"
    style="@style/EntityHeader"
    style="@style/AppInfoHeader"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal|top"
@@ -79,7 +79,7 @@

            <TextView
                android:id="@+id/app_detail_title"
                style="@style/TextAppearance.EntityHeaderTitle"
                style="@style/TextAppearance.AppInfoTitle"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:singleLine="false"
@@ -89,24 +89,22 @@

            <TextView
                android:id="@+id/install_type"
                style="@style/TextAppearance.AppInfoSummary"
                android:visibility="gone"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="start"
                android:singleLine="true"
                android:ellipsize="marquee"
                android:textAppearance="@android:style/TextAppearance.Material.Body1"
                android:textColor="?android:attr/textColorSecondary"/>
                android:ellipsize="marquee"/>

            <TextView
                android:id="@+id/app_detail_summary"
                style="@style/TextAppearance.AppInfoSummary"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="start"
                android:singleLine="true"
                android:ellipsize="marquee"
                android:textAppearance="@android:style/TextAppearance.Material.Body1"
                android:textColor="?android:attr/textColorSecondary"/>
                android:ellipsize="marquee"/>

        </LinearLayout>

+13 −0
Original line number Diff line number Diff line
@@ -428,6 +428,19 @@
        <item name="android:textSize">24sp</item>
    </style>

    <style name="AppInfoHeader" parent="EntityHeader">
        <item name="android:background">?android:attr/colorAccent</item>
    </style>

    <style name="TextAppearance.AppInfoTitle" parent="TextAppearance.EntityHeaderTitle">
        <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    </style>

    <style name="TextAppearance.AppInfoSummary"
           parent="@android:style/TextAppearance.Material.Body1">
        <item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
    </style>

    <style name="AppActionPrimaryButton" parent="android:Widget.Material.Button.Colored"/>

    <style name="LockPatternStyle">