Fix Android project in template
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
(defproject play-clj/lein-template "0.4.2"
|
(defproject play-clj/lein-template "0.4.2.1"
|
||||||
:description "A template for making play-clj projects"
|
:description "A template for making play-clj projects"
|
||||||
:url "https://github.com/oakes/play-clj"
|
:url "https://github.com/oakes/play-clj"
|
||||||
:license {:name "Public Domain"
|
:license {:name "Public Domain"
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
(render "AndroidLauncher.java" data)]
|
(render "AndroidLauncher.java" data)]
|
||||||
"android/src/clojure"
|
"android/src/clojure"
|
||||||
["android/AndroidManifest.xml"
|
["android/AndroidManifest.xml"
|
||||||
(lein-droid-render "AndroidManifest.template.xml" data)]
|
(render "AndroidManifest.xml" data)]
|
||||||
["android/res/drawable-hdpi/ic_launcher.png"
|
["android/res/drawable-hdpi/ic_launcher.png"
|
||||||
(lein-droid-render "ic_launcher_hdpi.png")]
|
(lein-droid-render "ic_launcher_hdpi.png")]
|
||||||
["android/res/drawable-mdpi/ic_launcher.png"
|
["android/res/drawable-mdpi/ic_launcher.png"
|
||||||
|
|||||||
27
template/src/leiningen/new/play_clj/AndroidManifest.xml
Normal file
27
template/src/leiningen/new/play_clj/AndroidManifest.xml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="{{package-sanitized}}"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="1.0" >
|
||||||
|
|
||||||
|
<uses-sdk android:minSdkVersion="{{target-sdk}}" />
|
||||||
|
|
||||||
|
<application
|
||||||
|
android:icon="@drawable/ic_launcher"
|
||||||
|
android:label="@string/app_name">
|
||||||
|
<activity android:name=".SplashActivity"
|
||||||
|
android:theme="@android:style/Theme.Translucent.NoTitleBar">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
<activity android:name=".{{activity}}">
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name='{{package-sanitized}}.MAIN'/>
|
||||||
|
<category android:name='android.intent.category.DEFAULT'/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
</application>
|
||||||
|
|
||||||
|
</manifest>
|
||||||
Reference in New Issue
Block a user