Add settings
This commit is contained in:
parent
3537aca8f2
commit
f2834b1501
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/checkbox_wrapper"
|
android:id="@+id/checkbox_wraper"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
If you are making/correcting English translations make sure:
|
If you are making/correcting English translations make sure:
|
||||||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||||
-->
|
-->
|
||||||
<string name="access_from_map_description">Opens dashboard directly from map</string>
|
<string name="access_from_map_description">Opens dashboard directly from map</string>
|
||||||
<string name="access_from_map">Access from map</string>
|
<string name="access_from_map">Access from map</string>
|
||||||
<string name="show_on_start_description">\'Off\' directly launches map screen</string>
|
<string name="show_on_start_description">\'Off\' directly launches map screen</string>
|
||||||
|
|
|
@ -69,7 +69,7 @@ public class DashboardSettingsDialogFragment extends DialogFragment
|
||||||
final View showDashboardOnStart = createCheckboxItem(settings.SHOW_DASHBOARD_ON_START,
|
final View showDashboardOnStart = createCheckboxItem(settings.SHOW_DASHBOARD_ON_START,
|
||||||
R.string.show_on_start , R.string.show_on_start_description);
|
R.string.show_on_start , R.string.show_on_start_description);
|
||||||
final View accessFromMap = createCheckboxItem(settings.SHOW_DASHBOARD_ON_MAP_SCREEN,
|
final View accessFromMap = createCheckboxItem(settings.SHOW_DASHBOARD_ON_MAP_SCREEN,
|
||||||
R.string.access_from_map, R.string.access_from_map_description);
|
R.string.access_from_map, R.string.access_from_map_description);
|
||||||
|
|
||||||
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
||||||
if (savedInstanceState != null && savedInstanceState.containsKey(CHECKED_ITEMS)) {
|
if (savedInstanceState != null && savedInstanceState.containsKey(CHECKED_ITEMS)) {
|
||||||
|
|
Loading…
Reference in a new issue