Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- <TableLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:shrinkColumns="1"
- android:stretchColumns="1" >
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp"
- android:layout_width="match_parent" >
- <TextView
- android:layout_width="match_parent"
- android:text="You can only add a spot based on your current location" />
- </TableRow>
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" >
- <TextView android:text="Name:" />
- <EditText android:id="@+id/name" />
- </TableRow>
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" >
- <TextView android:text="Address:" />
- <EditText android:id="@+id/addr" />
- </TableRow>
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" >
- <TextView android:text="Type:" />
- <Spinner
- android:id="@+id/spinnerType"
- style="@style/AppBaseTheme"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:entries="@array/types_array"
- android:prompt="@string/types_prompt" />
- </TableRow>
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" >
- <TextView android:text="Terrain:" />
- <Spinner
- android:id="@+id/spinnerTerrain"
- style="@style/AppBaseTheme"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:entries="@array/ratings_array"
- android:prompt="@string/ratings_prompt" />
- </TableRow>
- <TableRow>
- <TextView android:text="Difficulty:" />
- <Spinner
- android:id="@+id/spinnerDifficulty"
- style="@style/AppBaseTheme"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:entries="@array/ratings_array"
- android:prompt="@string/ratings_prompt" />
- </TableRow>
- <TableRow
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" >
- <TextView android:text="Description:" />
- <EditText
- android:id="@+id/desc"
- android:gravity="top"
- android:inputType="textMultiLine"
- android:lines="2"
- android:maxLines="2"
- android:scrollHorizontally="false" />
- </TableRow>
- <Button
- android:id="@+id/save"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Save"
- android:layout_marginBottom="2sp"
- android:layout_marginTop="2sp" />
- </TableLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement