mirror of
https://github.com/nerzhul/ownCloud-SMS-App.git
synced 2026-08-22 22:03:10 +00:00
Big commit: Android Studio + Re-enable ContactList view and make it working to prepare SMS restauration
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:key="global_settings"
|
||||
android:title="Global Preferences"
|
||||
android:summary="Global preferences">
|
||||
|
||||
<Preference
|
||||
android:key="general_prefs"
|
||||
android:summary="@string/summary_global_pref_to_general_prefs"
|
||||
android:title="@string/title_global_pref_to_general_prefs" >
|
||||
<intent android:targetPackage="fr.unix_experience.owncloud_sms"
|
||||
android:targetClass="fr.unix_experience.owncloud_sms.activities.GeneralSettingsActivity"
|
||||
android:action="ACTION_VIEW" />
|
||||
</Preference>
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -0,0 +1,6 @@
|
||||
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accountType="@string/account_type"
|
||||
android:label="@string/app_name"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:smallIcon="@drawable/ic_launcher"
|
||||
android:accountPreferences="@xml/global_preferences"/>
|
||||
@@ -0,0 +1,56 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<PreferenceCategory
|
||||
android:title="@string/summary_global_pref_to_general_prefs">
|
||||
<ListPreference
|
||||
android:defaultValue="15"
|
||||
android:entries="@array/pref_sync_frequency_titles"
|
||||
android:entryValues="@array/pref_sync_frequency_values"
|
||||
android:key="sync_frequency"
|
||||
android:negativeButtonText="@null"
|
||||
android:positiveButtonText="@null"
|
||||
android:title="@string/pref_title_sync_frequency" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_push_on_receive"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="push_on_receive"
|
||||
android:title="@string/pref_push_on_receive" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_wifi"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_wifi"
|
||||
android:title="@string/pref_sync_wifi" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_4g"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_4g"
|
||||
android:title="@string/pref_sync_4g" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_3g"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_3g"
|
||||
android:title="@string/pref_sync_3g" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_2g"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_2g"
|
||||
android:title="@string/pref_sync_2g" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_gprs"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_gprs"
|
||||
android:title="@string/pref_sync_gprs" />
|
||||
<CheckBoxPreference android:id="@+id/checkbox_sync_others"
|
||||
android:defaultValue="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:key="sync_others"
|
||||
android:title="@string/pref_sync_others" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sync-adapter
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:contentAuthority="@string/slowsync_account_authority"
|
||||
android:accountType="@string/account_type"
|
||||
android:userVisible="true"
|
||||
android:supportsUploading="true"
|
||||
android:allowParallelSyncs="false"
|
||||
android:isAlwaysSyncable="true" />
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sync-adapter
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:contentAuthority="@string/account_authority"
|
||||
android:accountType="@string/account_type"
|
||||
android:userVisible="true"
|
||||
android:supportsUploading="true"
|
||||
android:allowParallelSyncs="false"
|
||||
android:isAlwaysSyncable="true" />
|
||||
Reference in New Issue
Block a user