blob: 39bddbe637f38c2e9f5d7b6816e7420f8a430673 [file] [log] [blame]
<!--
~ Copyright (C) 2022 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.
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout
android:id="@id/exo_center_controls"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@android:color/transparent"
android:gravity="center"
android:padding="@dimen/exo_styled_controls_padding"
android:clipToPadding="false">
<ImageButton android:id="@id/exo_play_pause"
style="@style/ExoStyledControls.Button.Center.PlayPause"/>
</FrameLayout>
<ImageButton android:id="@+id/preview_mute"
android:layout_height="@dimen/preview_mute_button_size"
android:layout_width="@dimen/preview_mute_button_size"
android:gravity="center"
android:src="@drawable/ic_volume_off"
android:layout_gravity="end|bottom"
android:layout_marginEnd="@dimen/preview_mute_marginEnd"
android:layout_marginBottom="@dimen/preview_mute_marginBottom"
android:background="@android:color/transparent" />
</merge>