| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright 2020 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <androidx.constraintlayout.widget.ConstraintLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:id="@+id/rootLayout" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:minWidth="250dp" |
| android:minHeight="200dp" |
| android:background="@color/colorSplitControlsBackground" |
| tools:context="SplitLayoutActivity"> |
| |
| |
| <Button |
| android:id="@+id/button" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:background="@android:drawable/ic_media_play" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintHorizontal_bias="0.5" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintTop_toTopOf="parent" /> |
| |
| <Button |
| android:id="@+id/button4" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:layout_marginEnd="32dp" |
| android:background="@android:drawable/ic_media_previous" |
| app:layout_constraintEnd_toStartOf="@+id/button" |
| app:layout_constraintTop_toTopOf="@+id/button" /> |
| |
| <Button |
| android:id="@+id/button2" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:layout_marginStart="32dp" |
| android:background="@android:drawable/ic_media_next" |
| app:layout_constraintStart_toEndOf="@+id/button" |
| app:layout_constraintTop_toTopOf="@+id/button" /> |
| |
| <Button |
| android:id="@+id/button5" |
| android:layout_width="40dp" |
| android:layout_height="40dp" |
| android:layout_marginBottom="16dp" |
| android:layout_marginEnd="16dp" |
| android:background="@android:drawable/ic_menu_gallery" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintEnd_toEndOf="parent" /> |
| |
| <Button |
| android:id="@+id/button6" |
| android:layout_width="40dp" |
| android:layout_height="40dp" |
| android:layout_marginBottom="16dp" |
| android:layout_marginStart="16dp" |
| android:background="@android:drawable/ic_menu_share" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent" /> |
| |
| <TextView |
| android:id="@+id/textView" |
| android:layout_width="0dp" |
| android:layout_height="wrap_content" |
| android:layout_marginEnd="16dp" |
| android:layout_marginStart="16dp" |
| android:layout_marginTop="16dp" |
| android:text="@string/content_title" |
| android:textAppearance="@style/TextAppearance.AppCompat.Large" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintTop_toTopOf="parent" /> |
| </androidx.constraintlayout.widget.ConstraintLayout> |