fragment_layout_blog.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. android:id="@+id/scrollView3"
  8. android:background="@color/background_app"
  9. android:padding="7dp"
  10. tools:ignore="Overdraw">
  11. <LinearLayout
  12. android:orientation="vertical"
  13. android:layout_width="match_parent"
  14. android:layout_height="fill_parent"
  15. android:layout_weight="1"
  16. android:background="@drawable/section"
  17. android:padding="5dp">
  18. <TextView
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:textAppearance="?android:attr/textAppearanceLarge"
  22. android:text="@string/section_title_blog"
  23. android:textStyle="bold"
  24. android:layout_marginBottom="10dp"
  25. android:layout_margin="5dp" />
  26. <LinearLayout
  27. android:orientation="vertical"
  28. android:layout_width="match_parent"
  29. android:layout_height="match_parent"
  30. android:id="@+id/ll_blog_list"/>
  31. <LinearLayout
  32. android:orientation="horizontal"
  33. android:layout_width="match_parent"
  34. android:layout_height="match_parent"
  35. android:layout_gravity="center_horizontal"
  36. android:gravity="center_horizontal">
  37. <Button
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:text="@string/blog_pager_previous"
  41. android:id="@+id/bt_blog_previous"
  42. android:background="@drawable/button_selector"
  43. android:textStyle="bold"
  44. android:textColor="@color/input_button_color"
  45. android:layout_gravity="center_horizontal"
  46. android:visibility="gone"
  47. android:layout_margin="5dp"
  48. tools:ignore="ButtonStyle"/>
  49. <Button
  50. android:layout_width="wrap_content"
  51. android:layout_height="wrap_content"
  52. android:text="@string/blog_pager_next"
  53. android:id="@+id/bt_blog_next"
  54. android:background="@drawable/button_selector"
  55. android:textStyle="bold"
  56. android:textColor="@color/input_button_color"
  57. android:layout_gravity="center_horizontal"
  58. android:layout_margin="5dp"
  59. tools:ignore="ButtonStyle"/>
  60. </LinearLayout>
  61. </LinearLayout>
  62. </com.ivalentin.margolariak.CustomScrollView>