2011-02-16 15:55:46 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
|
2011-02-17 03:53:47 +01:00
|
|
|
<!-- history is kept in a scrolling list of textview elems so
|
|
|
|
different style can be applied based on whether they're local or
|
|
|
|
remote. Inserted at runtime.... -->
|
2015-08-20 16:15:20 +02:00
|
|
|
<ScrollView android:id="@+id/scroll"
|
|
|
|
android:orientation="vertical"
|
2011-02-17 03:53:47 +01:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
>
|
|
|
|
<LinearLayout android:id="@+id/chat_history"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
2011-02-17 03:13:54 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
2011-02-17 03:53:47 +01:00
|
|
|
</ScrollView>
|
2011-02-17 03:13:54 +01:00
|
|
|
|
2015-08-20 16:35:01 +02:00
|
|
|
<EditText android:id="@+id/chat_edit"
|
|
|
|
android:layout_width="wrap_content"
|
2011-02-17 03:53:47 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-08-20 16:35:01 +02:00
|
|
|
android:singleLine="false"
|
2011-02-17 03:53:47 +01:00
|
|
|
android:layout_weight="0"
|
|
|
|
/>
|
2011-02-16 15:55:46 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|