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

Commit 9979dd0a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add ringer view binder and fork ringer drawer UI" into main

parents 2f6d590b 5b97d159
Loading
Loading
Loading
Loading
+20 −21
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 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
<?xml version="1.0" encoding="utf-8"?><!--
    Copyright (C) 2024 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.
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item>
        <shape>
            <size android:width="@dimen/volume_dialog_panel_width" />
            <solid android:color="?androidprv:attr/colorSurface" />
            <corners android:topLeftRadius="@dimen/volume_dialog_panel_width_half"
                android:topRightRadius="@dimen/volume_dialog_panel_width_half"/>
            <size android:width="@dimen/volume_dialog_width" />
            <solid android:color="?androidprv:attr/materialColorSurface" />
            <corners android:topLeftRadius="@dimen/volume_dialog_background_corner_radius"
                android:topRightRadius="@dimen/volume_dialog_background_corner_radius"/>
        </shape>
    </item>
</layer-list>
+27 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 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
  -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
    <item>
        <shape>
            <size android:width="@dimen/volume_dialog_panel_width" />
            <solid android:color="?androidprv:attr/colorSurface" />
            <corners android:topLeftRadius="@dimen/volume_dialog_panel_width_half"
                android:topRightRadius="@dimen/volume_dialog_panel_width_half"/>
        </shape>
    </item>
</layer-list>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -18,5 +18,5 @@
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:shape="rectangle">
    <corners android:radius="@dimen/volume_dialog_background_corner_radius" />
    <solid android:color="?androidprv:attr/colorSurface" />
    <solid android:color="?androidprv:attr/materialColorSurface" />
</shape>
+8 −8
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 The Android Open Source Project
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (C) 2024 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.
@@ -15,10 +14,11 @@
  ~ limitations under the License.
  -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:paddingMode="stack" >
    <size
        android:height="@dimen/volume_ringer_drawer_item_size"
        android:width="@dimen/volume_ringer_drawer_item_size" />
    <solid android:color="?android:attr/colorAccent" />
    <corners android:radius="@dimen/volume_ringer_drawer_item_size_half" />
        android:height="@dimen/volume_ringer_item_size"
        android:width="@dimen/volume_ringer_item_size" />
    <solid android:color="?androidprv:attr/materialColorPrimary" />
    <corners android:radius="360dp" />
</shape>
 No newline at end of file
+24 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2021 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:paddingMode="stack" >
    <size
        android:height="@dimen/volume_ringer_drawer_item_size"
        android:width="@dimen/volume_ringer_drawer_item_size" />
    <solid android:color="?android:attr/colorAccent" />
    <corners android:radius="@dimen/volume_ringer_drawer_item_size_half" />
</shape>
 No newline at end of file
Loading