Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".EditActivity">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:fillViewport="true">
- <EditText
- android:id="@+id/etText"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="top|left"/>
- </ScrollView>
- <LinearLayout
- android:id="@+id/linearLayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/btnSave"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="Save"
- android:background="@drawable/add_button_background"/>
- <Button
- android:id="@+id/btnCencel"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="bottom"
- android:layout_weight="1"
- android:text="Cencel"
- android:background="@drawable/add_button_background"/>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement