material_timepicker.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. Copyright (C) 2020 The Android Open Source Project
  4. Licensed under the Apache License, Version 2.0 (the "License");
  5. you may not use this file except in compliance with the License.
  6. You may obtain a copy of the License at
  7. http://www.apache.org/licenses/LICENSE-2.0
  8. Unless required by applicable law or agreed to in writing, software
  9. distributed under the License is distributed on an "AS IS" BASIS,
  10. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. See the License for the specific language governing permissions and
  12. limitations under the License.
  13. -->
  14. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  15. xmlns:app="http://schemas.android.com/apk/res-auto"
  16. android:id="@+id/material_timepicker_container"
  17. android:layout_width="wrap_content"
  18. android:layout_height="wrap_content">
  19. <include
  20. android:id="@+id/material_clock_display"
  21. layout="@layout/material_clock_display" />
  22. <include
  23. android:id="@+id/material_clock_period_toggle"
  24. layout="@layout/material_clock_period_toggle" />
  25. <com.google.android.material.timepicker.ClockFaceView
  26. android:id="@+id/material_clock_face"
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_marginTop="36dp"
  30. android:layout_gravity="center"
  31. app:layout_constraintStart_toStartOf="parent"
  32. app:layout_constraintEnd_toEndOf="parent"
  33. app:layout_constraintTop_toBottomOf="@+id/material_clock_display" />
  34. </merge>