mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-15 23:45:06 +00:00
Add account button to microG settings, fix #413
Signed-off-by: ale5000 <ale5000-git@users.noreply.github.com>
This commit is contained in:
parent
7b651aaaad
commit
65b588e20d
9 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24">
|
||||||
|
|
||||||
|
<path
|
||||||
|
android:pathData="M0,0 L24,0 L24,24 L0,24 Z" />
|
||||||
|
<path
|
||||||
|
android:fillColor="#ff000000"
|
||||||
|
android:pathData="M15,12 C17.21,12,19,10.21,19,8 S17.21,4,15,4 S11,5.79,11,8 S12.79,12,15,12 Z M6,10 L6,7 L4,7 L4,10 L1,10 L1,12 L4,12 L4,15 L6,15 L6,12 L9,12 L9,10 L6,10 Z M15,14 C12.33,14,7,15.34,7,18 L7,20 L23,20 L23,18 C23,15.34,17.67,14,15,14 Z" />
|
||||||
|
</vector>
|
BIN
play-services-core/src/main/res/drawable-ldpi/add_account.png
Normal file
BIN
play-services-core/src/main/res/drawable-ldpi/add_account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 169 B |
BIN
play-services-core/src/main/res/drawable-mdpi/add_account.png
Normal file
BIN
play-services-core/src/main/res/drawable-mdpi/add_account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 195 B |
BIN
play-services-core/src/main/res/drawable-xhdpi/add_account.png
Normal file
BIN
play-services-core/src/main/res/drawable-xhdpi/add_account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 328 B |
BIN
play-services-core/src/main/res/drawable-xxhdpi/add_account.png
Normal file
BIN
play-services-core/src/main/res/drawable-xxhdpi/add_account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 428 B |
BIN
play-services-core/src/main/res/drawable-xxxhdpi/add_account.png
Normal file
BIN
play-services-core/src/main/res/drawable-xxxhdpi/add_account.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 586 B |
|
@ -133,6 +133,8 @@
|
||||||
|
|
||||||
<string name="pref_more_settings">Ещё</string>
|
<string name="pref_more_settings">Ещё</string>
|
||||||
|
|
||||||
|
<string name="pref_add_account_title">Аккаунт</string>
|
||||||
|
<string name="pref_add_account_summary">Добавить аккаунт Google</string>
|
||||||
<string name="pref_gcm_enable_mcs_summary">Google Cloud Messaging предоставляет push-уведомления, которые используются во многих в сторонних приложениях. Чтобы использовать их, вы должны включить регистрацию устройства.</string>
|
<string name="pref_gcm_enable_mcs_summary">Google Cloud Messaging предоставляет push-уведомления, которые используются во многих в сторонних приложениях. Чтобы использовать их, вы должны включить регистрацию устройства.</string>
|
||||||
<string name="pref_gcm_heartbeat_title">Интервал соединения Cloud Messaging</string>
|
<string name="pref_gcm_heartbeat_title">Интервал соединения Cloud Messaging</string>
|
||||||
<string name="pref_gcm_heartbeat_summary">"Интервал в секундах, для использования серверов Google. Увеличение этого числа сократит потребление батареи, но может привести к задержкам push-сообщений.\nУстарело, будет изменено в следующем релизе."</string>
|
<string name="pref_gcm_heartbeat_summary">"Интервал в секундах, для использования серверов Google. Увеличение этого числа сократит потребление батареи, но может привести к задержкам push-сообщений.\nУстарело, будет изменено в следующем релизе."</string>
|
||||||
|
|
|
@ -133,6 +133,8 @@ This can take a couple of minutes."</string>
|
||||||
|
|
||||||
<string name="pref_more_settings">More</string>
|
<string name="pref_more_settings">More</string>
|
||||||
|
|
||||||
|
<string name="pref_add_account_title">Account</string>
|
||||||
|
<string name="pref_add_account_summary">Add Google account</string>
|
||||||
<string name="pref_gcm_enable_mcs_summary">Google Cloud Messaging is a push notification provider used by many third-party applications. To use it you must enable device registration.</string>
|
<string name="pref_gcm_enable_mcs_summary">Google Cloud Messaging is a push notification provider used by many third-party applications. To use it you must enable device registration.</string>
|
||||||
<string name="pref_gcm_heartbeat_title">Cloud Messaging heartbeat interval</string>
|
<string name="pref_gcm_heartbeat_title">Cloud Messaging heartbeat interval</string>
|
||||||
<string name="pref_gcm_heartbeat_summary">The interval in seconds for the system to heartbeat the Google servers. Increasing this number will reduce battery consumption, but might cause delays on push messages.\nDeprecated, will be replaced in future release.</string>
|
<string name="pref_gcm_heartbeat_summary">The interval in seconds for the system to heartbeat the Google servers. Increasing this number will reduce battery consumption, but might cause delays on push messages.\nDeprecated, will be replaced in future release.</string>
|
||||||
|
|
|
@ -26,6 +26,14 @@
|
||||||
</org.microg.tools.ui.TintIconPreference>
|
</org.microg.tools.ui.TintIconPreference>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
<PreferenceCategory android:title="@string/prefcat_google_services">
|
<PreferenceCategory android:title="@string/prefcat_google_services">
|
||||||
|
<org.microg.tools.ui.TintIconPreference
|
||||||
|
android:icon="@drawable/add_account"
|
||||||
|
android:summary="@string/pref_add_account_summary"
|
||||||
|
android:title="@string/pref_add_account_title">
|
||||||
|
<intent
|
||||||
|
android:targetClass="org.microg.gms.auth.login.LoginActivity"
|
||||||
|
android:targetPackage="com.google.android.gms"/>
|
||||||
|
</org.microg.tools.ui.TintIconPreference>
|
||||||
<org.microg.tools.ui.TintIconPreference
|
<org.microg.tools.ui.TintIconPreference
|
||||||
android:icon="@drawable/device_login"
|
android:icon="@drawable/device_login"
|
||||||
android:key="pref_checkin"
|
android:key="pref_checkin"
|
||||||
|
|
Loading…
Reference in a new issue