예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }
예제 #3
0
        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);
            }
        }