Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity">
- <Button
- android:text="Add"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/add" app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginStart="16dp" android:layout_marginBottom="21dp"
- app:layout_constraintTop_toBottomOf="@+id/_dynamic" android:onClick="addItem"/>
- <Button
- android:text="Remove"
- android:layout_width="wrap_content"
- android:layout_height="44dp"
- android:id="@+id/remove"
- app:layout_constraintBottom_toBottomOf="parent" android:layout_marginEnd="16dp"
- android:layout_marginBottom="15dp"
- app:layout_constraintEnd_toEndOf="parent" android:onClick="remove"/>
- <ListView
- android:layout_width="368dp"
- android:layout_height="430dp"
- android:id="@+id/listView" tools:layout_editor_absoluteY="8dp" tools:layout_editor_absoluteX="8dp"/>
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement