summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpicolanginstaller/AndroidManifest.xml3
-rwxr-xr-xpicolanginstaller/res/layout/retry.xml7
-rwxr-xr-xpicolanginstaller/res/layout/uninstall.xml10
-rwxr-xr-xpicolanginstaller/src/com/svox/langpack/installer/InstallerActivity.java2
4 files changed, 12 insertions, 10 deletions
diff --git a/picolanginstaller/AndroidManifest.xml b/picolanginstaller/AndroidManifest.xml
index cc11466..209f797 100755
--- a/picolanginstaller/AndroidManifest.xml
+++ b/picolanginstaller/AndroidManifest.xml
@@ -4,6 +4,7 @@
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="donut" />
+ <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".InstallerActivity"
android:label="@string/app_name">
@@ -13,4 +14,4 @@
</intent-filter>
</activity>
</application>
-</manifest>
+</manifest>
diff --git a/picolanginstaller/res/layout/retry.xml b/picolanginstaller/res/layout/retry.xml
index 87eb202..0fefd3f 100755
--- a/picolanginstaller/res/layout/retry.xml
+++ b/picolanginstaller/res/layout/retry.xml
@@ -3,9 +3,10 @@
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
- <TextView android:paddingTop="5dip" android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:layout_gravity="center"
- android:text="@string/retry_message" android:textSize="18sp"
+ <TextView android:paddingTop="25dip" android:paddingBottom="45dip"
+ android:layout_width="wrap_content" android:layout_height="wrap_content"
+ android:layout_gravity="center" android:text="@string/retry_message"
+ android:textSize="18sp"
android:textColor="?android:attr/textColorPrimary" />
<Button android:id="@+id/retryButton" android:layout_width="wrap_content"
diff --git a/picolanginstaller/res/layout/uninstall.xml b/picolanginstaller/res/layout/uninstall.xml
index fe108a5..bc0cd11 100755
--- a/picolanginstaller/res/layout/uninstall.xml
+++ b/picolanginstaller/res/layout/uninstall.xml
@@ -3,12 +3,14 @@
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
- <TextView android:paddingTop="5dip" android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:layout_gravity="center"
- android:text="@string/uninstall_message" android:textSize="18sp"
+ <TextView android:paddingTop="25dip" android:paddingBottom="45dip"
+ android:layout_width="wrap_content" android:layout_height="wrap_content"
+ android:layout_gravity="center" android:text="@string/uninstall_message"
+ android:textSize="18sp"
android:textColor="?android:attr/textColorPrimary" />
- <Button android:id="@+id/uninstallButton" android:layout_width="wrap_content"
+ <Button android:id="@+id/uninstallButton"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_gravity="center"
android:text="@string/uninstall" android:textSize="25sp" />
diff --git a/picolanginstaller/src/com/svox/langpack/installer/InstallerActivity.java b/picolanginstaller/src/com/svox/langpack/installer/InstallerActivity.java
index 1635365..a2f0739 100755
--- a/picolanginstaller/src/com/svox/langpack/installer/InstallerActivity.java
+++ b/picolanginstaller/src/com/svox/langpack/installer/InstallerActivity.java
@@ -51,8 +51,6 @@ public class InstallerActivity extends Activity {
}
private boolean unzipLangPack(InputStream stream) {
- File baseDir = new File("/sdcard/svox");
- baseDir.mkdir();
FileOutputStream out;
byte buf[] = new byte[16384];
try {