diff options
author | Fabrice Di Meglio <fdimeglio@google.com> | 2011-06-06 16:30:29 -0700 |
---|---|---|
committer | Fabrice Di Meglio <fdimeglio@google.com> | 2011-06-06 16:41:16 -0700 |
commit | 9e3b002d3f9141d54948a65e0330fdcd09e75a30 (patch) | |
tree | 1389bd410e9cc7ba8429fc6c88bfd5801cd7ae12 /core/java/android/widget/FrameLayout.java | |
parent | 04a5a95450fab72fb8fef43d878de05764792f1a (diff) | |
download | frameworks_base-9e3b002d3f9141d54948a65e0330fdcd09e75a30.zip frameworks_base-9e3b002d3f9141d54948a65e0330fdcd09e75a30.tar.gz frameworks_base-9e3b002d3f9141d54948a65e0330fdcd09e75a30.tar.bz2 |
Rename Gravity BEFORE/AFTER to START/END
- following spec proposal for having CSS3 like naming
Change-Id: Id5e316a2d9b54b9f20bbcb168fea6a3a83882e1b
Diffstat (limited to 'core/java/android/widget/FrameLayout.java')
-rw-r--r-- | core/java/android/widget/FrameLayout.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/widget/FrameLayout.java b/core/java/android/widget/FrameLayout.java index 4ee16e7..6b498fe 100644 --- a/core/java/android/widget/FrameLayout.java +++ b/core/java/android/widget/FrameLayout.java @@ -115,7 +115,7 @@ public class FrameLayout extends ViewGroup { } /** - * Describes how the foreground is positioned. Defaults to BEFORE and TOP. + * Describes how the foreground is positioned. Defaults to START and TOP. * * @param foregroundGravity See {@link android.view.Gravity} * @@ -125,7 +125,7 @@ public class FrameLayout extends ViewGroup { public void setForegroundGravity(int foregroundGravity) { if (mForegroundGravity != foregroundGravity) { if ((foregroundGravity & Gravity.RELATIVE_HORIZONTAL_GRAVITY_MASK) == 0) { - foregroundGravity |= Gravity.BEFORE; + foregroundGravity |= Gravity.START; } if ((foregroundGravity & Gravity.VERTICAL_GRAVITY_MASK) == 0) { |