macroid 0,1 travis-ci

A modular functional UI language for Android

Macroid — a Scala GUI DSL for Android

Build Status Codacy Badge Android Arsenal Join the chat at

Macroid is the most badass modular functional user interface creation language for Android, implemented with Scala macros. Some people say it’s also a dead noodle.

Striving to be focused on one thing (GUI), Macroid promotes composability and high-level abstractions.

Prerequisites: Scala 2.10.x or 2.11.x, Android API 9+.

Latest version: 2.0.0-M5

Snapshot version: 2.0-SNAPSHOT

License: MIT.

For more info head to!


libraryDependencies ++= Seq(
  aar("org.macroid" %% "macroid" % "2.0.0-M5")

If you want to use the SNAPSHOT version you need to add the Sonatype SNAPSHOT repo

resolvers +=
  "Sonatype OSS Snapshots" at ""

libraryDependencies ++= Seq(
  aar("org.macroid" %% "macroid" % "2.0-SNAPSHOT")


All contributions are welcome (and encouraged)!

Commit messages

*Macroid*’s commit message structure is inspired by the Spray project. The message has the following format:

[=|+|!] [core|viewable|akka|docs|all]: <Actual message>.
  • = means there are no API changes
  • + means added functionality
  • ! means breaking changes (source or binary)


! core: Receive UI actions in mapUi & co (fix #48)

mapUi, flatMapUi, ... now operate on UI actions, rather than simple thunks.
For example, the new type signature for mapUi is (A ⇒ Ui[B]) ⇒ Future[B].

Following this convention greatly simplifies writing the changelogs.


Although this is not crucial, updating the docs under macroid-docs together with the code changes might save some time in the future, and thus is highly appreciated. It can be done in the same commit.

Related Repositories



A modular functional UI language for Android ...



The live-coding demo from ScalaDays 2014 ...



A demo of how I have been combining all of these libraries ...



sample android apps in scala using scaloid/macroid ...

Top Contributors

stanch javipacheco sgrif joprice raulraja zarthross nightscape stanpalatnik choedl


-   v2.0.0-M5 zip tar
-   v2.0.0-M4 zip tar
-   v2.0.0-M3 zip tar
-   v2.0.0-M2 zip tar
-   v2.0.0-M1 zip tar
-   v2.0.0-20150427 zip tar
-   v2.0.0-20140412 zip tar
-   v2.0.0-20140401 zip tar
-   v2.0.0-20140322 zip tar
-   v2.0.0-20140312 zip tar
-   v2.0.0-20130330 zip tar
-   v1.1.0-20131212 zip tar
-   v1.0.1 zip tar
-   v1.0.0 zip tar