| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <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:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingTop="10dp"
- android:layout_gravity="center"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:text="GeoFence" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingLeft="20dp"
- android:paddingRight="20dp"
- android:orientation="vertical">
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="100dp">
- <TextView
- android:id="@+id/GeoFenceData"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="top"
- android:layout_weight="4"
- android:scrollbars="vertical"
- android:hint="see the Geofence which wait to add"
- android:paddingTop="10dp" />
- </ScrollView>
- <Button
- android:id="@+id/CreateGeofence"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Add Geofence" />
- <Button
- android:id="@+id/removeGeofence"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="remove all Geofence" />
- <Button
- android:id="@+id/getGeoFenceData"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="get GeoFence Data" />
- <LinearLayout
- android:paddingTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center"
- android:paddingTop="10dp"
- android:text="Trigger" />
- <LinearLayout
- android:paddingLeft="10dp"
- android:layout_width="0dp"
- android:layout_weight="3"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <EditText
- android:id="@+id/trigger"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:inputType="number"
- android:hint="input trigger"/>
- </LinearLayout>
- </LinearLayout>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="120dp">
- <TextView
- android:hint="see the Geofence which already send the request"
- android:id="@+id/GeoRequestData"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_gravity="top"
- android:layout_weight="4"
- android:paddingTop="10dp" />
- </ScrollView>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:paddingTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/sendRequest"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="Send Request with pendingIntent" />
- <Button
- android:id="@+id/sendRequestWithNew"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="Send with new pendingIntent" />
- </LinearLayout>
- <Button
- android:id="@+id/GetRequestMessage"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Get Request Message" />
- <LinearLayout
- android:paddingTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:paddingTop="10dp"
- android:text="removeWithPendingIntent"
- />
- <LinearLayout
- android:paddingLeft="10dp"
- android:layout_width="0dp"
- android:layout_weight="3"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <EditText
- android:id="@+id/removeWithPendingIntentInput"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:inputType="number"
- android:hint="input pengdingIntent"/>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:paddingTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:paddingTop="10dp"
- android:text="removeWithID"
- />
- <LinearLayout
- android:paddingLeft="10dp"
- android:layout_width="0dp"
- android:layout_weight="3"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <EditText
- android:id="@+id/removeWithIDInput"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:hint="Input fence ID"
- android:inputType="text" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:paddingTop="10dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <Button
- android:id="@+id/removeWithIntent"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="Remove With Intent" />
- <Button
- android:id="@+id/removeWithID"
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:text="Remove With ID" />
- </LinearLayout>
- <FrameLayout
- android:id="@+id/framelog"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"/>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- </LinearLayout>
|