layout_timetable.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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:layout_width="match_parent"
  6. android:layout_height="wrap_content"
  7. android:background="@drawable/shape_background_secondary"
  8. android:elevation="8sp"
  9. android:orientation="vertical"
  10. tools:layout_editor_absoluteX="8dp"
  11. tools:layout_editor_absoluteY="9dp">
  12. <androidx.constraintlayout.widget.ConstraintLayout
  13. android:id="@+id/day_root"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content">
  16. <TextView
  17. android:id="@+id/day_header"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:text="@string/news_date"
  21. android:textSize="16sp"
  22. android:textStyle="bold"
  23. app:layout_constraintEnd_toEndOf="parent"
  24. app:layout_constraintStart_toStartOf="parent"
  25. app:layout_constraintTop_toTopOf="parent" />
  26. <LinearLayout
  27. android:id="@+id/hr_right"
  28. android:layout_width="0dp"
  29. android:layout_height="1dp"
  30. android:layout_marginStart="8dp"
  31. android:layout_marginEnd="8dp"
  32. android:background="@color/text"
  33. android:orientation="horizontal"
  34. app:layout_constraintBottom_toBottomOf="@+id/day_header"
  35. app:layout_constraintEnd_toEndOf="parent"
  36. app:layout_constraintStart_toEndOf="@+id/day_header"
  37. app:layout_constraintTop_toTopOf="@+id/day_header" />
  38. <LinearLayout
  39. android:id="@+id/hr_left"
  40. android:layout_width="0dp"
  41. android:layout_height="1dp"
  42. android:layout_marginStart="8dp"
  43. android:layout_marginEnd="8dp"
  44. android:background="@color/text"
  45. android:orientation="horizontal"
  46. app:layout_constraintBottom_toBottomOf="@+id/day_header"
  47. app:layout_constraintEnd_toStartOf="@+id/day_header"
  48. app:layout_constraintStart_toStartOf="parent"
  49. app:layout_constraintTop_toTopOf="@+id/day_header">
  50. </LinearLayout>
  51. </androidx.constraintlayout.widget.ConstraintLayout>
  52. </LinearLayout>