mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-16 23:00:20 +08:00
Android: Implement border(Start|End)Width for non-rounded borders
Reviewed By: achen1 Differential Revision: D5917755 fbshipit-source-id: 3ec0ab1a1e191f5f6fd956691995e95937a513cc
This commit is contained in:
committed by
Facebook Github Bot
parent
04a8c62313
commit
7ed7593b2b
@@ -103,6 +103,8 @@ public class ViewProps {
|
||||
|
||||
public static final String BORDER_WIDTH = "borderWidth";
|
||||
public static final String BORDER_LEFT_WIDTH = "borderLeftWidth";
|
||||
public static final String BORDER_START_WIDTH = "borderStartWidth";
|
||||
public static final String BORDER_END_WIDTH = "borderEndWidth";
|
||||
public static final String BORDER_TOP_WIDTH = "borderTopWidth";
|
||||
public static final String BORDER_RIGHT_WIDTH = "borderRightWidth";
|
||||
public static final String BORDER_BOTTOM_WIDTH = "borderBottomWidth";
|
||||
@@ -117,7 +119,13 @@ public class ViewProps {
|
||||
public static final String BORDER_TOP_COLOR = "borderTopColor";
|
||||
public static final String BORDER_BOTTOM_COLOR = "borderBottomColor";
|
||||
public static final int[] BORDER_SPACING_TYPES = {
|
||||
Spacing.ALL, Spacing.START, Spacing.END, Spacing.TOP, Spacing.BOTTOM
|
||||
Spacing.ALL,
|
||||
Spacing.START,
|
||||
Spacing.END,
|
||||
Spacing.TOP,
|
||||
Spacing.BOTTOM,
|
||||
Spacing.LEFT,
|
||||
Spacing.RIGHT
|
||||
};
|
||||
public static final int[] PADDING_MARGIN_SPACING_TYPES = {
|
||||
Spacing.ALL,
|
||||
|
||||
Reference in New Issue
Block a user