activity_viewlog.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. <Button
  64. android:id="@+id/buttonShowLog"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:onClick="showLog"
  68. android:text="Show Log" />
  69. <LinearLayout
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:orientation="horizontal" >
  73. <Button
  74. android:id="@+id/buttonUploadLog"
  75. android:layout_width="wrap_content"
  76. android:layout_height="wrap_content"
  77. android:text="Upload Log" />
  78. <Button
  79. android:id="@+id/buttonDeleteLog"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:onClick="deleteLog"
  83. android:text="Delete Log" />
  84. </LinearLayout>
  85. </LinearLayout>