Advertisement
joespi

Untitled

Sep 11th, 2021
1,110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.37 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.  
  8.     <EditText
  9.        android:id="@+id/editText"
  10.        android:layout_width="wrap_content"
  11.        android:layout_height="wrap_content"
  12.        android:hint="@string/nombre"
  13.        app:layout_constraintBottom_toTopOf="@+id/btnAceptar"
  14.        app:layout_constraintEnd_toEndOf="parent"
  15.        app:layout_constraintHorizontal_bias="0.5"
  16.        app:layout_constraintStart_toStartOf="parent"
  17.        app:layout_constraintTop_toTopOf="parent"
  18.        app:layout_constraintVertical_chainStyle="spread"></EditText>
  19.  
  20.     <Button
  21.        android:id="@+id/btnAceptar"
  22.        android:layout_width="wrap_content"
  23.        android:layout_height="wrap_content"
  24.        android:text="@string/btnAceptar"
  25.        app:layout_constraintBottom_toBottomOf="parent"
  26.        app:layout_constraintEnd_toEndOf="parent"
  27.        app:layout_constraintHorizontal_bias="0.5"
  28.        app:layout_constraintStart_toStartOf="parent"
  29.        app:layout_constraintTop_toBottomOf="@+id/editText"></Button>
  30.  
  31.  
  32. </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement