Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

added empty project without androidX library #620

Merged
merged 11 commits into from
Nov 24, 2022
Binary file added app/src/main/assets/templates/10.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,16 @@ private Void createTemplates() {
.setName(getApplication().getApplicationContext(), R.string.template_no_activity)
.setDescription(
getApplication().getApplicationContext(), R.string.template_no_activity_description)
.setImageId(R.drawable.template_no_activity);
.setImageId(R.drawable.template_no_activity),
NoAndroidX =
new ProjectTemplate()
.setId(10)
.setSupportJava(true)
.setSupportKotlin(false)
.setName(getApplication().getApplicationContext(), R.string.template_no_AndroidX)
.setDescription(
getApplication().getApplicationContext(), R.string.template_description_noAndroidX)
.setImageId(R.drawable.template_empty_noandroidx);

mTemplates.add(noActivity);
mTemplates.add(empty);
Expand All @@ -138,6 +147,7 @@ private Void createTemplates() {
mTemplates.add(cppWizard);
mTemplates.add(compose);
mTemplates.add(libgdx);
mTemplates.add(NoAndroidX);

mProjectTemplatesList.postValue(mTemplates);
mLoadingState.postValue(false);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion resources/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
<string name="template_cpp_description">Creates a new project with an Empty Activity configured to use JNI</string>
<string name="template_no_activity">No Activity</string>
<string name="template_no_activity_description">Creates a new project without activity</string>
<string name="template_no_AndroidX">NoAndroidX</string>
<string name="template_description_noAndroidX">Creates a new project without AndroidX library</string>

<!-- Files -->
<string name="save">Save</string>
Expand Down Expand Up @@ -493,4 +495,4 @@
<string name="widget_linear_layout_horz">LinearLayout (H)</string>
<string name="widget_linear_layout_vert">LinearLayout (V)</string>
<string name="widget_relative_layout">RelativeLayout</string>
</resources>
</resources>