Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:app="http://schemas.android.com/apk/res-auto"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="wrap_content"
  5. android:layout_height="wrap_content"
  6. android:id="@+id/day_main_layout"
  7. android:background="@drawable/day_background_inactive"
  8. android:elevation="5dp"
  9. app:cardCornerRadius="10dp"
  10. app:layout_constraintBottom_toBottomOf="parent"
  11. app:layout_constraintEnd_toEndOf="parent"
  12. app:layout_constraintHorizontal_bias="0.0"
  13. app:layout_constraintStart_toStartOf="parent"
  14. app:layout_constraintTop_toTopOf="parent"
  15. app:layout_constraintVertical_bias="0.0">
  16.  
  17.  
  18.  
  19. <androidx.constraintlayout.widget.ConstraintLayout
  20. android:layout_width="100dp"
  21. android:layout_height="wrap_content"
  22. >
  23.  
  24. <TextView
  25. android:id="@+id/num_of_lessons"
  26. android:layout_width="wrap_content"
  27.  
  28. android:layout_height="wrap_content"
  29. android:layout_marginStart="8dp"
  30. android:layout_marginLeft="8dp"
  31. android:layout_marginTop="8dp"
  32. android:layout_marginEnd="8dp"
  33. android:layout_marginRight="8dp"
  34. android:layout_marginBottom="8dp"
  35. android:text=""
  36. android:background="@color/transparent"
  37. android:textAlignment="center"
  38. android:textColor="@color/colorPrimaryDark"
  39. android:textStyle="bold"
  40. app:layout_constraintBottom_toBottomOf="parent"
  41. app:layout_constraintEnd_toEndOf="parent"
  42. app:layout_constraintStart_toStartOf="parent"
  43. app:layout_constraintTop_toBottomOf="@+id/day_of_week"
  44. app:layout_constraintVertical_bias="0.0" />
  45.  
  46. <TextView
  47. android:id="@+id/day_of_week"
  48. android:layout_width="85dp"
  49. android:layout_height="69dp"
  50. android:layout_marginTop="8dp"
  51. android:background="@drawable/text_view_background_active"
  52. android:gravity="center"
  53. android:text="ПН"
  54. android:textColor="@color/colorWhite"
  55. android:textSize="32sp"
  56. android:textStyle="bold"
  57. app:layout_constraintEnd_toEndOf="parent"
  58. app:layout_constraintHorizontal_bias="0.509"
  59. app:layout_constraintStart_toStartOf="parent"
  60. app:layout_constraintTop_toTopOf="parent" />
  61. </androidx.constraintlayout.widget.ConstraintLayout>
  62. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement