Top Level Namespace

Defined Under Namespace

Modules: AndroidQuery Classes: AMQAdapter, AMQClickListener, AMQColor, AMQScreen, AMQStylesheet, AMQStylesheetElement, AMQTapListener, AMQView, AndroidMotionQuery

Constant Summary collapse

VIEW_GROUP_PARAMS =

TYPE_FACE = Android::Graphics::TypeFace TYPE_FACE_OPTIONS =

normal:           TYPE_FACE::Create("sans-serif",            TYPE_FACE::NORMAL),
normal_bold:      TYPE_FACE::Create("sans-serif",            TYPE_FACE::BOLD),
light:            TYPE_FACE::Create("sans-serif-light",      TYPE_FACE::NORMAL),
light_bold:       TYPE_FACE::Create("sans-serif-light",      TYPE_FACE::BOLD),
condensed:        TYPE_FACE::Create("sans-serif-condensed",  TYPE_FACE::NORMAL),
condensed_bold:   TYPE_FACE::Create("sans-serif-condensed",  TYPE_FACE::BOLD),

Android::View::ViewGroup::LayoutParams
LAYOUT_SIZE_OPTIONS =
{
  mp: VIEW_GROUP_PARAMS::MATCH_PARENT,
  wc: VIEW_GROUP_PARAMS::WRAP_CONTENT,
}
LINEAR_LAYOUT =
Android::Widget::LinearLayout
ORIENTATION_OPTIONS =
{
  vertical:   LINEAR_LAYOUT::VERTICAL,
  horizontal: LINEAR_LAYOUT::HORIZONTAL,
}
SCALE_TYPE =
Android::Widget::ImageView::ScaleType
SCALE_TYPES =
{
  center:         SCALE_TYPE::CENTER,
  center_crop:    SCALE_TYPE::CENTER_CROP,
  center_inside:  SCALE_TYPE::CENTER_INSIDE,
  fit_center:     SCALE_TYPE::FIT_CENTER,
  fit_end:        SCALE_TYPE::FIT_END,
  fit_start:      SCALE_TYPE::FIT_START,
  fit_xy:         SCALE_TYPE::FIT_XY,
  matrix:         SCALE_TYPE::MATRIX,
}
INPUT_TYPE =
Android::Text::InputType
INPUT_TYPES =
{
  normal:             INPUT_TYPE::TYPE_CLASS_TEXT,
  password:           INPUT_TYPE::TYPE_CLASS_TEXT | INPUT_TYPE::TYPE_TEXT_VARIATION_PASSWORD,
  visible_password:   INPUT_TYPE::TYPE_CLASS_TEXT | INPUT_TYPE::TYPE_TEXT_VARIATION_VISIBLE_PASSWORD,
  number:             INPUT_TYPE::TYPE_CLASS_NUMBER,
  email:              INPUT_TYPE::TYPE_CLASS_TEXT | INPUT_TYPE::TYPE_TEXT_VARIATION_EMAIL_ADDRESS,
  phone:              INPUT_TYPE::TYPE_CLASS_PHONE,
  date:               INPUT_TYPE::TYPE_CLASS_DATETIME | INPUT_TYPE::TYPE_DATETIME_VARIATION_DATE,
  time:               INPUT_TYPE::TYPE_CLASS_DATETIME | INPUT_TYPE::TYPE_DATETIME_VARIATION_TIME,
  datetime:           INPUT_TYPE::TYPE_CLASS_DATETIME,
}
GRAVITY =
Android::View::Gravity
GRAVITY_OPTIONS =
{
  top:                GRAVITY::TOP,
  left:               GRAVITY::LEFT,
  right:              GRAVITY::RIGHT,
  bottom:             GRAVITY::BOTTOM,
  center:             GRAVITY::CENTER,
  center_horizontal:  GRAVITY::CENTER_HORIZONTAL,
  center_vertical:    GRAVITY::CENTER_VERTICAL,
  bottom_right:       GRAVITY::BOTTOM | GRAVITY::RIGHT,
  bottom_left:        GRAVITY::BOTTOM | GRAVITY::LEFT,
  center_right:       GRAVITY::CENTER | GRAVITY::RIGHT,
  center_left:        GRAVITY::CENTER | GRAVITY::LEFT,
  top_right:          GRAVITY::TOP | GRAVITY::RIGHT,
  top_left:           GRAVITY::TOP | GRAVITY::LEFT,
}