private void SwLockPortrait_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e) { var sw = PageFragment.view4.FindViewById <Switch>(Resource.Id.swLockPortrait); if (sw.Checked) { Nastaveni.LockPortrait = true; Nastaveni.SaveSetting("LockPortrait", true); } else { Nastaveni.LockPortrait = false; Nastaveni.SaveSetting("LockPortrait", false); } }
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 SwChorusMany_CheckedChange(object sender, CompoundButton.CheckedChangeEventArgs e) { var sw = PageFragment.view4.FindViewById <Switch>(Resource.Id.swChorusMany); if (sw.Checked) { Nastaveni.ChorusMany = true; Nastaveni.SaveSetting("ChorusMany", true); } else { Nastaveni.ChorusMany = false; Nastaveni.SaveSetting("ChorusMany", false); } }