Darsiwan

Untitled

Sep 4th, 2016
43,825
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MXML 2.04 KB | None | 0 0
  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:paddingBottom="@dimen/activity_vertical_margin"
  7.    android:paddingLeft="@dimen/activity_horizontal_margin"
  8.    android:paddingRight="@dimen/activity_horizontal_margin"
  9.    android:paddingTop="@dimen/activity_vertical_margin"
  10.    android:orientation="vertical"
  11.    tools:context="com.example.darsiwan.fireapp.chatroom"
  12.    android:weightSum="1">
  13.  
  14.     <ScrollView
  15.        android:layout_width="378dp"
  16.        android:layout_height="157dp"
  17.        android:id="@+id/scrollView"
  18.        android:layout_alignParentTop="true"
  19.        android:layout_alignParentStart="true"
  20.        android:layout_weight="1.04">
  21.  
  22.         <TextView
  23.            android:layout_width="wrap_content"
  24.            android:layout_height="wrap_content"
  25.            android:textAppearance="?android:attr/textAppearanceMedium"
  26.            android:id="@+id/textView" />
  27.     </ScrollView>
  28.  
  29.     <LinearLayout
  30.        android:layout_width="match_parent"
  31.        android:layout_height="wrap_content"
  32.        android:orientation="horizontal"
  33.        android:weightSum="1">
  34.         <EditText
  35.            android:layout_width="59dp"
  36.            android:layout_height="wrap_content"
  37.            android:id="@+id/editText"
  38.            android:layout_alignTop="@+id/button"
  39.            android:layout_alignParentStart="true"
  40.            android:layout_toStartOf="@+id/button"
  41.            android:layout_weight="1.02" />
  42.  
  43.         <Button
  44.            android:layout_width="52dp"
  45.            android:layout_height="wrap_content"
  46.  
  47.            android:id="@+id/button"
  48.            style="?android:attr/borderlessButtonStyle"
  49.            android:drawableLeft="@drawable/ic_send_black_24dp"
  50.            android:layout_alignParentBottom="true"
  51.            android:layout_alignParentEnd="true" />
  52.  
  53.     </LinearLayout>
  54.  
  55. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment