Advertisement
azurqsd

layout

Apr 7th, 2020
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.82 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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:padding="24dp">
  7.  
  8.     <ScrollView
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent"
  11.        android:layout_above="@id/btn_submit_message"
  12.        android:layout_alignParentTop="true">
  13.  
  14.         <TextView
  15.            android:id="@+id/messages_text"
  16.            android:layout_width="match_parent"
  17.            android:layout_height="wrap_content"
  18.            android:ems="10"
  19.            android:enabled="true"
  20.            android:gravity="start|top"
  21.            android:importantForAutofill="no"
  22.            tools:ignore="LabelFor" />
  23.  
  24.     </ScrollView>
  25.  
  26.  
  27.     <Button
  28.        android:id="@+id/btn_submit_message"
  29.        android:layout_width="match_parent"
  30.        android:layout_height="wrap_content"
  31.        android:layout_above="@id/entry_update_text"
  32.        android:layout_marginStart="80dp"
  33.        android:layout_marginTop="24dp"
  34.        android:layout_marginEnd="80dp"
  35.        android:onClick="onClick"
  36.        android:text="Submit Update to The Guide"
  37.        tools:ignore="HardcodedText" />
  38.  
  39.     <EditText
  40.        android:id="@+id/entry_update_text"
  41.        android:layout_width="match_parent"
  42.        android:layout_height="60dp"
  43.        android:layout_alignParentBottom="true"
  44.        android:layout_marginTop="24dp"
  45.        android:layout_marginBottom="24dp"
  46.        android:ems="10"
  47.        android:hint="enter update for Earth here"
  48.        android:importantForAutofill="no"
  49.        android:inputType="text"
  50.        android:text="Mostly Harmless."
  51.        tools:ignore="HardcodedText" />
  52.  
  53. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement