microG Settings in AppInfo and SystemSettings (+ adaptive icon) (#719)
Co-Authored-By: @Vavun <31875619+vavun@users.noreply.github.com>
@ -405,9 +405,11 @@
|
||||
|
||||
<!-- microG custom UI -->
|
||||
|
||||
<!-- microG Settings shown in Launcher -->
|
||||
<activity
|
||||
android:name="org.microg.gms.ui.SettingsActivity"
|
||||
android:icon="@mipmap/ic_microg_settings"
|
||||
android:roundIcon="@mipmap/ic_microg_settings"
|
||||
android:label="@string/gms_settings_name"
|
||||
android:theme="@style/Theme.AppCompat.Settings.Dashboard">
|
||||
<intent-filter>
|
||||
@ -415,8 +417,27 @@
|
||||
|
||||
<category android:name="android.intent.category.LAUNCHER"/>
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.APPLICATION_PREFERENCES"/>
|
||||
<category android:name="android.intent.category.DEFAULT"/>
|
||||
</intent-filter>
|
||||
</activity>
|
||||
|
||||
<!-- microG Settings embedded in System Settings on SDK 23 and newer -->
|
||||
<activity-alias
|
||||
android:name="org.microg.gms.ui.SettingsActivityLink"
|
||||
android:targetActivity="org.microg.gms.ui.SettingsActivity"
|
||||
android:icon="@drawable/microg_light_color_24"
|
||||
android:label="@string/gms_settings_name"
|
||||
android:theme="@style/Theme.AppCompat.Settings.Dashboard">
|
||||
<intent-filter>
|
||||
<action android:name="com.android.settings.action.EXTRA_SETTINGS"/>
|
||||
</intent-filter>
|
||||
<meta-data android:name="com.android.settings.category" android:value="com.android.settings.category.device"/>
|
||||
<meta-data android:name="com.android.settings.icon" android:resource="@drawable/microg_light_color_24"/>
|
||||
<meta-data android:name="com.android.settings.summary" android:resource="@string/gms_settings_summary"/>
|
||||
</activity-alias>
|
||||
|
||||
<activity
|
||||
android:name="org.microg.gms.ui.AskPushPermission"
|
||||
android:excludeFromRecents="true"
|
||||
|
@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:viewportWidth="256"
|
||||
android:viewportHeight="256"
|
||||
android:width="256dp"
|
||||
android:height="256dp">
|
||||
<path
|
||||
android:fillColor="#ffffffff" android:pathData="M207.03481 139.53168c0.42667 -3.41333 0.74667 -6.82666 0.74667 -10.45333 0 -3.62667 -0.32 -7.04 -0.74667 -10.45333l22.50667 -17.6c2.02667 -1.599996 2.56 -4.479996 1.28 -6.826666L209.48815 57.291687c-1.28 -2.346666 -4.16 -3.2 -6.50667 -2.346666l-26.56 10.666666c-5.54667 -4.266666 -11.52 -7.786666 -18.02667 -10.453333l-4.05333 -28.266667c-0.32 -2.56 -2.56 -4.48 -5.22667 -4.48h-42.66666c-2.66667 0 -4.90667 1.92 -5.22667 4.48l-4.053331 28.266667c-6.50667 2.666667 -12.48 6.293333 -18.02667 10.453333l-26.56 -10.666666c-2.45333 -0.96 -5.22667 0 -6.50667 2.346666l-21.33333 36.906667c-1.38667 2.34667 -0.74667 5.22667 1.28 6.826666l22.50667 17.6c-0.42667 3.41333 -0.74667 6.93333 -0.74667 10.45333 0 3.52 0.32 7.04 0.74667 10.45333l-22.50667 17.6c-2.02667 1.6 -2.56 4.48 -1.28 6.82667l21.33333 36.90667c1.28 2.34666 4.16 3.2 6.50667 2.34666l26.56 -10.66666c5.54667 4.26666 11.52 7.78666 18.02667 10.45333l4.053331 28.26667c0.32 2.56 2.56 4.48 5.22667 4.48h42.66666c2.66667 0 4.90667 -1.92 5.22667 -4.48l4.05333 -28.26667c6.50667 -2.66667 12.48 -6.29333 18.02667 -10.45333l26.56 10.66666c2.45333 0.96 5.22667 0 6.50667 -2.34666l21.33333 -36.90667c1.28 -2.34667 0.74667 -5.22667 -1.28 -6.82667z">
|
||||
</path>
|
||||
</vector>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/ic_microg_background" />
|
||||
<foreground android:drawable="@mipmap/ic_microg_foreground" />
|
||||
</adaptive-icon>
|
After Width: | Height: | Size: 476 B |
After Width: | Height: | Size: 7.2 KiB |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 618 B |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 1004 B |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 21 KiB |
@ -17,6 +17,7 @@
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="gms_app_name">microG Services Core</string>
|
||||
<string name="gms_settings_name">microG Einstellungen</string>
|
||||
<string name="gms_settings_summary">microG services Core einrichten.</string>
|
||||
|
||||
<string name="just_a_sec">Einen kurzen Moment…</string>
|
||||
<string name="google_account_label">Google</string>
|
||||
|
@ -16,7 +16,8 @@
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="gms_app_name">microG Services Core</string>
|
||||
<string name="gms_settings_name">MicroG</string>
|
||||
<string name="gms_settings_name">Настройки MicroG</string>
|
||||
<string name="gms_settings_summary">Конфигурирование сервисов microG.</string>
|
||||
|
||||
<string name="just_a_sec">Пожалуйста, подождите...</string>
|
||||
<string name="google_account_label">Google</string>
|
||||
|
@ -17,6 +17,7 @@
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<string name="gms_app_name">microG Services Core</string>
|
||||
<string name="gms_settings_name">microG Settings</string>
|
||||
<string name="gms_settings_summary">Setup microG services Core.</string>
|
||||
|
||||
<string name="just_a_sec">Just a sec…</string>
|
||||
<string name="google_account_label">Google</string>
|
||||
|