Merge "Add auto rotation icon resource."
This commit is contained in:
@@ -1273,7 +1273,7 @@
|
||||
<activity
|
||||
android:name="Settings$SmartAutoRotateSettingsActivity"
|
||||
android:label="@string/accelerometer_title"
|
||||
android:icon="@drawable/ic_homepage_notification"
|
||||
android:icon="@drawable/ic_screen_rotation_24dp"
|
||||
android:exported="true">
|
||||
<intent-filter android:priority="1">
|
||||
<action android:name="android.settings.AUTO_ROTATE_SETTINGS" />
|
||||
|
24
res/drawable/ic_screen_rotation_24dp.xml
Normal file
24
res/drawable/ic_screen_rotation_24dp.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<!--
|
||||
Copyright (C) 2022 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="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:fillColor="?android:attr/colorPrimary"
|
||||
android:pathData="M12.72,23L11,23C5.49,23 1,18.51 1,13h2c0,3.78 2.63,6.95 6.15,7.79L8.13,19l1.74,-1 2.85,5zM13,1h-1.72l2.85,5 1.74,-1 -1.02,-1.79C18.37,4.05 21,7.22 21,11h2c0,-5.51 -4.49,-10 -10,-10zM10.23,6L18,13.76 13.77,18 6,10.24 10.23,6m0,-2c-0.51,0 -1.02,0.2 -1.41,0.59L4.59,8.82c-0.78,0.78 -0.78,2.04 0,2.82l7.77,7.77c0.39,0.39 0.9,0.59 1.41,0.59 0.51,0 1.02,-0.2 1.41,-0.59l4.24,-4.24c0.78,-0.78 0.78,-2.04 0,-2.82l-7.77,-7.77c-0.39,-0.38 -0.9,-0.58 -1.42,-0.58z"/>
|
||||
</vector>
|
Reference in New Issue
Block a user