Move system accessible resources to shared

This commit is contained in:
topjohnwu 2019-10-15 05:49:23 -04:00
parent 34ff764515
commit 5673a9bace
14 changed files with 48 additions and 34 deletions

View File

@ -9,15 +9,15 @@
<string name="empty" translatable="false"/>
<!-- Preserve 10 string slots for stub -->
<string name="preserve_0" translatable="false"/>
<string name="preserve_1" translatable="false"/>
<string name="preserve_2" translatable="false"/>
<string name="preserve_3" translatable="false"/>
<string name="preserve_4" translatable="false"/>
<string name="preserve_5" translatable="false"/>
<string name="preserve_6" translatable="false"/>
<string name="preserve_7" translatable="false"/>
<string name="preserve_8" translatable="false"/>
<string name="preserve_9" translatable="false"/>
<string name="stub_0" translatable="false"/>
<string name="stub_1" translatable="false"/>
<string name="stub_2" translatable="false"/>
<string name="stub_3" translatable="false"/>
<string name="stub_4" translatable="false"/>
<string name="stub_5" translatable="false"/>
<string name="stub_6" translatable="false"/>
<string name="stub_7" translatable="false"/>
<string name="stub_8" translatable="false"/>
<string name="stub_9" translatable="false"/>
</resources>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/su_request_background" />
<background android:drawable="@color/light" />
<foreground>
<inset
android:drawable="@drawable/ic_cloud_download"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/su_request_background" />
<background android:drawable="@color/light" />
<foreground>
<inset
android:drawable="@drawable/ic_extension"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/su_request_background" />
<background android:drawable="@color/light" />
<foreground>
<inset
android:drawable="@drawable/ic_magiskhide"

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/su_request_background" />
<background android:drawable="@color/light" />
<foreground>
<inset
android:drawable="@drawable/ic_superuser"

View File

@ -4,6 +4,6 @@
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="@color/primary_dark"
android:fillColor="@color/dark"
android:pathData="M19.35,10.04C18.67,6.59 15.64,4 12,4 9.11,4 6.6,5.64 5.35,8.04 2.34,8.36 0,10.91 0,14c0,3.31 2.69,6 6,6h13c2.76,0 5,-2.24 5,-5 0,-2.64 -2.05,-4.78 -4.65,-4.96zM17,13l-5,5 -5,-5h3V9h4v4h3z"/>
</vector>

View File

@ -4,6 +4,6 @@
android:viewportHeight="24.0"
android:viewportWidth="24.0">
<path
android:fillColor="@color/primary_dark"
android:fillColor="@color/dark"
android:pathData="M20.5,11H19V7c0,-1.1 -0.9,-2 -2,-2h-4V3.5C13,2.12 11.88,1 10.5,1S8,2.12 8,3.5V5H4c-1.1,0 -1.99,0.9 -1.99,2v3.8H3.5c1.49,0 2.7,1.21 2.7,2.7s-1.21,2.7 -2.7,2.7H2V20c0,1.1 0.9,2 2,2h3.8v-1.5c0,-1.49 1.21,-2.7 2.7,-2.7 1.49,0 2.7,1.21 2.7,2.7V22H17c1.1,0 2,-0.9 2,-2v-4h1.5c1.38,0 2.5,-1.12 2.5,-2.5S21.88,11 20.5,11z"/>
</vector>

View File

