123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="244dp"
- android:layout_weight="0.01"
- android:orientation="horizontal" >
- <LinearLayout
- android:layout_width="195dp"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="150dp"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="围栏id"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <EditText
- android:id="@+id/geoid"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:ems="10"
- android:text="geofence" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/textView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="经度"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <EditText
- android:id="@+id/geolontitude"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
-
- android:text="116.313122" >
- <requestFocus />
- </EditText>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/TextView02"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="纬度"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <EditText
- android:id="@+id/geolatitude"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
-
- android:text="40.047951" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/TextView01"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="围栏持续时间(ms)"
- android:textAppearance="?android:attr/textAppearanceMedium" />
- <EditText
- android:id="@+id/geoduration"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:inputType="numberDecimal"
- android:text="36000000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/addfence"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="添加围栏" />
- <Button
- android:id="@+id/removefence"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="删除围栏" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <ListView
- android:id="@+id/geolist"
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- </ListView>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0.05"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="日志:"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- <TextView
- android:id="@+id/geofencelog"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text=" "
- android:textAppearance="?android:attr/textAppearanceLarge" />
- </LinearLayout>
- </LinearLayout>
|