Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout 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"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context="none.treego.MainActivity"
- tools:showIn="@layout/app_bar_main">
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/btnTeste1"
- android:id="@+id/btnShowState"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/btnTeste2"
- android:id="@+id/btnShowCity"
- android:layout_alignTop="@+id/btnShowState"
- android:layout_toEndOf="@+id/btnShowState" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/btnTeste3"
- android:id="@+id/btnShowNeighborhood"
- android:layout_alignTop="@+id/btnShowCity"
- android:layout_toEndOf="@+id/btnShowCity" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/btnTeste4"
- android:id="@+id/btnShowStreet"
- android:layout_alignTop="@+id/btnShowNeighborhood"
- android:layout_toEndOf="@+id/btnShowNeighborhood" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Estado"
- android:id="@+id/lblState"
- android:layout_below="@+id/btnShowState"
- android:layout_alignParentStart="true" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Cidade"
- android:id="@+id/lblCity"
- android:layout_below="@+id/lblState"
- android:layout_alignStart="@+id/lblState" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Bairro"
- android:id="@+id/lblNeighborhood"
- android:layout_below="@+id/lblCity"
- android:layout_alignStart="@+id/lblCity" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="Rua"
- android:id="@+id/lblStreet"
- android:layout_below="@+id/lblNeighborhood"
- android:layout_alignParentStart="true" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement