From cb2dc4f24d460c16fc4806ed2c343619572fc8a0 Mon Sep 17 00:00:00 2001 From: Greg Alexander Date: Sun, 14 Dec 2014 17:30:35 -0500 Subject: [PATCH] first draft of UI XML --- NOTES | 2 +- res/layout/main.xml | 84 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 78 insertions(+), 8 deletions(-) diff --git a/NOTES b/NOTES index 9fd0604..f146f9d 100644 --- a/NOTES +++ b/NOTES @@ -36,7 +36,7 @@ I need: * a Thread to implement the Service's work (by calling into dropbear's main()), which can also be stopped. * a config UI with at least these choices: - - bool: start on boot (def: true) + - bool: start on boot (def: false) - number: port number (def: 2222) - string: path to authorized_keys file (def: /sdcard/ssh) - string: name of default shell (def: /system/bin/sh -l) diff --git a/res/layout/main.xml b/res/layout/main.xml index aad38a9..68c960c 100644 --- a/res/layout/main.xml +++ b/res/layout/main.xml @@ -2,12 +2,82 @@ - + android:layout_height="fill_parent"> + + + + + + + + + + + + + + +