aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael <raphael@google.com>2009-10-08 15:16:22 -0700
committerRaphael <raphael@google.com>2009-10-08 15:16:22 -0700
commitc391b4034384a8df9efdc823d7797291cf10ec5c (patch)
tree7efafe9f06bf955fed791aeb00421c6c1f2e4c1a
parentafa1f6ee8293a9b19e6fdafeeaabe13bf6732a5e (diff)
downloadsdk-c391b4034384a8df9efdc823d7797291cf10ec5c.zip
sdk-c391b4034384a8df9efdc823d7797291cf10ec5c.tar.gz
sdk-c391b4034384a8df9efdc823d7797291cf10ec5c.tar.bz2
Fix "android create project" to properly set name in strings.xml
Layout was wrong too. SDK BUG 2176634 Change-Id: Ibbec1c47037d4a6dd875953c1875daaac4f11106
-rw-r--r--scripts/layout.template2
-rw-r--r--scripts/strings.template2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/layout.template b/scripts/layout.template
index 864e997..f5e367c 100644
--- a/scripts/layout.template
+++ b/scripts/layout.template
@@ -7,7 +7,7 @@
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="Hello World, ACTIVITY_NAME"
+ android:text="Hello World, ACTIVITY_ENTRY_NAME"
/>
</LinearLayout>
diff --git a/scripts/strings.template b/scripts/strings.template
index acc28e2..ee5af40 100644
--- a/scripts/strings.template
+++ b/scripts/strings.template
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <string name="app_name">ACTIVITY_NAME</string>
+ <string name="app_name">ACTIVITY_ENTRY_NAME</string>
</resources>