Package

org.scaloid

util

Permalink

package util

Visibility
  1. Public
  2. All

Value Members

  1. object Configuration

    Permalink

    Shortcuts for various device support.

    Shortcuts for various device support.

    import org.scaloid.util.Configuration._
    
    if(long) SButton("This button is shown only for a long screen dimension (" + width + ", " + height + ")")
    if(landscape) SLinearLayout {
      SButton("Buttons for")
      SButton("landscape layout")
    }
    if(dpi >= HDPI) SButton("You have a high resolution display!")
  2. object MacroImpl

    Permalink

Ungrouped