3

este sirve para poder poner imágenes y textos puestos con solo el código y textos que queden acoplados



<LinearLayout
   
xmlns:android="http://schemas.android.com/apk/res/android"
   
android:orientation="vertical"
   
android:layout_width="match_parent"
   
android:layout_height="match_parent">



    <
ImageView
       
android:id="@+id/imageView"
       
android:layout_width="457dp"
       
android:layout_height="608dp"
       
android:layout_marginStart="8dp"
       
android:src="@drawable/rana"
       
android:contentDescription="todo" />
    <
TextView
       
android:layout_width="wrap_content"
       
android:layout_height="wrap_content"
       
android:text="bonfire_at_the_beach"
       
android:layout_weight="0"
       
android:textColor="@android:color/white"
       
android:textSize="34sp"
       
android:background="#009688"/>
    <
TextView
       
android:layout_width="wrap_content"
       
android:layout_height="wrap_content"
       
android:text="Hello World!"
       
android:textSize="54sp"
       
android:textColor="@android:color/white"
       
android:background="#009688"/>



</
LinearLayout>

No hay comentarios.:

Publicar un comentario