fragment_layout_blog.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <com.ivalentin.margolariak.CustomScrollView
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="fill_parent"
  6. android:layout_height="wrap_content">
  7. <LinearLayout
  8. android:orientation="vertical"
  9. android:layout_width="match_parent"
  10. android:layout_height="fill_parent"
  11. android:layout_marginBottom="10dp"
  12. tools:ignore="UselessParent">
  13. <LinearLayout
  14. android:orientation="vertical"
  15. android:layout_width="match_parent"
  16. android:layout_height="fill_parent"
  17. android:background="@drawable/section"
  18. android:layout_margin="10dp">
  19. <TextView
  20. android:layout_width="match_parent"
  21. android:layout_height="wrap_content"
  22. android:text="@string/section_title_blog"
  23. android:textAppearance="?android:attr/textAppearanceLarge"
  24. android:textStyle="bold"
  25. tools:layout_width="match_parent"
  26. android:background="@drawable/section_title"
  27. android:paddingBottom="4dp"
  28. android:paddingEnd="10dp"
  29. android:paddingLeft="20dp"
  30. android:paddingRight="10dp"
  31. android:paddingStart="20dp"
  32. android:paddingTop="4dp"
  33. android:textColor="@color/section_title"/>
  34. <LinearLayout
  35. android:orientation="vertical"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:id="@+id/ll_blog_list"/>
  39. <LinearLayout
  40. android:orientation="horizontal"
  41. android:layout_width="match_parent"
  42. android:layout_height="match_parent"
  43. android:layout_gravity="center_horizontal"
  44. android:gravity="center_horizontal">
  45. <Button
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:text="@string/blog_pager_previous"
  49. android:id="@+id/bt_blog_previous"
  50. android:background="@drawable/button_selector"
  51. android:textStyle="bold"
  52. android:textColor="@color/input_button_color"
  53. android:layout_gravity="center_horizontal"
  54. android:visibility="gone"
  55. android:layout_margin="5dp"
  56. tools:ignore="ButtonStyle"/>
  57. <Button
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:text="@string/blog_pager_next"
  61. android:id="@+id/bt_blog_next"
  62. android:background="@drawable/button_selector"
  63. android:textStyle="bold"
  64. android:textColor="@color/input_button_color"
  65. android:layout_gravity="center_horizontal"
  66. android:layout_margin="5dp"
  67. tools:ignore="ButtonStyle"/>
  68. </LinearLayout>
  69. </LinearLayout>
  70. </LinearLayout>
  71. </com.ivalentin.margolariak.CustomScrollView>