Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context="com.example.practicaintent.MainActivity" >
- <Button
- android:id="@+id/button1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/textView1"
- android:layout_centerHorizontal="true"
- android:onClick="Bnt_ActionView"
- android:text="Abrir pagina Web" />
- <Button
- android:id="@+id/button2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/button1"
- android:layout_centerHorizontal="true"
- android:onClick="Bnt_ActionDial"
- android:text="Telefono" />
- <Button
- android:id="@+id/button3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/button2"
- android:layout_centerHorizontal="true"
- android:onClick="Bnt_ActionDialCall"
- android:text="Realizar Llamada telefonica" />
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="23dp"
- android:text="Aplicaciones Disponibles" />
- <Button
- android:id="@+id/button5"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/button3"
- android:layout_below="@+id/button3"
- android:onClick="Bnt_GoogleMaps"
- android:text="Google Maps" />
- <Button
- android:id="@+id/button6"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/button5"
- android:layout_below="@+id/button5"
- android:onClick="Bnt_TakePicture"
- android:text="Tomar Foto" />
- <Button
- android:id="@+id/button7"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/button6"
- android:layout_centerHorizontal="true"
- android:onClick="Bnt_Email"
- android:text="Enviar Correo" />
- <Button
- android:id="@+id/button4"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/button7"
- android:layout_below="@+id/button7"
- android:onClick="Bnt_MmsMessage"
- android:text="Mensaje" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement