Options
All
  • Public
  • Public/Protected
  • All
Menu

Module resources

Utility module related to android resources.

Index

Functions

getDrawableId

  • getDrawableId(name: any): any
  • Gets the drawable id from a given name.

    Parameters

    • name: any

      Name of the resource.

    Returns any

getId

  • getId(name: string): number
  • Gets the id from a given name.

    Parameters

    • name: string

      Name of the resource.

    Returns number

getPaletteColor

  • getPaletteColor(name: string, context: any): number
  • Gets a color from the current theme.

    Parameters

    • name: string

      Name of the color resource.

    • context: any

    Returns number

getPalleteColor

  • getPalleteColor(): any
  • [Obsolete - please use getPaletteColor] Gets a color from current theme.

    Returns any

getStringId

  • getStringId(name: any): any
  • Gets the string id from a given name.

    Parameters

    • name: any

      Name of the resource.

    Returns any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method