jueves, 8 de diciembre de 2022

activity_linkdeafiliados.xml - Tu estilo v1.1 - Código Java - Android Studio - WebView

 <?xml version="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout 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="wrap_content"
tools:context=".LinkdeafiliadoActivity">

<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="124dp"
android:layout_marginBottom="10dp"
app:srcCompat="@mipmap/logo" />
<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="25dp"
android:text="Ingresa tu Id de afiliado para que puedas compartir tus enlaces más fácilmente. Solo es necesario agregar el numero sin espacios o caracteres especioles y darle clic al botón de guardar. Para desactivar borra el id y guarda."
android:textAlignment="center"
android:textSize="20dp" />

<EditText
android:id="@+id/iddeafiliado"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="number"
android:layout_marginBottom="25dp"
android:text="@string/id_de_afiliado" />

<Button
android:id="@+id/guardariddeafiliado"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="25dp"
android:text="Guardar" />



</LinearLayout>
</ScrollView>

</androidx.constraintlayout.widget.ConstraintLayout>
Share:

0 comments:

Publicar un comentario