content_main.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:id="@+id/content_main"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:background="@color/colorBackground"
  9. android:minHeight="152dp"
  10. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  11. tools:context=".MainActivity"
  12. tools:showIn="@layout/app_bar_main">
  13. <ScrollView
  14. android:layout_width="0dp"
  15. android:layout_height="0dp"
  16. app:layout_constraintBottom_toBottomOf="parent"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. app:layout_constraintStart_toStartOf="parent"
  19. app:layout_constraintTop_toTopOf="parent">
  20. <LinearLayout
  21. android:id="@+id/content_layout"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:orientation="vertical"
  25. android:theme="@style/AppTheme">
  26. <LinearLayout
  27. android:layout_width="match_parent"
  28. android:layout_height="match_parent"
  29. android:background="@color/colorWhite"
  30. android:orientation="vertical"
  31. android:padding="10dp">
  32. <TextView
  33. android:id="@+id/textView2"
  34. android:layout_width="match_parent"
  35. android:layout_height="wrap_content"
  36. android:fontFamily="@font/play_regular"
  37. android:text="date" />
  38. <TextView
  39. android:id="@+id/textView3"
  40. android:layout_width="match_parent"
  41. android:layout_height="wrap_content"
  42. android:fontFamily="@font/play_regular"
  43. android:text="Турнир по мини-футболу" />
  44. <TextView
  45. android:id="@+id/textView4"
  46. android:layout_width="match_parent"
  47. android:layout_height="wrap_content"
  48. android:layout_gravity="right|center_vertical"
  49. android:text="10 октября 2018 года на базе Далматовского филиала «КТК» был проведен турнир по мини-футболу памяти Андрея Чащина. Организаторами турнира выступили Администрация Далматовского филиала «КТК» и ДРОО " />
  50. </LinearLayout>
  51. </LinearLayout>
  52. </ScrollView>
  53. </android.support.constraint.ConstraintLayout>