Created
September 24, 2016 21:17
-
-
Save alvareztech/58d06016bd6c06195f080da698290b5b to your computer and use it in GitHub Desktop.
Ejemplo componente centro. Curso de desarrollo de aplicaciones Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/activity_segunda" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context="tech.alvarez.ejemploviews.SegundaActivity"> | |
<TextView | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:layout_centerHorizontal="true" | |
android:layout_centerVertical="true" | |
android:background="#F44336" | |
android:text="Hola" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment