Permalink
Browse files

Fixed landscape layout

  • Loading branch information...
1 parent 8396e34 commit a9e7a6a5fcac3e47cda7ed599aa640632d110559 @exhuma exhuma committed May 21, 2010
Showing with 135 additions and 262 deletions.
  1. +0 −131 res/layout-land/location.xml
  2. +135 −131 res/layout/location.xml
@@ -1,131 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <TableLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
- <TableRow>
- <TextView
- android:text="@string/name"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <EditText
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:editable="true"
- android:hint="@string/hint_name"
- android:id="@+id/name"
- android:singleLine="true"
- android:layout_weight="1" />
- </TableRow>
- <TableRow>
- <TextView
- android:text="@string/latitude"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <EditText
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:editable="true"
- android:hint="@string/hint_latitude"
- android:id="@+id/latitude"
- android:singleLine="true"
- android:layout_weight="1"
- android:numeric="signed|decimal" />
- </TableRow>
- <TableRow>
- <TextView
- android:text="@string/longitude"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <EditText
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:editable="true"
- android:hint="@string/hint_longitude"
- android:id="@+id/longitude"
- android:singleLine="true"
- android:layout_weight="1"
- android:numeric="signed|decimal" />
- </TableRow>
- </TableLayout>
- <View
- android:layout_width="fill_parent"
- android:background="@android:drawable/divider_horizontal_bright"
- android:layout_marginBottom="10dip"
- android:layout_marginTop="10dip"
- android:layout_height="4dip" />
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:baselineAligned="false" >
- <TableLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" android:layout_weight="4">
- <TableRow>
- <TextView
- android:text="@string/source"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/current_source"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceSmall" />
- </TableRow>
- <TableRow>
- <TextView
- android:text="@string/latitude"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/current_latitude"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceSmall" />
- </TableRow>
- <TableRow>
- <TextView
- android:text="@string/longitude"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/current_longitude"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceSmall" />
- </TableRow>
- <TableRow>
- <TextView
- android:text="@string/accuracy"
- android:gravity="right|center_vertical"
- android:textAppearance="?android:attr/textAppearanceMedium"
- android:paddingRight="10dip" />
- <TextView
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:id="@+id/current_accuracy"
- android:layout_weight="1"
- android:textAppearance="?android:attr/textAppearanceSmall" />
- </TableRow>
- </TableLayout>
- <Button
- android:id="@+id/set_location"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/set_location" android:layout_gravity="center|left" android:layout_weight="1"/>
- </LinearLayout>
-</LinearLayout>
Oops, something went wrong.

0 comments on commit a9e7a6a

Please sign in to comment.