|
@@ -1,10 +1,198 @@
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
- android:layout_height="match_parent"
|
|
|
|
- android:background="@android:color/transparent"
|
|
|
|
- >
|
|
|
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
+ android:padding="8dp">
|
|
|
|
|
|
|
|
+ <TableLayout
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content" android:stretchColumns="*">
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/ssid"
|
|
|
|
+ android:id="@+id/textView2"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_ssid_value" android:layout_column="1"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/bssid"
|
|
|
|
+ android:id="@+id/textView" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_bssid_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/protocol"
|
|
|
|
+ android:id="@+id/textView3" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_protocol_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/timestamp"
|
|
|
|
+ android:id="@+id/textView4" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_timestamp_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/location"
|
|
|
|
+ android:id="@+id/textView5" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_location_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/internal_ip"
|
|
|
|
+ android:id="@+id/textView7" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_internalip_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/external_ip"
|
|
|
|
+ android:id="@+id/textView6" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_externalip_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/remote_ip"
|
|
|
|
+ android:id="@+id/textView6" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_remoteip_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ <TableRow
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/packet_type"
|
|
|
|
+ android:id="@+id/textView8" android:layout_column="0"/>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefined"
|
|
|
|
+ android:id="@+id/record_detail_packettype_value"
|
|
|
|
+ android:gravity="right"/>
|
|
|
|
+ </TableRow>
|
|
|
|
+ </TableLayout>
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="@string/packet_content"
|
|
|
|
+ android:id="@+id/textView9"/>
|
|
|
|
+ <ScrollView
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:id="@+id/scrollView"
|
|
|
|
+ android:layout_gravity="bottom"
|
|
|
|
+ android:layout_weight="1">
|
|
|
|
+ <TextView
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:padding="8dp"
|
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium"
|
|
|
|
+ android:text="undefinedsajdsdbjkfhjkashjf kljsdlfkaskldfdsaklhfhl klhkl fdslkhkfls dhklfads hklf hklsdfklh salkhflkhsadklfkhlsad klf asklfhkl safklaslhkdf klsad klhf sdklfdlkhö klsdlfkhö sklflhkslhkdf dklsfklh s dfklhöds kdklshf kdsklhflhksdfhkldkls klhf sdkl dkfhldsjfhj sdhflhjksd fjkldsklj fsljkf ljksd fljksdjklfdskljfjksd klj dklsfklösadjklfjkeifjih klds f"
|
|
|
|
+ android:id="@+id/record_detail_packetcontent_value" android:autoText="false"
|
|
|
|
+ android:typeface="monospace"
|
|
|
|
+ android:singleLine="false"
|
|
|
|
+ android:textIsSelectable="true"
|
|
|
|
+ android:background="@color/holo_yellow"/>
|
|
|
|
+ </ScrollView>
|
|
|
|
|
|
-</RelativeLayout>
|
|
|
|
|
|
+ <Button
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:text="@string/delete"
|
|
|
|
+ android:id="@+id/button"
|
|
|
|
+ android:layout_gravity="center_horizontal|bottom"
|
|
|
|
+ android:layout_weight="0"/>
|
|
|
|
+</LinearLayout>
|