Merge "Fix bug #10549094 KLP API Review: android.util.LayoutDirection" into klp-dev

This commit is contained in:
Fabrice Di Meglio
2013-08-30 18:00:19 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 3 deletions

View File

@@ -25748,7 +25748,7 @@ package android.util {
method public android.util.JsonWriter value(java.lang.Number) throws java.io.IOException;
}
public abstract interface LayoutDirection {
public final class LayoutDirection {
field public static final int INHERIT = 2; // 0x2
field public static final int LOCALE = 3; // 0x3
field public static final int LTR = 0; // 0x0

View File

@@ -17,11 +17,15 @@
package android.util;
/**
* An interface for defining layout directions. A layout direction can be left-to-right (LTR)
* A class for defining layout directions. A layout direction can be left-to-right (LTR)
* or right-to-left (RTL). It can also be inherited (from a parent) or deduced from the default
* language script of a locale.
*/
public interface LayoutDirection {
public final class LayoutDirection {
// No instantiation
private LayoutDirection() {}
/**
* Horizontal layout direction is from Left to Right.
*/