Docs  Showcase

AndroidUIX

Make a high-performance mobile Web App with Android UI

Getting Started Github Repo
Experience

Native App's experience and performance.

Performance

Render with web canvas/native canvas, high-performance app.

Android UI

Same api as Android, question & usage can found on the net easily.

Coding by Android's way

activity_main.xml
<FrameLayout xmlns="android"
            xmlns:android="http://schemas.android.com/apk/res/android"
            android:layout_height="match_parent"
            android:layout_width="match_parent">
<TextView
           android:id="textView"
           android:text="@string/hello_world"
           android:layout_height="wrap_content"
           android:layout_width="wrap_content"
           android:layout_gravity="center"
           android:textSize="20sp" />
<TextView
           android:text="@string/power_by_androiduix"
           android:drawableRight="@drawable/ic_github"
           android:drawablePadding="4dp"
           android:layout_gravity="center_horizontal|bottom"
           android:gravity="center"
           android:layout_marginBottom="8dp"
           android:textColor="#999"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:textSize="12sp" />
</FrameLayout>
MainActivity.ts
///<reference path="../androidui-sdk/android-ui.d.ts"/>
///<reference path="../gen/R.ts"/>

module my.app {
import ActionBarActivity = android.app.ActionBarActivity;
import View = android.view.View;
import Bundle = android.os.Bundle;

export class MainActivity extends ActionBarActivity{

protected onCreate(savedInstanceState?:Bundle):void {
super.onCreate(savedInstanceState);

this.setContentView(R.layout.activity_main);
}
}
}

Result:

Released under MIT
E-mail: linlinfaxin@163.com