item_day.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:background="#ffffff"
  6. android:layout_marginTop="0.5dp"
  7. android:layout_height="50dp">
  8. <LinearLayout
  9. android:id="@+id/ll_day"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:gravity="center"
  13. android:orientation="vertical">
  14. <TextView
  15. android:id="@+id/tv_day"
  16. android:layout_width="match_parent"
  17. android:layout_height="wrap_content"
  18. android:layout_centerHorizontal="true"
  19. android:gravity="center"
  20. tools:text="1"
  21. android:textSize="15dp"/>
  22. <TextView
  23. android:id="@+id/tv_check_in_check_out"
  24. android:layout_width="match_parent"
  25. android:layout_height="wrap_content"
  26. android:layout_marginTop="2dp"
  27. android:gravity="center"
  28. android:text="入住"
  29. android:textColor="@color/white"
  30. android:textSize="12dp"
  31. android:visibility="gone" />
  32. </LinearLayout>
  33. </RelativeLayout>