Advertisement
mmayoub

Counter, activity_main2,xml

Oct 15th, 2021
1,222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.84 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context=".MainActivity2">
  8.  
  9.     <Button
  10.        android:id="@+id/btnBack"
  11.        android:layout_width="wrap_content"
  12.        android:layout_height="wrap_content"
  13.        android:onClick="clickMe"
  14.        android:text="Button"
  15.        app:layout_constraintBottom_toBottomOf="parent"
  16.        app:layout_constraintEnd_toEndOf="parent"
  17.        app:layout_constraintStart_toStartOf="parent"
  18.        app:layout_constraintTop_toTopOf="parent" />
  19. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement