diff --git a/core/java/android/widget/AbsListView.java b/core/java/android/widget/AbsListView.java index f62487f06c72d..c0fa64f445a96 100644 --- a/core/java/android/widget/AbsListView.java +++ b/core/java/android/widget/AbsListView.java @@ -583,13 +583,7 @@ public abstract class AbsListView extends AdapterView implements Te boolean smoothScrollbar = a.getBoolean(R.styleable.AbsListView_smoothScrollbar, true); setSmoothScrollbarEnabled(smoothScrollbar); - int defaultGestures = GESTURES_NONE; - if (useTextFilter) { - defaultGestures = GESTURES_FILTER; - } else if (enableFastScroll) { - defaultGestures = GESTURES_JUMP; - } - int gestures = a.getInt(R.styleable.AbsListView_gestures, defaultGestures); + int gestures = a.getInt(R.styleable.AbsListView_gestures, GESTURES_NONE); setGestures(gestures); a.recycle(); diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index cda7431856786..6a9ca83326852 100644 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -64,7 +64,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -97,28 +97,28 @@ - - - + + + - + - + - + @@ -143,7 +143,7 @@ - + @@ -163,20 +163,20 @@ + the indicator that will be shown to next to the item. --> + If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> + indicator, use expandableListPreferredChildIndicatorLeft. --> + indicator, use expandableListPreferredChildIndicatorRight. --> - + - + @@ -225,7 +225,7 @@ any of the attributes defined by {@link android.R.styleable#WindowAnimation}. --> - + @@ -247,7 +247,7 @@ - + - + - + - + @@ -387,7 +387,7 @@ - + @@ -408,7 +408,7 @@ - + @@ -426,7 +426,7 @@ --> - + @@ -434,26 +434,26 @@ - + - + - + - + - + - + @@ -462,7 +462,7 @@ - + - + @@ -774,11 +774,11 @@ - - + @@ -911,7 +911,7 @@ - + @@ -955,7 +955,7 @@ allows you to later retrieve the view with findViewById(R.id.my_id). --> - + - + @@ -977,7 +977,7 @@ @@ -1049,14 +1049,14 @@ - + - + @@ -1118,10 +1118,10 @@ - + - + - + @@ -1147,16 +1147,16 @@ - + - + - + @@ -1218,7 +1218,7 @@ - + - + @@ -1340,7 +1340,7 @@ - @@ -1363,13 +1363,13 @@ already visible on screen. --> + are currently visible. --> - + fast scroll to be enabled. --> - + @@ -1471,7 +1468,7 @@ - @@ -1481,14 +1478,14 @@ + use childIndicatorLeft. --> + use childIndicatorRight. --> - + - + - - @@ -1598,7 +1595,7 @@ @@ -1643,7 +1640,7 @@ - + @@ -1676,27 +1673,27 @@ - + - + - + - + - + - - - - - - - - + + + + + + + + - + @@ -1718,7 +1715,7 @@ indices are ignored. You can shrink all columns by using the value "*" instead. Note that a column can be marked stretchable and shrinkable at the same time. --> - + @@ -1819,7 +1816,7 @@ - @@ -1944,7 +1941,7 @@ - @@ -2035,7 +2032,7 @@ - + @@ -2197,7 +2194,7 @@ {@link android.graphics.drawable.Drawable#setVisible} --> - + - + @@ -2222,15 +2219,15 @@ restarting at the first frame after the last has finished. --> - + - + - + @@ -2253,18 +2250,18 @@ - + - + - + @@ -2275,18 +2272,18 @@ - + - + - + @@ -2294,14 +2291,14 @@ - + - + @@ -2310,7 +2307,7 @@ - + @@ -2318,7 +2315,7 @@ - + @@ -2474,7 +2471,7 @@ - + @@ -2517,14 +2514,14 @@ - + - + @@ -2533,14 +2530,14 @@ - + - + @@ -2602,12 +2599,12 @@ - + - + @@ -2717,18 +2714,18 @@ - + - + - + - + @@ -2738,7 +2735,7 @@ @@ -2747,29 +2744,29 @@ plain text. This is a reference to a drawable (icon) resource. Optional attribute. --> - - - + - + @@ -2818,14 +2815,14 @@ - - - + - + - + - + - + - + - + - + - + - + - + @@ -2949,11 +2946,11 @@ - + - + @@ -2964,7 +2961,7 @@ this group. --> - + @@ -2978,7 +2975,7 @@ - + @@ -2989,15 +2986,15 @@ - + + the title should be sufficient in describing this item. --> - + @@ -3005,14 +3002,14 @@ - + - - - + @@ -3038,7 +3035,7 @@ with a View's attributes. Some subclasses (e.g., EditTextPreference) proxy all attributes to its EditText widget. --> - + @@ -3167,7 +3164,7 @@ it had previously been shown. --> - + @@ -3200,13 +3197,13 @@ - + - + - @@ -3289,7 +3286,7 @@ If not supplied, then no activity will be launched. --> - - + +