activity_viewlog.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical"
  6. android:paddingBottom="@dimen/activity_vertical_margin"
  7. android:paddingLeft="@dimen/activity_horizontal_margin"
  8. android:paddingRight="@dimen/activity_horizontal_margin"
  9. android:paddingTop="@dimen/activity_vertical_margin" >
  10. <TextView
  11. android:id="@+id/textStatistics"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:text="@string/statistics"
  15. android:textAppearance="?android:attr/textAppearanceLarge" />
  16. <LinearLayout
  17. android:id="@+id/layoutContainer"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:orientation="vertical"
  21. android:paddingLeft="@dimen/activity_horizontal_margin" >
  22. </LinearLayout>
  23. <LinearLayout
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:orientation="horizontal" >
  27. <TextView
  28. android:id="@+id/textFirstAttack"
  29. android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:text="@string/firstAttack"
  32. android:textAppearance="?android:attr/textAppearanceMedium" />
  33. <TextView
  34. android:id="@+id/textFirstAttackValue"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:text=""
  38. android:textAppearance="?android:attr/textAppearanceMedium" />
  39. </LinearLayout>
  40. <LinearLayout
  41. android:layout_width="match_parent"
  42. android:layout_height="wrap_content"
  43. android:orientation="horizontal" >
  44. <TextView
  45. android:id="@+id/textLastAttack"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:text="@string/lastAttack"
  49. android:textAppearance="?android:attr/textAppearanceMedium" />
  50. <TextView
  51. android:id="@+id/textLastAttackValue"
  52. android:layout_width="wrap_content"
  53. android:layout_height="wrap_content"
  54. android:text=""
  55. android:textAppearance="?android:attr/textAppearanceMedium" />
  56. </LinearLayout>
  57. <TextView
  58. android:id="@+id/textLogFile"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content"
  61. android:text="@string/logFile"
  62. android:textAppearance="?android:attr/textAppearanceLarge" />
  63. <LinearLayout
  64. android:layout_width="match_parent"
  65. android:layout_height="wrap_content"
  66. android:orientation="horizontal" >
  67. <Button
  68. android:id="@+id/buttonShowLog"
  69. android:layout_width="wrap_content"
  70. android:layout_height="wrap_content"
  71. android:onClick="showLog"
  72. android:text="Show Log" />
  73. <Button
  74. android:id="@+id/buttonExportDatabase"
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:onClick="exportDatabase"
  78. android:text="Export Database" />
  79. </LinearLayout>
  80. <LinearLayout
  81. android:layout_width="match_parent"
  82. android:layout_height="wrap_content"
  83. android:orientation="horizontal" >
  84. <Button
  85. android:id="@+id/buttonUploadLog"
  86. android:layout_width="wrap_content"
  87. android:layout_height="wrap_content"
  88. android:onClick="uploadDatabase"
  89. android:text="Upload Log" />
  90. <Button
  91. android:id="@+id/buttonDeleteLog"
  92. android:layout_width="wrap_content"
  93. android:layout_height="wrap_content"
  94. android:onClick="deleteLog"
  95. android:text="Delete Log" />
  96. </LinearLayout>
  97. </LinearLayout>