/woloc/res/layout/main_activity.xml

https://bitbucket.org/krichardsson/woloc · XML · 72 lines · 60 code · 12 blank · 0 comment · 0 complexity · 008cfefa117c97c49de290c8837e5399 MD5 · raw file

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:orientation="vertical">
  6. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:orientation="horizontal">
  10. <TextView android:id="@+id/status"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:textSize="50sp"
  14. android:text="@string/empty_string"/>
  15. </LinearLayout>
  16. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content"
  19. android:orientation="horizontal" android:baselineAligned="false">
  20. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:paddingRight="5sp"
  24. android:orientation="vertical">
  25. <TextView android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:textSize="30sp"
  28. android:text="@string/label_working_hours_today"/>
  29. <TextView android:layout_width="wrap_content"
  30. android:layout_height="wrap_content"
  31. android:textSize="30sp"
  32. android:text="@string/label_working_hours_this_week"/>
  33. <TextView android:layout_width="wrap_content"
  34. android:layout_height="wrap_content"
  35. android:textSize="30sp"
  36. android:text="@string/label_working_hours_this_month"/>
  37. </LinearLayout>
  38. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  39. android:layout_weight="1"
  40. android:layout_width="0dp"
  41. android:layout_height="wrap_content"
  42. android:orientation="vertical">
  43. <TextView android:id="@+id/working_hours_today"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:textSize="30sp"
  47. android:text="@string/empty_string"/>
  48. <TextView android:id="@+id/working_hours_this_week"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content"
  51. android:textSize="30sp"
  52. android:text="@string/empty_string"/>
  53. <TextView android:id="@+id/working_hours_this_month"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content"
  56. android:textSize="30sp"
  57. android:text="@string/empty_string"/>
  58. </LinearLayout>
  59. </LinearLayout>
  60. </LinearLayout>