|
@@ -1,121 +1,120 @@
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
- android:paddingTop="@dimen/activity_vertical_margin" >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/textStatistics"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/statistics"
|
|
|
- android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
-
|
|
|
- <HorizontalScrollView
|
|
|
- android:layout_width="fill_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:scrollbars="none" >
|
|
|
-
|
|
|
- <TableLayout
|
|
|
- android:id="@+id/layoutContainer"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical" >
|
|
|
- </TableLayout>
|
|
|
-
|
|
|
- </HorizontalScrollView>
|
|
|
+ android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
+ android:scrollbars="none" >
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal" >
|
|
|
+ android:orientation="vertical" >
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/textFirstAttack"
|
|
|
+ android:id="@+id/textStatistics"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/firstAttack"
|
|
|
- android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+ android:text="@string/statistics"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/textFirstAttackValue"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="2dp"
|
|
|
- android:text=""
|
|
|
- android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal" >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/textLastAttack"
|
|
|
+ <TableLayout
|
|
|
+ android:id="@+id/layoutContainer"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/lastAttack"
|
|
|
- android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+ android:orientation="vertical" >
|
|
|
+ </TableLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/textLastAttackValue"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="2dp"
|
|
|
- android:text=""
|
|
|
- android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/textLogFile"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/log_actions"
|
|
|
- android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal" >
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/buttonShowLog"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textFirstAttack"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/firstAttack"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textFirstAttackValue"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingLeft="2dp"
|
|
|
+ android:text=""
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:onClick="showLog"
|
|
|
- android:text="Show Log" />
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textLastAttack"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@string/lastAttack"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textLastAttackValue"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:paddingLeft="2dp"
|
|
|
+ android:text=""
|
|
|
+ android:textAppearance="?android:attr/textAppearanceMedium" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <Button
|
|
|
- android:id="@+id/buttonExportDatabase"
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/textLogFile"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:onClick="exportDatabase"
|
|
|
- android:text="Export Database" />
|
|
|
- </LinearLayout>
|
|
|
+ android:text="@string/log_actions"
|
|
|
+ android:textAppearance="?android:attr/textAppearanceLarge" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal" >
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/buttonUploadLog"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:onClick="uploadDatabase"
|
|
|
- android:text="Upload Log" />
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/buttonDeleteLog"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonShowLog"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:onClick="showLog"
|
|
|
+ android:text="Show Log" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonExportDatabase"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:onClick="exportDatabase"
|
|
|
+ android:text="Export Database" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:onClick="deleteLog"
|
|
|
- android:text="Delete Log" />
|
|
|
+ android:orientation="horizontal" >
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonUploadLog"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:onClick="uploadDatabase"
|
|
|
+ android:text="Upload Log" />
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/buttonDeleteLog"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:onClick="deleteLog"
|
|
|
+ android:text="Delete Log" />
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
|
|
|
-</LinearLayout>
|
|
|
+</ScrollView>
|