Bug 848070 - Import View attributes to TwoWayView (r=mfinkle)
authorLucas Rocha <lucasr@mozilla.com>
Fri, 15 Mar 2013 15:04:54 +0000
changeset 124973 ac609be0e1391cb04f5cdeb5db1d0538545a8fe9
parent 124972 9c63866c0b1d2b80bb85dfc933d601dca2b4c616
child 124974 aaf32e584c536d11b33d988afedd2360aaf50bd0
push id24438
push userphilringnalda@gmail.com
push dateSat, 16 Mar 2013 22:12:32 +0000
treeherdermozilla-central@0b052daa913c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs848070
milestone22.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 848070 - Import View attributes to TwoWayView (r=mfinkle)
mobile/android/base/resources/values/attrs.xml
--- a/mobile/android/base/resources/values/attrs.xml
+++ b/mobile/android/base/resources/values/attrs.xml
@@ -70,32 +70,87 @@
 
     <declare-styleable name="LightweightTheme">
         <attr name="state_light" format="boolean"/>
         <attr name="state_dark" format="boolean"/>
         <attr name="autoUpdateTheme" format="boolean"/>
     </declare-styleable>
 
     <declare-styleable name="TwoWayView">
-
-        <attr name="android:orientation"/>
-
-        <attr name="android:choiceMode"/>
-
-        <attr name="android:drawSelectorOnTop"/>
-        <attr name="android:listSelector"/>
-
-        <attr name="android:scrollbarAlwaysDrawHorizontalTrack"/>
-        <attr name="android:scrollbarAlwaysDrawVerticalTrack"/>
+        <!-- Imported from View -->
+        <attr name="android:id"/>
+        <attr name="android:tag"/>
+        <attr name="android:scrollX"/>
+        <attr name="android:scrollY"/>
+        <attr name="android:background"/>
+        <attr name="android:padding"/>
+        <attr name="android:paddingLeft"/>
+        <attr name="android:paddingTop"/>
+        <attr name="android:paddingRight"/>
+        <attr name="android:paddingBottom"/>
+        <attr name="android:paddingStart"/>
+        <attr name="android:paddingEnd"/>
+        <attr name="android:focusable"/>
+        <attr name="android:focusableInTouchMode"/>
+        <attr name="android:visibility"/>
+        <attr name="android:fitsSystemWindows"/>
+        <attr name="android:scrollbars"/>
+        <attr name="android:scrollbarStyle"/>
+        <attr name="android:isScrollContainer"/>
+        <attr name="android:fadeScrollbars"/>
+        <attr name="android:scrollbarFadeDuration"/>
         <attr name="android:scrollbarDefaultDelayBeforeFade"/>
-        <attr name="android:scrollbarFadeDuration"/>
         <attr name="android:scrollbarSize"/>
-        <attr name="android:scrollbarStyle"/>
         <attr name="android:scrollbarThumbHorizontal"/>
         <attr name="android:scrollbarThumbVertical"/>
         <attr name="android:scrollbarTrackHorizontal"/>
         <attr name="android:scrollbarTrackVertical"/>
-        <attr name="android:scrollbars"/>
+        <attr name="android:scrollbarAlwaysDrawHorizontalTrack"/>
+        <attr name="android:scrollbarAlwaysDrawVerticalTrack"/>
+        <attr name="android:fadingEdge"/>
+        <attr name="android:requiresFadingEdge"/>
+        <attr name="android:fadingEdgeLength"/>
+        <attr name="android:nextFocusLeft"/>
+        <attr name="android:nextFocusRight"/>
+        <attr name="android:nextFocusUp"/>
+        <attr name="android:nextFocusDown"/>
+        <attr name="android:nextFocusForward"/>
+        <attr name="android:clickable"/>
+        <attr name="android:longClickable"/>
+        <attr name="android:saveEnabled"/>
+        <attr name="android:filterTouchesWhenObscured"/>
+        <attr name="android:drawingCacheQuality"/>
+        <attr name="android:keepScreenOn"/>
+        <attr name="android:duplicateParentState"/>
+        <attr name="android:minHeight"/>
+        <attr name="android:minWidth"/>
+        <attr name="android:soundEffectsEnabled"/>
+        <attr name="android:hapticFeedbackEnabled"/>
+        <attr name="android:contentDescription"/>
+        <attr name="android:onClick"/>
+        <attr name="android:overScrollMode"/>
+        <attr name="android:alpha"/>
+        <attr name="android:translationX"/>
+        <attr name="android:translationY"/>
+        <attr name="android:transformPivotX"/>
+        <attr name="android:transformPivotY"/>
+        <attr name="android:rotation"/>
+        <attr name="android:rotationX"/>
+        <attr name="android:rotationY"/>
+        <attr name="android:scaleX"/>
+        <attr name="android:scaleY"/>
+        <attr name="android:verticalScrollbarPosition"/>
+        <attr name="android:layerType"/>
+        <attr name="android:layoutDirection"/>
+        <attr name="android:textDirection"/>
+        <attr name="android:textAlignment"/>
 
+        <!-- Imported from Android -->
+        <attr name="android:orientation"/>
+
+        <!-- Imported from AbsListView -->
+        <attr name="android:choiceMode"/>
+        <attr name="android:drawSelectorOnTop"/>
+        <attr name="android:listSelector"/>
     </declare-styleable>
 
 </resources>