@appshuttle.io/turing
Version:
Code Generation Library used in Shuttle
34 lines (25 loc) • 912 B
JavaScript
class MainActivityViewTemplates {
constructor() {
/*
MainActivityView STRUCTURE START
*/
// MainActivityView Structure Holders
this.CONTENT_HOLDER = '%content%'
this.getMainActivityViewStructure = function () {
return `<?xml version="1.0" encoding="utf-8"?>\r\n
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"\r\n
xmlns:app="http://schemas.android.com/apk/res-auto"\r\n
xmlns:tools="http://schemas.android.com/tools"\r\n
android:layout_width="match_parent"\r\n
android:layout_height="match_parent"\r\n
tools:context=".MainActivity">\r\n
` + this.CONTENT_HOLDER + `
</android.support.constraint.ConstraintLayout>\r\n
`
}
/*
MainActivityView STRUCTURE END
*/
}
}
module.exports = MainActivityViewTemplates