Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 144034cf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Wait to reorder players, visual updates"

parents 2045d504 8cb6d423
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -20,7 +20,7 @@
    <item android:id="@android:id/background">
    <item android:id="@android:id/background">
        <shape android:shape="rectangle">
        <shape android:shape="rectangle">
            <stroke android:width="1dp" android:color="#1f000000"/>
            <stroke android:width="1dp" android:color="#1f000000"/>
            <corners android:radius="20dp"/>
            <corners android:radius="24dp"/>
        </shape>
        </shape>
    </item>
    </item>
</ripple>
</ripple>
+26 −0
Original line number Original line Diff line number Diff line
<?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
  -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    <solid android:color="?android:attr/colorBackgroundFloating" />
    <corners
        android:bottomLeftRadius="@dimen/qs_media_corner_radius"
        android:topLeftRadius="@dimen/qs_media_corner_radius"
        android:bottomRightRadius="@dimen/qs_media_corner_radius"
        android:topRightRadius="@dimen/qs_media_corner_radius"
    />
</shape>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -19,7 +19,7 @@
<HorizontalScrollView
<HorizontalScrollView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_width="match_parent"
    android:layout_height="@dimen/qs_media_height"
    android:layout_height="wrap_content"
    android:padding="@dimen/qs_media_padding"
    android:padding="@dimen/qs_media_padding"
    android:scrollbars="none"
    android:scrollbars="none"
    android:visibility="gone"
    android:visibility="gone"
+9 −19
Original line number Original line Diff line number Diff line
@@ -23,20 +23,25 @@
    android:layout_height="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:orientation="vertical"
    android:gravity="center"
    android:gravity="center"
    android:padding="10dp"
    android:paddingTop="16dp"
    android:paddingLeft="16dp"
    android:paddingRight="16dp"
    android:paddingBottom="12dp"
    android:background="@drawable/qs_media_background"
    >
    >
    <!-- Top line: icon + artist name -->
    <!-- Top line: icon + song name -->
    <LinearLayout
    <LinearLayout
        android:orientation="horizontal"
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:clipChildren="false"
        android:clipChildren="false"
        android:gravity="center"
        android:gravity="center"
        android:layout_marginBottom="12dp"
        >
        >
        <com.android.internal.widget.CachingIconView
        <com.android.internal.widget.CachingIconView
            android:id="@+id/icon"
            android:id="@+id/icon"
            android:layout_width="15dp"
            android:layout_width="14dp"
            android:layout_height="15dp"
            android:layout_height="14dp"
            android:layout_marginEnd="5dp"
            android:layout_marginEnd="5dp"
        />
        />
        <TextView
        <TextView
@@ -48,15 +53,6 @@
        />
        />
    </LinearLayout>
    </LinearLayout>


    <!-- Second line: song name -->
    <TextView
        android:id="@+id/header_text"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:singleLine="true"
        android:fontFamily="@*android:string/config_bodyFontFamily"
        android:gravity="center"/>

    <!-- Bottom section: controls -->
    <!-- Bottom section: controls -->
    <LinearLayout
    <LinearLayout
        android:id="@+id/media_actions"
        android:id="@+id/media_actions"
@@ -70,8 +66,6 @@
            style="@android:style/Widget.Material.Button.Borderless.Small"
            style="@android:style/Widget.Material.Button.Borderless.Small"
            android:layout_width="48dp"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_height="48dp"
            android:padding="8dp"
            android:layout_marginEnd="2dp"
            android:gravity="center"
            android:gravity="center"
            android:visibility="gone"
            android:visibility="gone"
            android:id="@+id/action0"
            android:id="@+id/action0"
@@ -80,8 +74,6 @@
            style="@android:style/Widget.Material.Button.Borderless.Small"
            style="@android:style/Widget.Material.Button.Borderless.Small"
            android:layout_width="48dp"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_height="48dp"
            android:padding="8dp"
            android:layout_marginEnd="2dp"
            android:gravity="center"
            android:gravity="center"
            android:visibility="gone"
            android:visibility="gone"
            android:id="@+id/action1"
            android:id="@+id/action1"
@@ -90,8 +82,6 @@
            style="@android:style/Widget.Material.Button.Borderless.Small"
            style="@android:style/Widget.Material.Button.Borderless.Small"
            android:layout_width="48dp"
            android:layout_width="48dp"
            android:layout_height="48dp"
            android:layout_height="48dp"
            android:padding="8dp"
            android:layout_marginEnd="2dp"
            android:gravity="center"
            android:gravity="center"
            android:visibility="gone"
            android:visibility="gone"
            android:id="@+id/action2"
            android:id="@+id/action2"
+3 −2
Original line number Original line Diff line number Diff line
@@ -130,9 +130,10 @@
    </LinearLayout>
    </LinearLayout>
    <View
    <View
        android:id="@+id/qs_drag_handle_view"
        android:id="@+id/qs_drag_handle_view"
        android:layout_width="24dp"
        android:layout_width="48dp"
        android:layout_height="4dp"
        android:layout_height="4dp"
        android:layout_marginBottom="16dp"
        android:layout_marginTop="8dp"
        android:layout_marginBottom="8dp"
        android:layout_gravity="center_horizontal|bottom"
        android:layout_gravity="center_horizontal|bottom"
        android:background="@drawable/qs_footer_drag_handle" />
        android:background="@drawable/qs_footer_drag_handle" />


Loading