attrs.xml (5312B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <resources> 6 <!-- Design system color attributes --> 7 8 <!-- Layers --> 9 <!-- Card background, Menu background, Dialog, Banner --> 10 <attr name="layer2" format="reference" /> 11 <!-- Search --> 12 <attr name="layer3" format="reference" /> 13 <attr name="scrim" format="reference" /> 14 15 <!-- Action --> 16 <!-- Primary button, Snackbar, Floating action button --> 17 <attr name="actionPrimary" format="reference" /> 18 <!-- Primary button in a disabled state --> 19 <attr name="actionPrimaryDisabled" format="reference" /> 20 21 <!-- Text --> 22 <!-- Primary text --> 23 <attr name="textPrimary" format="reference" /> 24 <!-- Secondary text --> 25 <attr name="textSecondary" format="reference" /> 26 <!-- Disabled text --> 27 <attr name="textDisabled" format="reference" /> 28 <!-- Warning text --> 29 <attr name="textCritical" format="reference"/> 30 <!-- Small heading, Text link --> 31 <attr name="textAccent" format="reference" /> 32 <!-- Text Inverted/On Color --> 33 <attr name="textOnColorPrimary" format="reference" /> 34 <!-- Action Primary text --> 35 <attr name="textActionPrimary" format="reference" /> 36 <!-- Action Primary disabled text --> 37 <attr name="textActionPrimaryDisabled" format="reference" /> 38 39 <!-- Icon --> 40 <!-- Icon inverted (on color) --> 41 <attr name="iconOnColor" format="reference" /> 42 43 <!-- Color palette attributes --> 44 <attr name="accent" format="reference" /> 45 <attr name="accentBright" format="reference" /> 46 <attr name="accentHighContrast" format="reference" /> 47 <attr name="accentUsedOnDarkBackground" format="reference" /> 48 <attr name="neutral" format="reference" /> 49 <attr name="neutralFaded" format="reference" /> 50 51 <!-- Color used in DefaultToolbarMenu for buttons placed at the end of menu items --> 52 <attr name="menuItemButtonTintColor" format="reference"/> 53 54 <!-- Misc --> 55 <attr name="torBootstrapBackground" format="reference"/> 56 <attr name="bottomBarBackground" format="reference"/> 57 <attr name="bottomBarBackgroundTop" format="reference"/> 58 <attr name="fenixLogo" format="reference" /> 59 <attr name="fenixWordmarkText" format="reference" /> 60 <attr name="fenixWordmarkLogo" format="reference" /> 61 <attr name="toolbarStartGradient" format="reference"/> 62 <attr name="toolbarCenterGradient" format="reference"/> 63 <attr name="toolbarEndGradient" format="reference"/> 64 <attr name="fillLinkFromClipboard" format="reference"/> 65 <attr name="syncDisconnected" format="reference" /> 66 <attr name="syncDisconnectedBackground" format="reference" /> 67 <attr name="addOnPrivateBrowsingExteriorCircleBackground" format="reference"/> 68 <attr name="awesomeBarIndicatorColor" format="reference|color"/> 69 <attr name="awesomeBarIndicatorBookmarkColor" format="reference|color"/> 70 71 <declare-styleable name="TrackingProtectionCategory"> 72 <attr name="categoryItemTitle" format="reference" /> 73 <attr name="categoryItemDescription" format="reference" /> 74 </declare-styleable> 75 76 <declare-styleable name="SwitchWithDescription"> 77 <attr name="switchTitle" format="reference" /> 78 <attr name="switchDescriptionOn" format="reference" /> 79 <attr name="switchDescriptionOff" format="reference" /> 80 <attr name="switchIconOn" format="reference" /> 81 <attr name="switchIconOff" format="reference" /> 82 <attr name="switchShowIcon" format="boolean" /> 83 </declare-styleable> 84 85 <declare-styleable name="DeleteBrowsingDataItem"> 86 <attr name="deleteBrowsingDataItemTitle" format="reference" /> 87 <attr name="deleteBrowsingDataItemSubtitle" format="reference" /> 88 <attr name="deleteBrowsingDataItemIcon" format="reference" /> 89 </declare-styleable> 90 91 <attr name="selectPromptHeaderTextColor" format="reference"/> 92 93 <declare-styleable name="TextPercentageSeekBarPreference"> 94 <attr format="integer" name="min"/> 95 <attr name="android:max"/> 96 <attr name="android:layout"/> 97 <attr format="integer" name="seekBarIncrement"/> 98 <attr format="boolean" name="adjustable"/> 99 <attr format="boolean" name="showSeekBarValue"/> 100 <attr format="boolean" name="updatesContinuously"/> 101 </declare-styleable> 102 103 <declare-styleable name="RadioButtonPreference"> 104 <attr format="string|boolean|integer|reference|float" name="defaultValue"/> 105 <attr name="android:defaultValue"/> 106 </declare-styleable> 107 108 <declare-styleable name="TwoOptionTogglePreference"> 109 <attr name="sharedPreferenceKey" format="string" /> 110 <attr name="trueOptionTitle" format="string" /> 111 <attr name="falseOptionTitle" format="string" /> 112 <attr name="trueOptionIconRes" format="reference" /> 113 <attr name="falseOptionIconRes" format="reference" /> 114 </declare-styleable> 115 116 <declare-styleable name="PreferenceBackedRadioButton"> 117 <attr format="string" name="preferenceKey"/> 118 <attr format="boolean" name="preferenceKeyDefaultValue"/> 119 </declare-styleable> 120 </resources>