diff options
author | David Walter Seikel | 2014-06-11 01:25:53 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-06-11 01:25:53 +1000 |
commit | faabf404ec6064956a08e825bed5d91e51fbdbbb (patch) | |
tree | 4aee2014b62efc93c5ab46fd73dcde8d250d9aa0 /res | |
parent | Added .gitignore and LICENSE files. (diff) | |
download | toyboxInstaller-faabf404ec6064956a08e825bed5d91e51fbdbbb.zip toyboxInstaller-faabf404ec6064956a08e825bed5d91e51fbdbbb.tar.gz toyboxInstaller-faabf404ec6064956a08e825bed5d91e51fbdbbb.tar.bz2 toyboxInstaller-faabf404ec6064956a08e825bed5d91e51fbdbbb.tar.xz |
Roughed out a skeleton of the UI.
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-xxhdpi/ic_launch_placitas_green_pillow.jpg | bin | 0 -> 6226 bytes | |||
-rw-r--r-- | res/layout/main.xml | 39 | ||||
-rw-r--r-- | res/values/strings.xml | 17 |
3 files changed, 56 insertions, 0 deletions
diff --git a/res/drawable-xxhdpi/ic_launch_placitas_green_pillow.jpg b/res/drawable-xxhdpi/ic_launch_placitas_green_pillow.jpg new file mode 100644 index 0000000..eedf7dc --- /dev/null +++ b/res/drawable-xxhdpi/ic_launch_placitas_green_pillow.jpg | |||
Binary files differ | |||
diff --git a/res/layout/main.xml b/res/layout/main.xml new file mode 100644 index 0000000..7136eb1 --- /dev/null +++ b/res/layout/main.xml | |||
@@ -0,0 +1,39 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
3 | android:layout_width="fill_parent" | ||
4 | android:layout_height="fill_parent" | ||
5 | android:gravity="center" | ||
6 | android:orientation="vertical" > | ||
7 | |||
8 | <TextView android:id="@+id/hello" | ||
9 | android:layout_width="wrap_content" | ||
10 | android:layout_height="wrap_content" | ||
11 | android:text="@string/hello" /> | ||
12 | |||
13 | <TextView android:id="@+id/version" | ||
14 | android:layout_width="wrap_content" | ||
15 | android:layout_height="wrap_content" | ||
16 | android:text="@string/version" /> | ||
17 | |||
18 | <TextView android:id="@+id/cpu" | ||
19 | android:layout_width="wrap_content" | ||
20 | android:layout_height="wrap_content" | ||
21 | android:text="@string/cpu" /> | ||
22 | |||
23 | <TextView android:id="@+id/path" | ||
24 | android:layout_width="wrap_content" | ||
25 | android:layout_height="wrap_content" | ||
26 | android:text="@string/path" /> | ||
27 | |||
28 | <TextView android:id="@+id/folder" | ||
29 | android:layout_width="wrap_content" | ||
30 | android:layout_height="wrap_content" | ||
31 | android:text="@string/folder" /> | ||
32 | |||
33 | <Button android:id="@+id/install" | ||
34 | android:layout_width="wrap_content" | ||
35 | android:layout_height="wrap_content" | ||
36 | android:text="@string/button_install" | ||
37 | android:onClick="installToybox" /> | ||
38 | |||
39 | </LinearLayout> | ||
diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..bd2d3af --- /dev/null +++ b/res/values/strings.xml | |||
@@ -0,0 +1,17 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <resources> | ||
3 | |||
4 | <string name="app_name">toyboxInstaller</string> | ||
5 | <string name="hello"> | ||
6 | This app is used for installing Rob Landley\'s toybox. | ||
7 | Toybox combines common Linux command line utilities together | ||
8 | into a single BSD-licensed executable that\'s simple, small, fast, | ||
9 | reasonably standards-compliant, and powerful enough to turn | ||
10 | Android into a development environment.\n\n</string> | ||
11 | <string name="version">The currently installed toybox version is</string> | ||
12 | <string name="cpu">The CPU type here is</string> | ||
13 | <string name="path">Select where you want to install toybox\n\nfrom the PATH -\n</string> | ||
14 | <string name="folder">or into a folder -\n</string> | ||
15 | <string name="button_install">Install toybox.</string> | ||
16 | |||
17 | </resources> | ||