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

Commit 695c518a authored by Mike LeBeau's avatar Mike LeBeau Committed by The Android Open Source Project
Browse files

am a38b427a: Add a search url text color attribute and theme. For search...

am a38b427a: Add a search url text color attribute and theme. For search suggestions in global search (and in related apps using system search like the browser), we\'d like to have a consistent green color used for urls. This makes it available system-wide.

Merge commit 'a38b427a'

* commit 'a38b427a':
  Add a search url text color attribute and theme. For search suggestions
parents 435616f1 a38b427a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -80,6 +80,9 @@
        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
        
        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
        <attr name="textColorSearchUrl" format="reference|color" />

        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
        <attr name="textAppearanceLarge" format="reference" />
        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
@@ -99,6 +102,7 @@
        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. @hide -->	
        <attr name="textAppearanceSearchResultSubtitle" format="reference" />


        <!-- Text color, typeface, size, and style for the text inside of a button. -->
        <attr name="textAppearanceButton" format="reference" />

+3 −0
Original line number Diff line number Diff line
@@ -73,5 +73,8 @@
    <color name="perms_normal_grp_color">#eeeeee</color>
    <color name="perms_normal_perm_color">#c0c0c0</color>
    
    <!-- For search-related UIs -->
    <color name="search_url_text">#7fa87f</color>

</resources>
+1 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@
        <item name="textColorSecondaryInverseNoDisable">@android:color/secondary_text_light_nodisable</item>
        <item name="textColorHint">@android:color/hint_foreground_dark</item>
        <item name="textColorHintInverse">@android:color/hint_foreground_light</item>
        <item name="textColorSearchUrl">@android:color/search_url_text</item>

        <item name="textAppearanceLarge">@android:style/TextAppearance.Large</item>
        <item name="textAppearanceMedium">@android:style/TextAppearance.Medium</item>