summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2010-10-05 16:39:24 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-10-05 16:39:24 -0700
commit59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8 (patch)
tree613ed8b6ba7c89b4be9ac6f43174f5669fbb8c5e /core/res
parent5a5fff7101b45bc28f59e72ea4c3e57632ff9ceb (diff)
parent737e8fe2c7ce167bc68ad779160488007a5e0b1d (diff)
downloadframeworks_base-59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8.zip
frameworks_base-59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8.tar.gz
frameworks_base-59c4cb9e8fee03f770aa0fa1a2f0ec84ffb945b8.tar.bz2
Merge "DO NOT MERGE Fix bug 3001751 and bug 3001584 - Gingerbread API review for over-scroll" into gingerbread
Diffstat (limited to 'core/res')
-rw-r--r--core/res/res/layout/alert_dialog.xml2
-rw-r--r--core/res/res/layout/preference_dialog_edittext.xml2
-rw-r--r--core/res/res/layout/select_dialog.xml2
-rwxr-xr-xcore/res/res/values/attrs.xml19
-rw-r--r--core/res/res/values/public.xml6
5 files changed, 16 insertions, 15 deletions
diff --git a/core/res/res/layout/alert_dialog.xml b/core/res/res/layout/alert_dialog.xml
index 25a41f8..d461f40 100644
--- a/core/res/res/layout/alert_dialog.xml
+++ b/core/res/res/layout/alert_dialog.xml
@@ -81,7 +81,7 @@
android:paddingBottom="12dip"
android:paddingLeft="14dip"
android:paddingRight="10dip"
- android:overscrollMode="ifContentScrolls">
+ android:overScrollMode="ifContentScrolls">
<TextView android:id="@+id/message"
style="?android:attr/textAppearanceMedium"
android:layout_width="match_parent"
diff --git a/core/res/res/layout/preference_dialog_edittext.xml b/core/res/res/layout/preference_dialog_edittext.xml
index b41e774..b2a4368 100644
--- a/core/res/res/layout/preference_dialog_edittext.xml
+++ b/core/res/res/layout/preference_dialog_edittext.xml
@@ -18,7 +18,7 @@
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:overscrollMode="ifContentScrolls">
+ android:overScrollMode="ifContentScrolls">
<LinearLayout
android:id="@+android:id/edittext_container"
diff --git a/core/res/res/layout/select_dialog.xml b/core/res/res/layout/select_dialog.xml
index 6e4e5e1..a1a3e76 100644
--- a/core/res/res/layout/select_dialog.xml
+++ b/core/res/res/layout/select_dialog.xml
@@ -32,4 +32,4 @@
android:cacheColorHint="@null"
android:divider="@android:drawable/divider_horizontal_bright"
android:scrollbars="vertical"
- android:overscrollMode="ifContentScrolls" />
+ android:overScrollMode="ifContentScrolls" />
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml
index 6f0ce71..6370696 100755
--- a/core/res/res/values/attrs.xml
+++ b/core/res/res/values/attrs.xml
@@ -1351,16 +1351,17 @@
(typically, your Activity). -->
<attr name="onClick" format="string" />
- <!-- Defines overscrolling behavior. This property is used only if the
- View is scrollable. Overscrolling is the ability for the user to
- scroll a View beyond its content boundaries into empty space. -->
- <attr name="overscrollMode">
- <!-- Always allow the user to overscroll the content. -->
+ <!-- Defines over-scrolling behavior. This property is used only if the
+ View is scrollable. Over-scrolling is the ability for the user to
+ receive feedback when attempting to scroll beyond meaningful content. -->
+ <attr name="overScrollMode">
+ <!-- Always show over-scroll effects, even if the content fits entirely
+ within the available space. -->
<enum name="always" value="0" />
- <!-- Only allow the user to overscroll content if the content is large
+ <!-- Only show over-scroll effects if the content is large
enough to meaningfully scroll. -->
<enum name="ifContentScrolls" value="1" />
- <!-- Never overscroll. -->
+ <!-- Never show over-scroll effects. -->
<enum name="never" value="2" />
</attr>
</declare-styleable>
@@ -1797,9 +1798,9 @@
The default value is true. -->
<attr name="footerDividersEnabled" format="boolean" />
<!-- Drawable to draw above list content. -->
- <attr name="overscrollHeader" format="reference|color" />
+ <attr name="overScrollHeader" format="reference|color" />
<!-- Drawable to draw below list content. -->
- <attr name="overscrollFooter" format="reference|color" />
+ <attr name="overScrollFooter" format="reference|color" />
</declare-styleable>
<declare-styleable name="MenuView">
<!-- Default appearance of menu item text. -->
diff --git a/core/res/res/values/public.xml b/core/res/res/values/public.xml
index 10cb446..cc91fb7 100644
--- a/core/res/res/values/public.xml
+++ b/core/res/res/values/public.xml
@@ -1251,9 +1251,9 @@
<public type="attr" name="logo" id="0x010102be" />
<public type="attr" name="xlargeScreens" id="0x010102bf" />
<public type="attr" name="immersive" id="0x010102c0" />
- <public type="attr" name="overscrollMode" id="0x010102c1" />
- <public type="attr" name="overscrollHeader" id="0x010102c2" />
- <public type="attr" name="overscrollFooter" id="0x010102c3" />
+ <public type="attr" name="overScrollMode" id="0x010102c1" />
+ <public type="attr" name="overScrollHeader" id="0x010102c2" />
+ <public type="attr" name="overScrollFooter" id="0x010102c3" />
<public type="attr" name="filterTouchesWhenObscured" id="0x010102c4" />
<public type="attr" name="textSelectHandleLeft" id="0x010102c5" />
<public type="attr" name="textSelectHandleRight" id="0x010102c6" />