blob: 1d70c721df0ebe917c5311a4447643159c8eb439 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 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.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/play_pause_container"
android:focusable="false"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<com.android.car.media.common.PlayPauseStopImageView
android:id="@+id/play_pause_stop"
style="@style/Widget.ActionButton"
android:src="@drawable/ic_play_pause_stop_animated"/>
<ProgressBar
android:id="@+id/circular_progress_bar"
android:layout_width="@dimen/fab_spinner_size"
android:layout_height="@dimen/fab_spinner_size"
android:layout_gravity="center"
android:padding="9dp"
android:indeterminateDrawable="@drawable/music_buffering"
android:indeterminateTint="@color/fab_spinner_indeterminate_color"
android:progressDrawable="@drawable/circular_progress_bar"
android:progressTint="@color/minimized_progress_bar_highlight"
android:progressBackgroundTint="@color/minimized_progress_bar_background"
android:focusable="false"
android:indeterminateOnly="false"/>
</FrameLayout>