7. android:layout_lignParentRight="true" />
</RelativeLayout>
En esta práctica aprendí como poner 4 textos diferentes en cuatro esquinas,y fondo blanco,mejore mi
practica con el “Layout”
Proyecto5_ RelativeLayout
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp"
android:background="#f4F356">
<TextView
android:id="@+id/lyla_text_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
12. </LinearLayout>
Aquí aprendí en vez de color de fondo, poner una imagen de fondo que lancen un mensaje! Arrastrando la
imagen que tenemos guardada en PC mandándola a el programa android studio.
Practica_Constraintlayout en Android
<android.support.constraint.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="match_parent"
tools:context="com.example.lap_c_pc06.prctica3.MainActivity"
android:background="#A9A9F5">
<ImageView
android:layout_width="119dp"
android:layout_height="160dp"
android:layout_marginBottom="344dp"
android:layout_weight="1"
android:scaleType="centerCrop"
android:src="@drawable/dg"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"