activity_main.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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:padding="10dip"
  6. android:orientation="vertical"
  7. android:gravity="center"
  8. tools:context="${packageName}.${activityClass}" >
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="wrap_content"
  12. android:orientation="vertical">
  13. <Button
  14. android:id="@+id/btn_ui"
  15. android:layout_width="match_parent"
  16. android:layout_height="40dip"
  17. android:text="UI更新"
  18. />
  19. <Button
  20. android:id="@+id/btn_silence"
  21. android:layout_width="match_parent"
  22. android:layout_height="40dip"
  23. android:text="静默更新"
  24. />
  25. <Button
  26. android:id="@+id/btn_as"
  27. android:layout_width="match_parent"
  28. android:layout_height="40dip"
  29. android:text="百度助手更新"
  30. />
  31. <Button
  32. android:id="@+id/btn_noui"
  33. android:layout_width="match_parent"
  34. android:layout_height="40dip"
  35. android:text="无UI更新"
  36. />
  37. </LinearLayout>
  38. <ScrollView
  39. android:layout_width="match_parent"
  40. android:layout_height="match_parent">
  41. <TextView
  42. android:id="@+id/txt_log"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. />
  46. </ScrollView>
  47. </LinearLayout>