Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="10dp"
- android:fillViewport="false">
- <LinearLayout 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:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin"
- tools:context=".AddTreeActivity"
- android:orientation="vertical"
- android:weightSum="1">
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent" android:layout_height="match_parent">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Cidade: "
- android:textSize="25dp"
- android:id="@+id/lblTxt2"
- />
- <Spinner
- android:id="@+id/cidade_spinner"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:entries="@array/spnCS2"
- android:layout_marginLeft="10dp"
- android:layout_alignParentTop="true"
- android:layout_toEndOf="@+id/lblTxt2" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Bairro"
- android:id="@+id/lblTxt3"
- android:textSize="25dp"
- />
- <Spinner
- android:id="@+id/bairro_spinner"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:entries="@array/spnCS3"
- android:layout_marginLeft="10dp"
- android:layout_alignParentTop="true"
- android:layout_toEndOf="@+id/lblTxt3" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Rua"
- android:id="@+id/lblTxt4"
- android:textSize="25dp"/>
- <Spinner
- android:id="@+id/rua_spinner"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:entries="@array/spnCS4"
- android:layout_marginLeft="10dp"
- android:layout_alignParentTop="true"
- android:layout_toEndOf="@+id/lblTxt4" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="NΓΊmero:"
- android:textSize="25dp"
- android:id="@+id/lblTxt5"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="number"
- android:id="@+id/intNum"
- android:ems="10"
- android:layout_below="@id/lblTxt5"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Latitude: "
- android:textSize="25dp"
- android:id="@+id/lblTxt6"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:id="@+id/floatLat"
- android:ems="10"
- android:layout_below="@id/lblTxt6"
- />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Longitude: "
- android:textSize="25dp"
- android:id="@+id/lblTxt7"/>
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:id="@+id/floatLong"
- android:ems="10"
- android:layout_below="@id/lblTxt7"/>
- </RelativeLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement