Bug 1476165 - Part 1a: Fix Android Lint - ResourceCycle: Cycle in resource definitions. r=nalexander draft
authorTudor-Gabriel Vîjială <tvijiala@mozilla.com>
Sat, 21 Jul 2018 21:29:01 +0100
changeset 821545 742bb6ef56d2
parent 821479 143984185dce
child 821546 89ece1d03a99
push id117129
push userbmo:tvijiala@mozilla.com
push dateMon, 23 Jul 2018 16:06:46 +0000
reviewersnalexander
bugs1476165
milestone63.0a1
Bug 1476165 - Part 1a: Fix Android Lint - ResourceCycle: Cycle in resource definitions. r=nalexander MozReview-Commit-ID: FZBJe7nUdwq
mobile/android/app/src/photon/res/values/styles.xml
--- a/mobile/android/app/src/photon/res/values/styles.xml
+++ b/mobile/android/app/src/photon/res/values/styles.xml
@@ -8,27 +8,27 @@
         xmlns:tools="http://schemas.android.com/tools"
         xmlns:gecko="http://schemas.android.com/apk/res-auto">
 
     <!--
         Base application styles. This could be overridden in other res/values-XXX/themes.xml.
     -->
     <style name="Widget"/>
 
-    <style name="Widget.BaseButton" parent="android:style/Widget.Button"/>
+    <style name="Widget.BaseButton" parent="@android:style/Widget.Button"/>
 
-    <style name="Widget.BaseDropDownItem" parent="android:style/Widget.DropDownItem"/>
+    <style name="Widget.BaseDropDownItem" parent="@android:style/Widget.DropDownItem"/>
 
-    <style name="Widget.BaseEditText" parent="android:style/Widget.EditText"/>
+    <style name="Widget.BaseEditText" parent="@android:style/Widget.EditText"/>
 
-    <style name="Widget.BaseListView" parent="android:style/Widget.ListView"/>
+    <style name="Widget.BaseListView" parent="@android:style/Widget.ListView"/>
 
-    <style name="Widget.BaseGridView" parent="android:style/Widget.GridView"/>
+    <style name="Widget.BaseGridView" parent="@android:style/Widget.GridView"/>
 
-    <style name="Widget.BaseTextView" parent="android:style/Widget.TextView"/>
+    <style name="Widget.BaseTextView" parent="@android:style/Widget.TextView"/>
 
     <!--
         Application styles. All customizations that are not specific
         to a particular API level can go here.
     -->
     <style name="Widget.Button" parent="Widget.BaseButton">
         <item name="android:textAppearance">@style/TextAppearance.Widget.Button</item>
     </style>
@@ -70,17 +70,17 @@
         <item name="android:paddingLeft">12dip</item>
         <item name="android:paddingStart">12dip</item>
         <item name="android:paddingRight">7dip</item>
         <item name="android:paddingEnd">7dip</item>
         <item name="android:checkMark">?android:attr/listChoiceIndicatorMultiple</item>
         <item name="android:ellipsize">marquee</item>
     </style>
 
-    <style name="Widget.Spinner" parent="android:style/Widget.Spinner">
+    <style name="Widget.Spinner" parent="@android:style/Widget.Spinner">
         <item name="android:minWidth">@dimen/doorhanger_input_width</item>
     </style>
 
     <style name="Gecko.PreferenceCategory" parent="TextAppearance.AppCompat.Body2">
         <item name="android:textColor">@color/fennec_ui_accent</item>
         <item name="android:padding">24dp</item>
     </style>