private void SwLineBreaks_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e) { var sw = PageFragment.view4.FindViewById <Switch>(Resource.Id.swLineBreaks); if (sw.Checked) { Nastaveni.NoLineBreaks = true; Nastaveni.SaveSetting("NoLineBreaks", true); } else { Nastaveni.NoLineBreaks = false; Nastaveni.SaveSetting("NoLineBreaks", false); } }
private void SwStatusBar_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e) { var sw = PageFragment.view4.FindViewById <Switch>(Resource.Id.swHideStatusBar); if (sw.Checked) { Nastaveni.HideStatusBar = true; Nastaveni.SaveSetting("HideStatusBar", true); } else { Nastaveni.HideStatusBar = false; Nastaveni.SaveSetting("HideStatusBar", false); } }
private void SwBigFont_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e) { var sw = PageFragment.view4.FindViewById <Switch>(Resource.Id.swBigFont); if (sw.Checked) { Nastaveni.BigFont = true; Nastaveni.SaveSetting("BigFont", true); } else { Nastaveni.BigFont = false; Nastaveni.SaveSetting("BigFont", false); } }