Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev

This commit is contained in:
Fabrice Di Meglio
2012-09-28 12:32:00 -07:00
committed by Android (Google) Code Review
2 changed files with 4 additions and 2 deletions

View File

@@ -25679,7 +25679,6 @@ package android.view {
method public int getLayoutDirection();
method public int getMarginEnd();
method public int getMarginStart();
method protected boolean isLayoutRtl();
method public boolean isMarginRelative();
method public void setLayoutDirection(int);
method public void setMarginEnd(int);

View File

@@ -5904,7 +5904,10 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
}
}
protected boolean isLayoutRtl() {
/**
* @hide
*/
public boolean isLayoutRtl() {
return (layoutDirection == View.LAYOUT_DIRECTION_RTL);
}