Files
BeWoPlaner/Android/BewoMitarbeiterApp/app/src/main/res/layout/chat.xml
2016-11-24 10:26:46 +01:00

64 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="0dp"
android:orientation="vertical"
android:background="@color/white"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".ChatActivity">
<ListView
android:id="@+id/list_msg"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:divider="@null"
android:listSelector="@android:color/transparent"
android:stackFromBottom="true"
android:background="@color/white"
android:transcriptMode="normal"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
/>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="60dp"
android:minHeight="50dp"
android:padding="0dp"
android:background="@color/white">
<EditText
android:layout_width="0dp"
android:layout_height="match_parent"
android:inputType="textMultiLine"
android:background="@drawable/edittext"
android:id="@+id/editText"
android:hint="@string/hinttxt_chat"
android:maxLength="1024"
android:layout_alignParentStart="true"
android:layout_toStartOf="@+id/Sendebutton"
android:layout_margin="10dp"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/Chatbutton_name"
style="@style/button_text"
android:background="@drawable/orange_button"
android:id="@+id/Sendebutton"
android:layout_alignParentEnd="true"
android:layout_margin="10dp"
android:layout_centerVertical="true"
/>
</RelativeLayout>
</LinearLayout>