Created
May 15, 2014 02:46
-
-
Save codeguru42/7e226d052ad49bc699b9 to your computer and use it in GitHub Desktop.
Chat Layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="codeguru.thecubeserver.app.ChatFragment"> | |
<TextView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:text="@string/hello_blank_fragment"/> | |
<LinearLayout | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true" | |
android:orientation="horizontal"> | |
<EditText | |
android:id="@+id/chatText" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:layout_weight="7" | |
android:inputType="text"/> | |
<Button | |
android:id="@+id/sendButton" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_alignParentBottom="true" | |
android:layout_toRightOf="@id/chatText" | |
android:layout_weight="3" | |
android:text="@string/send"/> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment