dialog_changelog.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="vertical"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@drawable/section"
  8. android:id="@+id/ll_home_section_lablanca"
  9. android:layout_marginBottom="30dp"
  10. android:layout_marginEnd="12dp"
  11. android:layout_marginLeft="12dp"
  12. android:layout_marginRight="12dp"
  13. android:layout_marginStart="12dp"
  14. android:layout_marginTop="30dp"
  15. android:paddingBottom="15dp">
  16. <TextView
  17. android:text="@string/changelog"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:textAppearance="?android:attr/textAppearanceLarge"
  21. android:textStyle="bold"
  22. android:textColor="@color/section_title"
  23. android:paddingBottom="4dp"
  24. android:paddingEnd="10dp"
  25. android:paddingStart="20dp"
  26. android:paddingTop="4dp"
  27. android:background="@drawable/section_title"
  28. android:layout_alignParentTop="true"
  29. android:id="@+id/tv_changelog"/>
  30. <WebView
  31. android:layout_width="match_parent"
  32. android:layout_height="match_parent"
  33. android:id="@+id/wv_changelog"
  34. android:scrollbars="vertical"
  35. android:layout_below="@+id/tv_changelog"
  36. android:layout_above="@+id/bt_changelog"
  37. android:layout_marginEnd="1dp"
  38. android:layout_marginLeft="1dp"
  39. android:layout_marginRight="1dp"
  40. android:layout_marginStart="1dp"
  41. android:background="@drawable/entry"
  42. android:scrollbarFadeDuration="0"
  43. android:scrollbarAlwaysDrawVerticalTrack="true"/>
  44. <Button
  45. android:text="@string/accept"
  46. android:layout_width="wrap_content"
  47. android:id="@+id/bt_changelog"
  48. android:layout_alignParentBottom="true"
  49. android:layout_height="wrap_content"
  50. android:layout_centerInParent="false"
  51. android:layout_centerHorizontal="true"
  52. android:layout_marginBottom="15dp"
  53. android:layout_marginEnd="25dp"
  54. android:layout_marginLeft="25dp"
  55. android:layout_marginRight="25dp"
  56. android:layout_marginStart="25dp"
  57. android:layout_marginTop="5dp"
  58. android:background="@drawable/button_selector"
  59. android:minHeight="40dp"
  60. android:textColor="@color/input_button_color"
  61. android:textStyle="bold"/>
  62. </RelativeLayout>