Package

org

scaloid

Permalink

package scaloid

Visibility
  1. Public
  2. All

Type Members

  1. trait Workarounds extends AnyRef

    Permalink

Value Members

  1. package common

    Permalink

    Scaloid marries Android code with Scala resulting in easier to understand and maintain code.

    Scaloid marries Android code with Scala resulting in easier to understand and maintain code.

    Example:
    1. import org.scaloid.common._
      class MainActivity extends SActivity {
        onCreate {
          contentView = new SVerticalLayout {
            setTheme(android.R.style.Theme_Holo_NoActionBar)
            style {
              case b:SButton => b.textSize(22 dip)
            }
            STextView("Welcome").textSize(22 sp).<<.marginBottom(22 dip).>>
            val name = SEditText()
            STextView("What is your name?").<<.marginBottom(22 dip).>>
            SButton("GO").onClick(longToast("Hello, " + name.getText))
          }.padding(20 dip)
        }
      }
    See also

    http://scaloid.org

  2. package util

    Permalink

Ungrouped