summaryrefslogtreecommitdiff
path: root/core/java/android/widget/RadioGroup.java
diff options
context:
space:
mode:
authorPhilip Milne <pmilne@google.com>2012-05-31 10:30:09 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-05-31 10:30:09 -0700
commit0597161ee43cfaa7dbe14691a134fb358a00317a (patch)
tree07a18597f6057118321835913d01b4f2361c0a29 /core/java/android/widget/RadioGroup.java
parentb84814b27956930411356a1bae13744f6c327e69 (diff)
parentc29f031598811486d83f418fd08fbfe1fc41788a (diff)
Merge "Fix for bug 6050753."
Diffstat (limited to 'core/java/android/widget/RadioGroup.java')
-rw-r--r--core/java/android/widget/RadioGroup.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/core/java/android/widget/RadioGroup.java b/core/java/android/widget/RadioGroup.java
index f217c9c67336..338b8d660126 100644
--- a/core/java/android/widget/RadioGroup.java
+++ b/core/java/android/widget/RadioGroup.java
@@ -297,33 +297,6 @@ public class RadioGroup extends LinearLayout {
public LayoutParams(MarginLayoutParams source) {
super(source);
}
-
- /**
- * <p>Fixes the child's width to
- * {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT} and the child's
- * height to {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT}
- * when not specified in the XML file.</p>
- *
- * @param a the styled attributes set
- * @param widthAttr the width attribute to fetch
- * @param heightAttr the height attribute to fetch
- */
- @Override
- protected void setBaseAttributes(TypedArray a,
- int widthAttr, int heightAttr) {
-
- if (a.hasValue(widthAttr)) {
- width = a.getLayoutDimension(widthAttr, "layout_width");
- } else {
- width = WRAP_CONTENT;
- }
-
- if (a.hasValue(heightAttr)) {
- height = a.getLayoutDimension(heightAttr, "layout_height");
- } else {
- height = WRAP_CONTENT;
- }
- }
}
/**