summaryrefslogtreecommitdiff
path: root/core/java/android/widget/ScrollView.java
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-01-15 16:12:10 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-01-15 16:12:10 -0800
commit9266c558bf1d21ff647525ff99f7dadbca417309 (patch)
tree1630b1ba80f4793caf39d865528e662bdb1037fe /core/java/android/widget/ScrollView.java
parentb798689749c64baba81f02e10cf2157c747d6b46 (diff)
auto import from //branches/cupcake/...@126645
Diffstat (limited to 'core/java/android/widget/ScrollView.java')
-rw-r--r--core/java/android/widget/ScrollView.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/core/java/android/widget/ScrollView.java b/core/java/android/widget/ScrollView.java
index a2133b29c6d2..20166cf72af6 100644
--- a/core/java/android/widget/ScrollView.java
+++ b/core/java/android/widget/ScrollView.java
@@ -125,18 +125,7 @@ public class ScrollView extends FrameLayout {
private boolean mSmoothScrollingEnabled = true;
public ScrollView(Context context) {
- super(context);
- initScrollView();
-
- setVerticalScrollBarEnabled(true);
- setVerticalFadingEdgeEnabled(true);
-
- TypedArray a = context.obtainStyledAttributes(R.styleable.View);
-
- initializeScrollbars(a);
- initializeFadingEdge(a);
-
- a.recycle();
+ this(context, null);
}
public ScrollView(Context context, AttributeSet attrs) {
@@ -199,7 +188,6 @@ public class ScrollView extends FrameLayout {
setFocusable(true);
setDescendantFocusability(FOCUS_AFTER_DESCENDANTS);
setWillNotDraw(false);
- setScrollContainer(true);
}
@Override