1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2023 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License 16 --> 17<ConstraintSet 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:app="http://schemas.android.com/apk/res-auto" 20 > 21 22 <Constraint 23 android:id="@+id/sizing_view" 24 android:layout_width="match_parent" 25 android:layout_height="@dimen/qs_media_session_height_expanded" 26 /> 27 28 <Constraint 29 android:id="@+id/media_rec_title" 30 android:layout_width="wrap_content" 31 android:layout_height="wrap_content" 32 android:layout_marginTop="@dimen/qs_media_padding" 33 android:layout_marginStart="@dimen/qs_media_padding" 34 app:layout_constraintStart_toStartOf="parent" 35 app:layout_constraintTop_toTopOf="parent" 36 android:fontFamily="@*android:string/config_headlineFontFamilyMedium" 37 android:singleLine="true" 38 android:textSize="14sp" 39 android:textColor="@color/notification_primary_text_color"/> 40 41 <Constraint 42 android:id="@+id/media_cover1_container" 43 style="@style/MediaPlayer.Recommendation.AlbumContainer.Updated" 44 android:layout_height="@dimen/qs_media_rec_album_height_expanded" 45 android:layout_marginEnd="@dimen/qs_media_info_spacing" 46 android:layout_marginStart="@dimen/qs_media_padding" 47 app:layout_constraintTop_toBottomOf="@+id/media_rec_title" 48 app:layout_constraintStart_toStartOf="parent" 49 app:layout_constraintEnd_toStartOf="@id/media_cover2_container"/> 50 51 52 <Constraint 53 android:id="@+id/media_cover2_container" 54 style="@style/MediaPlayer.Recommendation.AlbumContainer.Updated" 55 android:layout_height="@dimen/qs_media_rec_album_height_expanded" 56 android:layout_marginEnd="@dimen/qs_media_info_spacing" 57 app:layout_constraintTop_toBottomOf="@+id/media_rec_title" 58 app:layout_constraintStart_toEndOf="@id/media_cover1_container" 59 app:layout_constraintEnd_toStartOf="@id/media_cover3_container"/> 60 61 <Constraint 62 android:id="@+id/media_cover3_container" 63 style="@style/MediaPlayer.Recommendation.AlbumContainer.Updated" 64 android:layout_height="@dimen/qs_media_rec_album_height_expanded" 65 android:layout_marginEnd="@dimen/qs_media_padding" 66 app:layout_constraintTop_toBottomOf="@+id/media_rec_title" 67 app:layout_constraintStart_toEndOf="@id/media_cover2_container" 68 app:layout_constraintEnd_toEndOf="parent"/> 69 70 71</ConstraintSet> 72