Loading packages/CompanionDeviceManager/res/drawable/btn_positive_bottom.xml→packages/CompanionDeviceManager/res/drawable/btn_positive_button.xml +4 −4 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ Copyright (C) 2025 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. Loading packages/CompanionDeviceManager/res/drawable/btn_positive_button_with_arrow.xml 0 → 100644 +32 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2025 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"> <item> <shape android:shape="rectangle"> <solid android:color="@android:color/system_accent1_100" /> <corners android:bottomLeftRadius="4dp" android:bottomRightRadius="4dp" android:topLeftRadius="12dp" android:topRightRadius="12dp" /> </shape> </item> <item android:drawable="@drawable/ic_downward_arrow" android:gravity="center" /> </layer-list> No newline at end of file packages/CompanionDeviceManager/res/drawable/ic_downward_arrow.xml 0 → 100644 +25 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2025 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="24dp" android:height="24dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/system_accent1_600" android:pathData="M480,720L240,480L296,424L440,568L440,200L520,200L520,568L664,424L720,480L480,720Z"/> </vector> No newline at end of file packages/CompanionDeviceManager/res/values/strings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,12 @@ <!-- Back button for the helper consent dialog [CHAR LIMIT=30] --> <string name="consent_back">Back</string> <!-- Downward arrow button action for scroll down the permission list [CHAR LIMIT=30] --> <string name="downward_arrow_action">Scroll down the list</string> <!-- Downward arrow button [CHAR LIMIT=30] --> <string name="downward_arrow">Downward arrow</string> <!-- Expand permission in the list CHAR LIMIT=30] --> <string name="permission_expand">Expand <xliff:g id="permission_type" example="Notification">%1$s</xliff:g></string> Loading packages/CompanionDeviceManager/res/values/styles.xml +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ <item name="android:layout_marginEnd">32dp</item> <item name="android:textColor">@android:color/system_neutral1_900</item> <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Medium</item> <item name="android:background">@drawable/btn_positive_bottom</item> <item name="android:background">@drawable/btn_positive_button</item> </style> <style name="NegativeButton" Loading Loading
packages/CompanionDeviceManager/res/drawable/btn_positive_bottom.xml→packages/CompanionDeviceManager/res/drawable/btn_positive_button.xml +4 −4 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2022 The Android Open Source Project ~ Copyright (C) 2025 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. Loading
packages/CompanionDeviceManager/res/drawable/btn_positive_button_with_arrow.xml 0 → 100644 +32 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2025 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"> <item> <shape android:shape="rectangle"> <solid android:color="@android:color/system_accent1_100" /> <corners android:bottomLeftRadius="4dp" android:bottomRightRadius="4dp" android:topLeftRadius="12dp" android:topRightRadius="12dp" /> </shape> </item> <item android:drawable="@drawable/ic_downward_arrow" android:gravity="center" /> </layer-list> No newline at end of file
packages/CompanionDeviceManager/res/drawable/ic_downward_arrow.xml 0 → 100644 +25 −0 Original line number Diff line number Diff line <!-- ~ Copyright (C) 2025 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="24dp" android:height="24dp" android:viewportWidth="960" android:viewportHeight="960" android:tint="?attr/colorControlNormal"> <path android:fillColor="@android:color/system_accent1_600" android:pathData="M480,720L240,480L296,424L440,568L440,200L520,200L520,568L664,424L720,480L480,720Z"/> </vector> No newline at end of file
packages/CompanionDeviceManager/res/values/strings.xml +6 −0 Original line number Diff line number Diff line Loading @@ -139,6 +139,12 @@ <!-- Back button for the helper consent dialog [CHAR LIMIT=30] --> <string name="consent_back">Back</string> <!-- Downward arrow button action for scroll down the permission list [CHAR LIMIT=30] --> <string name="downward_arrow_action">Scroll down the list</string> <!-- Downward arrow button [CHAR LIMIT=30] --> <string name="downward_arrow">Downward arrow</string> <!-- Expand permission in the list CHAR LIMIT=30] --> <string name="permission_expand">Expand <xliff:g id="permission_type" example="Notification">%1$s</xliff:g></string> Loading
packages/CompanionDeviceManager/res/values/styles.xml +1 −1 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ <item name="android:layout_marginEnd">32dp</item> <item name="android:textColor">@android:color/system_neutral1_900</item> <item name="android:textAppearance">@android:style/TextAppearance.DeviceDefault.Medium</item> <item name="android:background">@drawable/btn_positive_bottom</item> <item name="android:background">@drawable/btn_positive_button</item> </style> <style name="NegativeButton" Loading