content_main.xml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.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:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  8. tools:showIn="@layout/app_bar_main">
  9. <fragment
  10. android:id="@+id/nav_host_fragment"
  11. android:name="androidx.navigation.fragment.NavHostFragment"
  12. android:layout_width="match_parent"
  13. android:layout_height="0dp"
  14. app:defaultNavHost="true"
  15. app:layout_constraintBottom_toTopOf="@+id/phone_tv"
  16. app:layout_constraintLeft_toLeftOf="parent"
  17. app:layout_constraintRight_toRightOf="parent"
  18. app:layout_constraintTop_toTopOf="parent"
  19. app:navGraph="@navigation/mobile_navigation" />
  20. <TextView
  21. android:id="@+id/phone_tv"
  22. android:layout_width="match_parent"
  23. android:layout_height="30dp"
  24. android:background="@color/black"
  25. android:gravity="center|start"
  26. android:paddingStart="10dp"
  27. android:textColor="@color/white"
  28. android:singleLine="true"
  29. android:ellipsize="marquee"
  30. android:marqueeRepeatLimit="marquee_forever"
  31. android:focusable="true"
  32. android:focusableInTouchMode="true"
  33. android:scrollHorizontally="true"
  34. app:layout_constraintBottom_toBottomOf="parent"
  35. app:layout_constraintEnd_toEndOf="parent"
  36. app:layout_constraintStart_toStartOf="parent"
  37. tools:text="111111" />
  38. <TextView
  39. android:id="@+id/workTv"
  40. android:layout_width="0dp"
  41. android:layout_height="wrap_content"
  42. android:background="@color/black"
  43. android:gravity="start"
  44. android:textColor="#89FF00"
  45. android:paddingStart="10dp"
  46. android:singleLine="true"
  47. android:ellipsize="marquee"
  48. android:marqueeRepeatLimit="marquee_forever"
  49. android:focusable="true"
  50. android:focusableInTouchMode="true"
  51. android:scrollHorizontally="true"
  52. app:layout_constraintBottom_toBottomOf="@+id/nav_host_fragment"
  53. app:layout_constraintEnd_toEndOf="parent"
  54. app:layout_constraintStart_toStartOf="parent"
  55. tools:text="1111111111111111111111111" />
  56. <TextView
  57. android:id="@+id/workTv2"
  58. android:layout_width="0dp"
  59. android:layout_height="wrap_content"
  60. android:background="@color/black"
  61. android:gravity="start"
  62. android:paddingStart="10dp"
  63. android:textColor="#89FF00"
  64. app:layout_constraintBottom_toTopOf="@+id/workTv"
  65. app:layout_constraintEnd_toEndOf="parent"
  66. android:singleLine="true"
  67. android:ellipsize="marquee"
  68. android:marqueeRepeatLimit="marquee_forever"
  69. android:focusable="true"
  70. android:focusableInTouchMode="true"
  71. android:scrollHorizontally="true"
  72. app:layout_constraintStart_toStartOf="parent"
  73. tools:text="1111111111111111111111111" />
  74. <TextView
  75. android:id="@+id/workTv3"
  76. android:layout_width="0dp"
  77. android:layout_height="wrap_content"
  78. android:background="@color/black"
  79. android:gravity="start"
  80. android:paddingStart="10dp"
  81. android:textColor="#89FF00"
  82. app:layout_constraintBottom_toTopOf="@+id/workTv2"
  83. app:layout_constraintEnd_toEndOf="parent"
  84. app:layout_constraintStart_toStartOf="parent"
  85. android:singleLine="true"
  86. android:ellipsize="marquee"
  87. android:marqueeRepeatLimit="marquee_forever"
  88. android:focusable="true"
  89. android:focusableInTouchMode="true"
  90. android:scrollHorizontally="true"
  91. tools:text="1111111111111111111111111" />
  92. </androidx.constraintlayout.widget.ConstraintLayout>