diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/main.xml | 114 | ||||
-rw-r--r-- | res/values/strings.xml | 92 |
2 files changed, 103 insertions, 103 deletions
diff --git a/res/layout/main.xml b/res/layout/main.xml index eec86f2..0b27286 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml | |||
@@ -1,73 +1,73 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | android:layout_width="fill_parent" | 3 | android:layout_width="fill_parent" |
4 | android:layout_height="fill_parent" | 4 | android:layout_height="fill_parent" |
5 | android:gravity="center" | 5 | android:gravity="center" |
6 | android:orientation="vertical" > | 6 | android:orientation="vertical" > |
7 | 7 | ||
8 | <TextView android:id="@+id/hello" | 8 | <TextView android:id="@+id/hello" |
9 | android:layout_width="wrap_content" | 9 | android:layout_width="wrap_content" |
10 | android:layout_height="wrap_content" | 10 | android:layout_height="wrap_content" |
11 | android:text="@string/hello" /> | 11 | android:text="@string/hello" /> |
12 | 12 | ||
13 | <TextView android:id="@+id/version" | 13 | <TextView android:id="@+id/version" |
14 | android:layout_width="wrap_content" | 14 | android:layout_width="wrap_content" |
15 | android:layout_height="wrap_content" | 15 | android:layout_height="wrap_content" |
16 | android:text="@string/version" /> | 16 | android:text="@string/version" /> |
17 | 17 | ||
18 | <TextView android:id="@+id/versionsPrompt" | 18 | <TextView android:id="@+id/versionsPrompt" |
19 | android:layout_width="wrap_content" | 19 | android:layout_width="wrap_content" |
20 | android:layout_height="wrap_content" | 20 | android:layout_height="wrap_content" |
21 | android:text="@string/versionsPrompt" /> | 21 | android:text="@string/versionsPrompt" /> |
22 | 22 | ||
23 | <Spinner android:id="@+id/versions" | 23 | <Spinner android:id="@+id/versions" |
24 | android:layout_width="wrap_content" | 24 | android:layout_width="wrap_content" |
25 | android:layout_height="wrap_content" | 25 | android:layout_height="wrap_content" |
26 | android:prompt="@+id/versionsPrompt" /> | 26 | android:prompt="@+id/versionsPrompt" /> |
27 | 27 | ||
28 | <TextView android:id="@+id/cpusPrompt" | 28 | <TextView android:id="@+id/cpusPrompt" |
29 | android:layout_width="wrap_content" | 29 | android:layout_width="wrap_content" |
30 | android:layout_height="wrap_content" | 30 | android:layout_height="wrap_content" |
31 | android:text="@string/cpusPrompt" /> | 31 | android:text="@string/cpusPrompt" /> |
32 | 32 | ||
33 | <Spinner android:id="@+id/cpus" | 33 | <Spinner android:id="@+id/cpus" |
34 | android:layout_width="wrap_content" | 34 | android:layout_width="wrap_content" |
35 | android:layout_height="wrap_content" | 35 | android:layout_height="wrap_content" |
36 | android:prompt="@+id/cpusPrompt" /> | 36 | android:prompt="@+id/cpusPrompt" /> |
37 | 37 | ||
38 | <TextView android:id="@+id/path" | 38 | <TextView android:id="@+id/path" |
39 | android:layout_width="wrap_content" | 39 | android:layout_width="wrap_content" |
40 | android:layout_height="wrap_content" | 40 | android:layout_height="wrap_content" |
41 | android:text="@string/path" /> | 41 | android:text="@string/path" /> |
42 | 42 | ||
43 | <TextView android:id="@+id/pathsPrompt" | 43 | <TextView android:id="@+id/pathsPrompt" |
44 | android:layout_width="wrap_content" | 44 | android:layout_width="wrap_content" |
45 | android:layout_height="wrap_content" | 45 | android:layout_height="wrap_content" |
46 | android:text="@string/pathsPrompt" /> | 46 | android:text="@string/pathsPrompt" /> |
47 | 47 | ||
48 | <Spinner android:id="@+id/paths" | 48 | <Spinner android:id="@+id/paths" |
49 | android:layout_width="wrap_content" | 49 | android:layout_width="wrap_content" |
50 | android:layout_height="wrap_content" | 50 | android:layout_height="wrap_content" |
51 | android:prompt="@+id/pathsPrompt" /> | 51 | android:prompt="@+id/pathsPrompt" /> |
52 | 52 | ||
53 | <TextView android:id="@+id/folder" | 53 | <TextView android:id="@+id/folder" |
54 | android:layout_width="wrap_content" | 54 | android:layout_width="wrap_content" |
55 | android:layout_height="wrap_content" | 55 | android:layout_height="wrap_content" |
56 | android:text="@string/folder" /> | 56 | android:text="@string/folder" /> |
57 | 57 | ||
58 | <Button android:id="@+id/install" | 58 | <Button android:id="@+id/install" |
59 | android:layout_width="wrap_content" | 59 | android:layout_width="wrap_content" |
60 | android:layout_height="wrap_content" | 60 | android:layout_height="wrap_content" |
61 | android:text="@string/button_install" | 61 | android:text="@string/button_install" |
62 | android:onClick="installToybox" /> | 62 | android:onClick="installToybox" /> |
63 | 63 | ||
64 | <TextView android:id="@+id/source" | 64 | <TextView android:id="@+id/source" |
65 | android:layout_width="wrap_content" | 65 | android:layout_width="wrap_content" |
66 | android:layout_height="wrap_content" | 66 | android:layout_height="wrap_content" |
67 | android:text="@string/source" /> | 67 | android:text="@string/source" /> |
68 | 68 | ||
69 | <TextView android:id="@+id/destination" | 69 | <TextView android:id="@+id/destination" |
70 | android:layout_width="wrap_content" | 70 | android:layout_width="wrap_content" |
71 | android:layout_height="wrap_content" | 71 | android:layout_height="wrap_content" |
72 | android:text="@string/destination" /> | 72 | android:text="@string/destination" /> |
73 | </LinearLayout> | 73 | </LinearLayout> |
diff --git a/res/values/strings.xml b/res/values/strings.xml index 6502964..b0f8aed 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml | |||
@@ -1,51 +1,51 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <resources> | 2 | <resources> |
3 | 3 | ||
4 | <string name="app_name">toyboxInstaller</string> | 4 | <string name="app_name">toyboxInstaller</string> |
5 | <string name="hello"> | 5 | <string name="hello"> |
6 | This app is used for installing Rob Landley\'s toybox.\n\n\"Toybox combines common Linux command line utilities together into a single BSD-licensed executable that\'s simple, small, fast, reasonably standards-compliant, and powerful enough to turn Android into a development environment.\"\n\nAt least that\'s Rob\'s plan, toybox is not yet feature complete.\n\n</string> | 6 | This app is used for installing Rob Landley\'s toybox.\n\n\"Toybox combines common Linux command line utilities together into a single BSD-licensed executable that\'s simple, small, fast, reasonably standards-compliant, and powerful enough to turn Android into a development environment.\"\n\nAt least that\'s Rob\'s plan, toybox is not yet feature complete.\n\n</string> |
7 | <string name="version">The currently installed toybox version is</string> | 7 | <string name="version">The currently installed toybox version is</string> |
8 | <string name="versionsPrompt">Select a version to install:-</string> | 8 | <string name="versionsPrompt">Select a version to install:-</string> |
9 | <string-array name="versions"> | 9 | <string-array name="versions"> |
10 | <item>latest</item> | 10 | <item>latest</item> |
11 | <item>0.3.0</item> | 11 | <item>0.3.0</item> |
12 | <item>0.3.1</item> | 12 | <item>0.3.1</item> |
13 | <item>0.4.0</item> | 13 | <item>0.4.0</item> |
14 | <item>0.4.1</item> | 14 | <item>0.4.1</item> |
15 | <item>0.4.2</item> | 15 | <item>0.4.2</item> |
16 | <item>0.4.3</item> | 16 | <item>0.4.3</item> |
17 | <item>0.4.5</item> | 17 | <item>0.4.5</item> |
18 | <item>0.4.6</item> | 18 | <item>0.4.6</item> |
19 | <item>0.4.7</item> | 19 | <item>0.4.7</item> |
20 | <item>0.4.8</item> | 20 | <item>0.4.8</item> |
21 | <item>0.4.9</item> | 21 | <item>0.4.9</item> |
22 | </string-array> | 22 | </string-array> |
23 | <string name="cpusPrompt">The CPU type here is</string> | 23 | <string name="cpusPrompt">The CPU type here is</string> |
24 | <string name="cpusPrompt2">, but you may need to select a close match :-</string> | 24 | <string name="cpusPrompt2">, but you may need to select a close match :-</string> |
25 | <string-array name="cpus"> | 25 | <string-array name="cpus"> |
26 | <item>armv4eb</item> | 26 | <item>armv4eb</item> |
27 | <item>armv4l</item> | 27 | <item>armv4l</item> |
28 | <item>armv4tl</item> | 28 | <item>armv4tl</item> |
29 | <item>armv5l</item> | 29 | <item>armv5l</item> |
30 | <item>armv6l</item> | 30 | <item>armv6l</item> |
31 | <item>armv7l</item> | 31 | <item>armv7l</item> |
32 | <item>i486</item> | 32 | <item>i486</item> |
33 | <item>i586</item> | 33 | <item>i586</item> |
34 | <item>i686</item> | 34 | <item>i686</item> |
35 | <item>m68k</item> | 35 | <item>m68k</item> |
36 | <item>mips</item> | 36 | <item>mips</item> |
37 | <item>mips64</item> | 37 | <item>mips64</item> |
38 | <item>mipsel</item> | 38 | <item>mipsel</item> |
39 | <item>powerpc</item> | 39 | <item>powerpc</item> |
40 | <item>powerpc-440fp</item> | 40 | <item>powerpc-440fp</item> |
41 | <item>sh4</item> | 41 | <item>sh4</item> |
42 | <item>sparc</item> | 42 | <item>sparc</item> |
43 | <item>x86_64</item> | 43 | <item>x86_64</item> |
44 | </string-array> | 44 | </string-array> |
45 | <string name="path">Select where you want to install toybox ...\n</string> | 45 | <string name="path">Select where you want to install toybox ...\n</string> |
46 | <string name="pathsPrompt">... into the $PATH :-\n</string> | 46 | <string name="pathsPrompt">... into the $PATH :-\n</string> |
47 | <string name="folder">... or into a folder :-\n</string> | 47 | <string name="folder">... or into a folder :-\n</string> |
48 | <string name="button_install">Install toybox.</string> | 48 | <string name="button_install">Install toybox.</string> |
49 | <string name="source">Install from</string> | 49 | <string name="source">Install from</string> |
50 | <string name="destination">Install to</string> | 50 | <string name="destination">Install to</string> |
51 | </resources> | 51 | </resources> |