namespace Shared
{
public static class LayoutParams
{
public static readonly int MatchParent=int.MinValue;
}
public enum EventType
{
Down,
Up,
Long
}
public enum Animate
{
None,
UpToDown,
DownToUp,
LeftToRight,
RightToLeft,
Rotation
}
///
/// 部局方向
///
public enum Orientation
{
Horizontal,
Vertical
}
public enum Device
{
Android,
Ios,
Phone
}
public enum Color
{
Red=0xFF0000,
Green=0x00FF00,
Blue=0x0000FF
}
public enum Gravity
{
TopLeft,
TopCenter,
TopRight,
CenterLeft,
Center,
CenterRight,
BottomLeft,
BottomCenter,
BottomRight,
CenterVertical,
CenterHorizontal,
Frame
}
///
/// Vertical alignment.
///
public enum TextAlignment
{
TopLeft,
TopCenter,
TopRight,
CenterLeft,
Center,
CenterRight,
BottomLeft,
BottomCenter,
BottomRight,
}
}