This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'group_11' of https://github.com/rilling/OpenTracksConco…
…rdia into group_11
- Loading branch information
Showing
17 changed files
with
93 additions
and
12 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
src/main/java/de/dennisguse/opentracks/settings/AggregatedStatsSettingsFragment.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package de.dennisguse.opentracks.settings; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.preference.PreferenceFragmentCompat; | ||
|
||
import de.dennisguse.opentracks.BuildConfig; | ||
import de.dennisguse.opentracks.R; | ||
|
||
public class AggregatedStatsSettingsFragment extends PreferenceFragmentCompat { | ||
|
||
@Override | ||
public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { | ||
addPreferencesFromResource(R.xml.settings_aggregated_stats); | ||
} | ||
|
||
@Override | ||
public void onStart() { | ||
super.onStart(); | ||
((SettingsActivity) getActivity()).getSupportActionBar().setTitle(R.string.settings_aggregated_stats); | ||
findPreference(getString(R.string.settings_aggregated_stats_key)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:title="@string/settings_aggregated_stats"> | ||
|
||
<Preference | ||
android:key="@string/aggregated_stats_package_key" | ||
android:selectable="false" | ||
android:persistent="false" | ||
android:title="@string/settings_aggregated_stats" /> | ||
|
||
|
||
<SwitchPreference | ||
android:defaultValue="false" | ||
android:key="@string/aggregated_stats_package_key" | ||
android:title="@string/settings_elevation_gain" /> | ||
|
||
<!--<SwitchPreferenceCompat--> | ||
<!-- android:title="@string/settings_public_api_dashboard_enabled_title"--> | ||
<!-- android:summaryOn="@string/settings_public_api_dashboard_enabled_summary_on"--> | ||
<!-- android:summaryOff="@string/settings_public_api_dashboard_enabled_summary_off"--> | ||
<!-- android:defaultValue="@bool/publicapi_dashboard_enabled_default"--> | ||
<!-- android:key="@string/publicapi_dashboard_enabled_key" />--> | ||
|
||
</PreferenceScreen> |