activity_parameters.xml 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="utf-8"?><!--
  2. ~ Copyright 2019, The Android Open Source Project
  3. ~
  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. ~
  8. ~ http://www.apache.org/licenses/LICENSE-2.0
  9. ~
  10. ~ Unless required by applicable law or agreed to in writing, software
  11. ~ distributed under the License is distributed on an "AS IS" BASIS,
  12. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. ~ See the License for the specific language governing permissions and
  14. ~ limitations under the License.
  15. -->
  16. <androidx.coordinatorlayout.widget.CoordinatorLayout
  17. xmlns:android="http://schemas.android.com/apk/res/android"
  18. xmlns:app="http://schemas.android.com/apk/res-auto"
  19. xmlns:tools="http://schemas.android.com/tools"
  20. android:layout_height="match_parent"
  21. android:layout_width="match_parent">
  22. <androidx.constraintlayout.widget.ConstraintLayout
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:orientation="vertical"
  26. android:id="@+id/rootLayout"
  27. tools:context=".ParametersActivity">
  28. <androidx.appcompat.widget.Toolbar
  29. android:id="@+id/toolbar"
  30. android:layout_width="match_parent"
  31. android:layout_height="?attr/actionBarSize"
  32. android:background="?attr/colorPrimary"
  33. android:elevation="4dp"
  34. android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
  35. app:menu="@menu/toolbar_menu"
  36. app:layout_constraintTop_toTopOf="parent"
  37. tools:targetApi="lollipop" />
  38. <androidx.coordinatorlayout.widget.CoordinatorLayout
  39. android:layout_width="match_parent"
  40. android:layout_height="0dp"
  41. app:layout_constraintTop_toBottomOf="@id/toolbar"
  42. app:layout_constraintBottom_toBottomOf="parent"
  43. android:layout_weight="1"
  44. >
  45. <androidx.fragment.app.FragmentContainerView
  46. android:id="@+id/parameters_host_container"
  47. android:layout_width="match_parent"
  48. android:layout_height="match_parent"
  49. android:layout_margin="8dp"
  50. />
  51. </androidx.coordinatorlayout.widget.CoordinatorLayout>
  52. </androidx.constraintlayout.widget.ConstraintLayout>
  53. </androidx.coordinatorlayout.widget.CoordinatorLayout>