@ -5,6 +5,6 @@
android:width="24dp">
<path
android:fillAlpha="1.00"
android:fillColor="@color/primary_dark"
android:fillColor="@color/dark"
android:pathData="M200.6,24.2C231.8,24.2 263,33 289.6,49.5C304.7,58.8 318.2,70.7 329.8,84.1C351.5,109.6 365.2,141.7 368.8,175C373.6,217.4 361.5,261.5 335.5,295.5C334.2,297.1 332.8,298.7 331.9,300.7C341.7,310.1 351,320 360.9,329.3C322.7,339.3 284.5,349.6 246.3,359.9C256.4,323.5 266,287 275.7,250.5C262.4,250.5 249.1,250.5 235.8,250.5C228.5,269.8 221.2,289.1 214.1,308.4C205.9,308.6 197.8,308.5 189.6,308.5C188.4,306.7 187.1,304.9 185.9,303C192.4,285.5 199.1,268 205.6,250.5C189.5,250.6 173.4,250.3 157.4,250.6C150.4,270 142.9,289.2 135.8,308.5C129.8,308.5 123.9,308.4 117.9,308.6C130.4,317.8 144,325.6 158.9,330.3C171.9,334.6 185.6,336.6 199.4,336.7C199.4,349.4 199.3,362.1 199.4,374.8C165.8,374.9 132.2,364.5 104.4,345.6C91.7,337 80.3,326.5 70.2,314.9C48.5,289.4 34.8,257.3 31.2,224C26.3,180.4 39.2,134.9 66.8,100.7C67.2,99.9 67.7,99.2 68.1,98.4C58.3,88.9 49,79 39.1,69.7C77.3,59.7 115.6,49.4 153.7,39.1C143.6,75.7 133.8,112.5 124.1,149.3C137.9,149.3 151.7,149.2 165.5,149.3C172.9,130 180.2,110.6 187.3,91.2C195.5,90.8 203.7,91 211.8,91C213,92.8 214.3,94.6 215.5,96.3C209.1,114 202.3,131.6 195.8,149.2C211.8,149.3 227.8,149.2 243.9,149.3C251.2,129.9 258.3,110.3 265.8,90.9C271.5,90.8 277.3,91.6 282.9,90.4C280.2,89.5 278.1,87.7 275.9,86.1C254,70.7 227.4,62.2 200.6,62.3C200.6,49.6 200.7,36.9 200.6,24.2M292.5,100C286.4,116.4 280.2,132.8 274,149.3C280.9,149.2 287.8,149.3 294.7,149.2C296,150.8 297.3,152.4 298.6,153.9C297.1,162.1 295.7,170.3 294.3,178.5C283.9,178.5 273.4,178.5 262.9,178.5C257.5,192.7 252.1,206.9 246.9,221.2C258.7,221.3 270.5,221.1 282.3,221.3C283.5,222.9 284.8,224.4 286.1,225.9C284.9,233.7 283.4,241.4 282.1,249.1C281.6,251 283.6,252.1 284.6,253.3C291.5,259.8 297.7,266.9 304.8,273.1C312.9,262.1 319.6,250.1 324.2,237.3C334.3,208.7 334.2,176.7 323.7,148.3C317,130.1 306.4,113.4 292.5,100M95.2,125.9C86.2,138 79,151.4 74.5,165.8C65.3,194.4 66.4,226.3 77.6,254.2C84.6,271.5 95.1,287.4 108.7,300.1C114.9,283.6 121.3,267.1 127.2,250.5C121.5,250.5 115.8,250.5 110,250.5C108.6,250.4 106.7,251 105.8,249.5C104.5,247.9 102.3,246.3 102.9,244.1C104.2,236.5 105.5,228.9 106.8,221.2C117.4,221.2 128.1,221.4 138.7,221.1C143.9,206.9 149.3,192.7 154.6,178.5C142.9,178.4 131.1,178.6 119.3,178.4C117.6,177.3 116.4,175.3 115,173.8C116.3,165.8 117.9,157.9 119,150C118.3,148.2 116.6,147.1 115.3,145.7C108.6,139.2 102.3,132.1 95.2,125.9M168.8,221.2C184.8,221.2 200.8,221.3 216.8,221.2C222.2,207 227.5,192.8 232.8,178.5C216.8,178.5 200.7,178.5 184.6,178.5C179.4,192.8 174,207 168.8,221.2Z"/>
</vector>

View File

@ -4,6 +4,6 @@
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@color/primary_dark"
android:fillColor="@color/dark"
android:pathData="M5.41,21L6.12,17H2.12L2.47,15H6.47L7.53,9H3.53L3.88,7H7.88L8.59,3H10.59L9.88,7H15.88L16.59,3H18.59L17.88,7H21.88L21.53,9H17.53L16.47,15H20.47L20.12,17H16.12L15.41,21H13.41L14.12,17H8.12L7.41,21H5.41M9.53,9L8.47,15H14.47L15.53,9H9.53Z" />
</vector>

