fragment_main_dashboard.xml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/white">
  6. <RelativeLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:layout_marginTop="@dimen/main_top_margin_height">
  10. <android.support.v4.view.ViewPager
  11. android:id="@+id/viewPager"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent"
  14. android:fadingEdgeLength="0dp"
  15. android:overScrollMode="never" />
  16. <ImageView
  17. android:layout_width="match_parent"
  18. android:layout_height="8dp"
  19. android:background="@mipmap/gradient_white" />
  20. </RelativeLayout>
  21. <!-- Toolbar -->
  22. <LinearLayout
  23. android:id="@+id/toolbarContainer_linearLayout"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:orientation="vertical">
  27. <RelativeLayout
  28. android:id="@+id/toolbar_relativeLayout"
  29. android:layout_width="match_parent"
  30. android:layout_height="@dimen/main_top_toolbar_height"
  31. android:elevation="@dimen/common_size_18"
  32. android:orientation="horizontal">
  33. <kr.co.hanwha.hifive.view.FontTextView
  34. android:id="@+id/title_textView"
  35. android:layout_width="match_parent"
  36. android:layout_height="match_parent"
  37. android:gravity="center" />
  38. <ImageButton
  39. android:id="@+id/search_imageButton"
  40. android:layout_width="44dp"
  41. android:layout_height="44dp"
  42. android:layout_centerVertical="true"
  43. android:layout_marginRight="1dp"
  44. android:layout_toLeftOf="@+id/alarm_imageButton"
  45. android:background="@null"
  46. android:src="@mipmap/ic_ab_search" />
  47. <ImageButton
  48. android:id="@+id/alarm_imageButton"
  49. android:layout_width="44dp"
  50. android:layout_height="44dp"
  51. android:layout_alignParentRight="true"
  52. android:layout_centerVertical="true"
  53. android:layout_marginRight="3dp"
  54. android:background="@null"
  55. android:src="@mipmap/ic_ab_notice" />
  56. </RelativeLayout>
  57. <LinearLayout
  58. android:layout_width="match_parent"
  59. android:layout_height="@dimen/main_top_tabbar_height"
  60. android:layout_alignParentStart="true"
  61. android:layout_alignParentTop="true"
  62. android:orientation="horizontal">
  63. <kr.co.hanwha.hifive.view.FontTextView
  64. style="@style/font_notosans_b_32dp_grey01"
  65. android:layout_width="wrap_content"
  66. android:layout_height="wrap_content"
  67. android:layout_marginLeft="15.5dp"
  68. android:text="@string/main_dashboard_title" />
  69. <View
  70. android:id="@+id/tabbarBackground_view"
  71. android:layout_width="match_parent"
  72. android:layout_height="match_parent"
  73. android:layout_weight="1" />
  74. <kr.co.hanwha.hifive.view.HFDashboardTabView
  75. android:id="@+id/dashboardTabView"
  76. android:layout_width="wrap_content"
  77. android:layout_height="wrap_content"
  78. android:layout_marginRight="15dp"
  79. android:layout_weight="0" />
  80. </LinearLayout>
  81. </LinearLayout>
  82. <!-- Toolbar End -->
  83. </RelativeLayout>