|
@@ -0,0 +1,175 @@
|
|
|
+<?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" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:layout_weight="2.89"
|
|
|
+ android:scrollbars="vertical"
|
|
|
+ android:maxLines="12"
|
|
|
+ android:textColor="#ffffffff"
|
|
|
+ android:text=" "/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical" >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView2"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" 定位模式"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
+
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/selectMode"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent" >
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_hight"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:checked="true"
|
|
|
+ android:text="高精度" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_low"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="低功耗" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_device"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="仅设备" />
|
|
|
+</RadioGroup>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/TextView01"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="坐标系"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
+ <RadioGroup
|
|
|
+ android:id="@+id/selectCoordinates"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="match_parent" >
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_gcj02"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:checked="true"
|
|
|
+ android:text="gcj02(国测局加密经纬度坐标)" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_bd09ll"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="bd09ll(百度加密经纬度坐标)" />
|
|
|
+
|
|
|
+ <RadioButton
|
|
|
+ android:id="@+id/radio_bd09"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="bd09(百度加密墨卡托坐标)" />
|
|
|
+</RadioGroup>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/modeinfor"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="2.88"
|
|
|
+ android:text=" " />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="278dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textView3"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="定位时间间隔(ms):"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:id="@+id/frequence"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ems="10"
|
|
|
+ android:hint="1000"
|
|
|
+ android:inputType="number" >
|
|
|
+
|
|
|
+ <requestFocus />
|
|
|
+ </EditText>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="2.89"
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/geofencelog"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="反地理编码"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
+
|
|
|
+ <CheckBox
|
|
|
+ android:id="@+id/geolocation"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text=" " />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="2.89"
|
|
|
+ android:gravity="center|top"
|
|
|
+ android:orientation="vertical" >
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/addfence"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="开启定位" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+</LinearLayout>
|