Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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=".MainActivity">
- <RelativeLayout
- android:id="@+id/layoutButtom"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentBottom="true"
- android:layout_marginEnd="0dp"
- android:padding="5dp">
- <Button
- android:id="@+id/btnBuat"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:background="@drawable/add_button_background"
- android:text="Buat Catatan" />
- </RelativeLayout>
- <ListView
- android:id="@+id/listView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_above="@id/layoutButtom"
- android:layout_centerInParent="true"
- android:layout_centerVertical="true"
- android:layout_margin="5dp"
- android:divider="@android:color/transparent"
- android:dividerHeight="10dp"
- android:listSelector="@android:color/transparent"/>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement