| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 |
xmlns:tools="http://schemas.android.com/tools" |
| 4 |
android:layout_width="match_parent" |
| 5 |
android:layout_height="match_parent" |
| 6 |
android:orientation="vertical" > |
| 7 |
|
| 8 |
<ListView |
| 9 |
android:id="@+id/chatConsole" |
| 10 |
android:layout_width="match_parent" |
| 11 |
android:layout_height="0dp" |
| 12 |
android:layout_weight="1" |
| 13 |
android:clickable="false" |
| 14 |
android:cacheColorHint="@android:color/transparent" |
| 15 |
android:transcriptMode="normal" |
| 16 |
android:focusableInTouchMode="false" |
| 17 |
android:focusable="false" |
| 18 |
android:longClickable="false" |
| 19 |
android:stackFromBottom="true" |
| 20 |
/> |
| 21 |
|
| 22 |
<EditText |
| 23 |
android:id="@+id/chatInput" |
| 24 |
android:layout_width="match_parent" |
| 25 |
android:layout_height="wrap_content" |
| 26 |
android:hint="@string/chat_hint" |
| 27 |
android:imeOptions="actionSend" |
| 28 |
android:inputType="text" /> |
| 29 |
|
| 30 |
</LinearLayout> |