1<!--
2  ~ Copyright (C) 2022 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<merge xmlns:android="http://schemas.android.com/apk/res/android">
17    <FrameLayout
18        android:id="@id/exo_center_controls"
19        android:layout_width="wrap_content"
20        android:layout_height="wrap_content"
21        android:layout_gravity="center"
22        android:background="@android:color/transparent"
23        android:gravity="center"
24        android:padding="@dimen/exo_styled_controls_padding"
25        android:clipToPadding="false">
26
27       <ImageButton android:id="@id/exo_play_pause"
28           style="@style/ExoStyledControls.Button.Center.PlayPause"/>
29    </FrameLayout>
30
31    <ImageButton android:id="@+id/preview_mute"
32        android:layout_height="@dimen/preview_mute_button_size"
33        android:layout_width="@dimen/preview_mute_button_size"
34        android:gravity="center"
35        android:src="@drawable/ic_volume_off"
36        android:layout_gravity="end|bottom"
37        android:layout_marginEnd="@dimen/preview_mute_marginEnd"
38        android:layout_marginBottom="@dimen/preview_mute_marginBottom"
39        android:background="@android:color/transparent" />
40</merge>