modelo_pagina_con_imagenes.xml 1.2 KB
Newer Older
Miguel Do Carmo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:padding="30dp"
    android:layout_gravity="center"
    android:gravity="center_horizontal"
    android:layout_width="match_parent"
    android:layout_height="wrap_content">

    <ImageView
        android:id="@+id/imagenPagina"
        android:layout_width="@dimen/widthPhoto"
        android:layout_height="@dimen/heightPhoto"
        android:src="@drawable/ic_imagen_prueba"
        android:contentDescription="@string/app_name"/>
    <TextView
        android:id="@+id/textoTitulo"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textColor="#FFFFFF"
        android:layout_marginTop="12dp"
        android:text="Title Example"
        android:gravity="center_horizontal" />
    <TextView
        android:id="@+id/textoCuerpo"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:textColor="#FFFFFF"
        android:layout_marginTop="12dp"
        android:text="Body Example one Line!!!"
        android:gravity="center_horizontal" />

</LinearLayout>