Wizard: Add initial version of the new project wizard

This commit is contained in:
Ilya Kirillov
2019-12-12 15:29:27 +03:00
parent 4916f166fe
commit aca193ddd2
191 changed files with 11132 additions and 3 deletions
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="${package.asCodePackage()}">
<application
android:allowBackup="true"
android:supportsRtl="true">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
@@ -0,0 +1,11 @@
package ${package.asCodePackage()}
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
}
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -0,0 +1,3 @@
fun main(args: Array<String>) {
println("Hello World!")
}
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-${version}-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
@@ -0,0 +1,3 @@
#foreach($property in $properties)
${property.getFirst()}=${property.getSecond()}
#end
@@ -0,0 +1,3 @@
#foreach($property in $properties)
${property.getFirst()}=${property.getSecond()}
#end
@@ -0,0 +1,5 @@
rootProject.name = "${projectName}"
#foreach($subProject in $subProjects)
include("${subProject}")
#end
@@ -0,0 +1,9 @@
import kotlin.test.Test
import kotlin.test.assertTrue
class Test {
@Test
fun testIt() {
assertTrue(true)
}
}