As shown in below image I made it with RecyclerView .
I want approach to a solution to add a TextView that is shown over the RecyclerView items like the image below.
As you can see this TextView is laid on over two or more items of RecyclerView, so how I can achieve this?
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Appointment made 8.15-9.15"
android:textSize="20sp"
android:textStyle="bold"
android:background="@android:color/holo_green_light"
android:textColor="@color/black"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
add this to your activity layout.xml file above recycler view.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.