View File

@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#00AF9C</color>
</resources>
<color name="dark">#00796B</color>
<color name="light">#e0e0e0</color>
</resources>

View File

@ -1,20 +1,32 @@
com.topjohnwu.magisk:color/ic_launcher_background = 0x7f010000
com.topjohnwu.magisk:drawable/ic_launcher = 0x7f020000
com.topjohnwu.magisk:drawable/ic_logo = 0x7f020001
com.topjohnwu.magisk:drawable/ic_magisk = 0x7f020002
com.topjohnwu.magisk:drawable/ic_splash_activity = 0x7f020003
com.topjohnwu.magisk:color/dark = 0x7f010000
com.topjohnwu.magisk:color/ic_launcher_background = 0x7f010001
com.topjohnwu.magisk:color/light = 0x7f010002
com.topjohnwu.magisk:drawable/ic_cloud_download = 0x7f020000
com.topjohnwu.magisk:drawable/ic_extension = 0x7f020001
com.topjohnwu.magisk:drawable/ic_launcher = 0x7f020002
com.topjohnwu.magisk:drawable/ic_logo = 0x7f020003
com.topjohnwu.magisk:drawable/ic_magisk = 0x7f020004
com.topjohnwu.magisk:drawable/ic_magisk_outline = 0x7f020005
com.topjohnwu.magisk:drawable/ic_magisk_padded = 0x7f020006
com.topjohnwu.magisk:drawable/ic_magiskhide = 0x7f020007
com.topjohnwu.magisk:drawable/ic_splash_activity = 0x7f020008
com.topjohnwu.magisk:drawable/ic_superuser = 0x7f020009
com.topjohnwu.magisk:drawable/sc_cloud_download = 0x7f02000a
com.topjohnwu.magisk:drawable/sc_extension = 0x7f02000b
com.topjohnwu.magisk:drawable/sc_magiskhide = 0x7f02000c
com.topjohnwu.magisk:drawable/sc_superuser = 0x7f02000d
com.topjohnwu.magisk:style/SplashTheme = 0x7f040000
com.topjohnwu.magisk:style/SplashThemeBase = 0x7f040001
com.topjohnwu.magisk:style/SplashThemeBase.V19 = 0x7f040002
com.topjohnwu.magisk:xml/file_paths = 0x7f050000
com.topjohnwu.magisk:string/preserve_0 = 0x7f030000
com.topjohnwu.magisk:string/preserve_1 = 0x7f030001
com.topjohnwu.magisk:string/preserve_2 = 0x7f030002
com.topjohnwu.magisk:string/preserve_3 = 0x7f030003
com.topjohnwu.magisk:string/preserve_4 = 0x7f030004
com.topjohnwu.magisk:string/preserve_5 = 0x7f030005
com.topjohnwu.magisk:string/preserve_6 = 0x7f030006
com.topjohnwu.magisk:string/preserve_7 = 0x7f030007
com.topjohnwu.magisk:string/preserve_8 = 0x7f030008
com.topjohnwu.magisk:string/preserve_9 = 0x7f030009
com.topjohnwu.magisk:string/stub_0 = 0x7f030000
com.topjohnwu.magisk:string/stub_1 = 0x7f030001
com.topjohnwu.magisk:string/stub_2 = 0x7f030002
com.topjohnwu.magisk:string/stub_3 = 0x7f030003
com.topjohnwu.magisk:string/stub_4 = 0x7f030004
com.topjohnwu.magisk:string/stub_5 = 0x7f030005
com.topjohnwu.magisk:string/stub_6 = 0x7f030006
com.topjohnwu.magisk:string/stub_7 = 0x7f030007
com.topjohnwu.magisk:string/stub_8 = 0x7f030008
com.topjohnwu.magisk:string/stub_9 = 0x7f030009