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

Commit 89d98976 authored by Jerry Chang's avatar Jerry Chang Committed by Automerger Merge Worker
Browse files

Merge "Draw rounded corners beside split divider bar" into sc-v2-dev am: bf71bb09 am: 119263bd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15674532

Change-Id: Icd912eaf5f3b4ca677ab8be8babeab5614d7bd4b
parents 59912acf 119263bd
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
<!--
  ~ 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.
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="@dimen/split_divider_corner_size"
        android:height="@dimen/split_divider_corner_size"
        android:viewportWidth="42"
        android:viewportHeight="42">

    <group android:pivotX="21"
           android:pivotY="21"
           android:rotation="180">
        <path
            android:fillColor="@color/split_divider_background"
            android:pathData="m 0 0 c 8 0 16 8 16 16 h 10 c 0 -8 8 -16 16 -16 z" />
    </group>

</vector>
 No newline at end of file
+30 −0
Original line number Diff line number Diff line
<!--
  ~ 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.
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="@dimen/split_divider_corner_size"
        android:height="@dimen/split_divider_corner_size"
        android:viewportWidth="42"
        android:viewportHeight="42">

    <group android:pivotX="21"
           android:pivotY="21"
           android:rotation="-90">
        <path
            android:fillColor="@color/split_divider_background"
            android:pathData="m 0 0 c 8 0 16 8 16 16 h 10 c 0 -8 8 -16 16 -16 z" />
    </group>

</vector>
 No newline at end of file
+30 −0
Original line number Diff line number Diff line
<!--
  ~ 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.
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="@dimen/split_divider_corner_size"
        android:height="@dimen/split_divider_corner_size"
        android:viewportWidth="42"
        android:viewportHeight="42">

    <group android:pivotX="21"
           android:pivotY="21"
           android:rotation="90">
        <path
            android:fillColor="@color/split_divider_background"
            android:pathData="m 0 0 c 8 0 16 8 16 16 h 10 c 0 -8 8 -16 16 -16 z" />
    </group>

</vector>
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
<!--
  ~ 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.
  -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
        android:width="@dimen/split_divider_corner_size"
        android:height="@dimen/split_divider_corner_size"
        android:viewportWidth="42"
        android:viewportHeight="42">

    <path
        android:fillColor="@color/split_divider_background"
        android:pathData="m 0 0 c 8 0 16 8 16 16 h 10 c 0 -8 8 -16 16 -16 z" />

</vector>
 No newline at end of file
+20 −9
Original line number Diff line number Diff line
@@ -19,14 +19,25 @@
    android:layout_height="match_parent"
    android:layout_width="match_parent">

    <FrameLayout
        android:id="@+id/divider_bar"
        android:layout_width="match_parent"
        android:layout_height="match_parent">

        <View style="@style/DockedDividerTopLeftRoundCorner"/>

        <View
            style="@style/DockedDividerBackground"
            android:id="@+id/docked_divider_background"/>

        <View style="@style/DockedDividerBottomRightRoundCorner"/>

        <com.android.wm.shell.common.split.DividerHandleView
            style="@style/DockedDividerHandle"
            android:id="@+id/docked_divider_handle"
            android:contentDescription="@string/accessibility_divider"
            android:background="@null"/>

    </FrameLayout>

</com.android.wm.shell.common.split.DividerView>
Loading