android-extensions
v5.7.0
Published
Extensions for the Android framework.
Downloads
30
Readme
android-extensions 5.7
Examples can be found in the "html/widget" directory. ES modules are available as of squared 5.6.
<script src="/dist/android.widget.coordinator.min.js"></script>
<script src="/dist/android.widget.menu.min.js"></script>
<script src="/dist/android.widget.toolbar.min.js"></script>
<script>
// Configure an extension (optional)
squared.apply("android.widget.toolbar", {
element: {
"toolbar-id": { // HTML DOM
android: {
background: "?android:attr/windowBackground"
},
appBar: {
android: {
theme: "@style/ThemeOverlay.AppCompat.Dark.ActionBar"
}
}
}
}
},
"toolbar-example" // Save to Local Storage (optional)
);
// Load from Local Storage
squared.apply("android.widget.toolbar", "toolbar-example");
</script>- android.constraint.flow
- android.constraint.guideline
- android.widget.bottomnavigation
- android.widget.coordinator
- android.widget.drawer
- android.widget.floatingactionbutton
- android.widget.menu
- android.widget.toolbar
Rakefile
Repo::Workspace
.new(main: "squared")
.git(
"extensions": "https://github.com/anpham6/android-extensions",
)
.add("extensions", "android-extensions", copy: { from: "dist", scope: ".", into: "dist" })
.buildrake extensions:cloneLICENSE
MIT
