summaryrefslogtreecommitdiff
path: root/altosdroid/res/layout
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2012-08-02 22:09:24 +1200
committerMike Beattie <mike@ethernal.org>2012-08-02 22:09:24 +1200
commit359d7353fd7b7d4d537db04c5e89724502333ff8 (patch)
tree0535ae90a79cbed6ba32700dafefe20197179358 /altosdroid/res/layout
parentc5304ac976dd44344a0b70ae3622e1f2d112a147 (diff)
AltosDroid: Begin re-working Bluetooth code
* Move to using explicit 'magic' UUID, rather than java reflection * Re-work UI to make it more useful for testing * Use Insecure RFCOMM only, and remove code that differentiates. Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'altosdroid/res/layout')
-rw-r--r--altosdroid/res/layout/main.xml24
1 files changed, 15 insertions, 9 deletions
diff --git a/altosdroid/res/layout/main.xml b/altosdroid/res/layout/main.xml
index 17025f6b..f2e6640c 100644
--- a/altosdroid/res/layout/main.xml
+++ b/altosdroid/res/layout/main.xml
@@ -19,24 +19,30 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
>
- <ListView android:id="@+id/in"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:stackFromBottom="true"
- android:transcriptMode="alwaysScroll"
+
+ <TextView
+ android:id="@+id/in"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
android:layout_weight="1"
- />
+ android:gravity="bottom"
+ android:scrollbars="vertical"
+ android:typeface="monospace" />
+
<LinearLayout
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
- <EditText android:id="@+id/edit_text_out"
+
+ <EditText
+ android:id="@+id/edit_text_out"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="1"
android:layout_gravity="bottom"
- />
+ android:layout_weight="1"
+ android:inputType="text|textNoSuggestions" />
+
<Button android:id="@+id/button_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"