summaryrefslogtreecommitdiffstats
path: root/core/java/android/widget
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2009-06-04 15:10:46 -0700
committerRomain Guy <romainguy@android.com>2009-06-04 15:10:46 -0700
commita1f3e4aef19882b4b81075d9205bd363efe1e66d (patch)
tree8c7587f0b7db09da341249e78317136fddcbbb8e /core/java/android/widget
parent3d3e307a63144b1bddd534fefd35a557223d52bf (diff)
downloadframeworks_base-a1f3e4aef19882b4b81075d9205bd363efe1e66d.zip
frameworks_base-a1f3e4aef19882b4b81075d9205bd363efe1e66d.tar.gz
frameworks_base-a1f3e4aef19882b4b81075d9205bd363efe1e66d.tar.bz2
Fix int to string mapping of exported properties. The value generated by the
mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
Diffstat (limited to 'core/java/android/widget')
-rw-r--r--core/java/android/widget/RelativeLayout.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/java/android/widget/RelativeLayout.java b/core/java/android/widget/RelativeLayout.java
index ef240e0..84cf2c8 100644
--- a/core/java/android/widget/RelativeLayout.java
+++ b/core/java/android/widget/RelativeLayout.java
@@ -37,19 +37,19 @@ import java.util.TreeSet;
* A Layout where the positions of the children can be described in relation to each other or to the
* parent. For the sake of efficiency, the relations between views are evaluated in one pass, so if
* view Y is dependent on the position of view X, make sure the view X comes first in the layout.
- *
+ *
* <p>
* Note that you cannot have a circular dependency between the size of the RelativeLayout and the
* position of its children. For example, you cannot have a RelativeLayout whose height is set to
* {@link android.view.ViewGroup.LayoutParams#WRAP_CONTENT WRAP_CONTENT} and a child set to
* {@link #ALIGN_PARENT_BOTTOM}.
* </p>
- *
+ *
* <p>
* Also see {@link android.widget.RelativeLayout.LayoutParams RelativeLayout.LayoutParams} for
* layout attributes
* </p>
- *
+ *
* @attr ref android.R.styleable#RelativeLayout_gravity
* @attr ref android.R.styleable#RelativeLayout_ignoreGravity
*/
@@ -327,7 +327,7 @@ public class RelativeLayout extends ViewGroup {
}
if (widthMode != MeasureSpec.EXACTLY) {
- // Width already has left padding in it since it was calculated by looking at
+ // Width already has left padding in it since it was calculated by looking at
// the right of each child view
width += mPaddingRight;
@@ -339,7 +339,7 @@ public class RelativeLayout extends ViewGroup {
width = resolveSize(width, widthMeasureSpec);
}
if (heightMode != MeasureSpec.EXACTLY) {
- // Height already has top padding in it since it was calculated by looking at
+ // Height already has top padding in it since it was calculated by looking at
// the bottom of each child view
height += mPaddingBottom;
@@ -881,7 +881,7 @@ public class RelativeLayout extends ViewGroup {
@ViewDebug.IntToString(from = RIGHT_OF, to = "rightOf")
}, mapping = {
@ViewDebug.IntToString(from = TRUE, to = "true"),
- @ViewDebug.IntToString(from = 0, to = "FALSE/NO_ID")
+ @ViewDebug.IntToString(from = 0, to = "false/NO_ID")
})
private int[] mRules = new int[VERB_COUNT];