mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-02 17:43:06 +02:00
afa2c9875e
Store preferred account as a sharing setting. Remove share url only option. Apply share url only if twitter is selected.
36 lines
1.5 KiB
XML
36 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright 2012 Google Inc.
|
|
|
|
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.
|
|
-->
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:title="@string/settings_sharing" >
|
|
<ListPreference
|
|
android:defaultValue=""
|
|
android:key="@string/sharing_account_key"
|
|
android:summary="@string/settings_sharing_account_summary"
|
|
android:title="@string/settings_sharing_account" />
|
|
<CheckBoxPreference
|
|
android:defaultValue="true"
|
|
android:key="@string/default_map_public_key"
|
|
android:summaryOff="@string/settings_sharing_map_public_summary_off"
|
|
android:summaryOn="@string/settings_sharing_map_public_summary_on"
|
|
android:title="@string/settings_sharing_map_public" />
|
|
<CheckBoxPreference
|
|
android:defaultValue="false"
|
|
android:key="@string/allow_access_key"
|
|
android:summaryOff="@string/settings_sharing_allow_access_summary_off"
|
|
android:summaryOn="@string/settings_sharing_allow_access_summary_on"
|
|
android:title="@string/settings_sharing_allow_access" />
|
|
</PreferenceScreen> |