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
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
- <TextView
- android:text="@string/spnS1"
- android:id="@+id/lblTxt1"
- android:layout_height="wrap_content"
- android:layout_width="wrap_content"
- android:textSize="20dp"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true" />
- <Spinner
- android:id="@+id/nome_spinner"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:entries="@array/spnCS1"
- android:layout_marginLeft="10dp"
- android:layout_alignParentTop="true"
- android:layout_toEndOf="@+id/lblTxt1" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:text="CAP1:"
- android:id="@+id/lblTxtCap1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="20dp"
- android:layout_alignParentTop="true"
- android:layout_alignParentStart="true" />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCap1"
- android:layout_below="@+id/lblTxtCap1"
- android:layout_centerHorizontal="true" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:text="CAP2:"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/lblTxtCap2"
- android:textSize="20dp"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCap2"
- android:layout_below="@id/lblTxtCap2"
- android:layout_centerHorizontal="true"
- />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/lblTxtCap3"
- android:text="CAP3:"
- android:textSize="20dp"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCap3"
- android:layout_below="@id/lblTxtCap3"
- android:layout_centerHorizontal="true"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/lblTxtCaBase"
- android:text="CaBase:"
- android:textSize="20dp"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCaBase"
- android:layout_below="@id/lblTxtCaBase"
- android:layout_centerHorizontal="true"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/lblCopDiam1"
- android:text="Copa Diâmetro 1:"
- android:textSize="20dp"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCopDiam1"
- android:layout_below="@id/lblCopDiam1"
- android:layout_centerHorizontal="true"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="0.1">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="20dp"
- android:text="Copa Diâmetro 2:"
- android:id="@+id/lblCopDiam2"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatCopDiam2"
- android:layout_below="@id/lblCopDiam2"
- android:layout_centerHorizontal="true"/>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/lblAlt"
- android:text="Altura:"
- android:textSize="20dp"
- />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:ems="10"
- android:id="@+id/floatAlt"
- android:layout_below="@id/lblAlt"
- android:layout_centerHorizontal="true" />
- </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="Altura 1ª Ram:"
- android:textSize="20dp"
- android:id="@+id/lblAlta" />
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:inputType="numberDecimal"
- android:id="@+id/floatAlta"
- android:ems="10"
- android:layout_below="@id/lblAlta"
- android:layout_centerHorizontal="true"
- />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <EditText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:id="@+id/space"
- android:ems="10"
- android:layout_alignParentBottom="true"
- android:layout_alignParentEnd="true" />
- </RelativeLayout>
- </LinearLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement