| | |
| | | else if (i == 1) |
| | | { |
| | | btnText.Text = Language.StringByID(R.MyInternationalizationString.FrozenUser); |
| | | btnRight.X = Application.GetRealWidth(50); |
| | | btnRight.Y = Application.GetRealHeight(32); |
| | | btnRight.Height = Application.GetRealHeight(63); |
| | | btnRight.Width = Application.GetRealWidth(104); |
| | | btnRight.UnSelectedImagePath = "DoorLock/Switch.png"; |
| | | btnRight.SelectedImagePath = "DoorLock/SwitchOn.png"; |
| | | btnRight.Height = Application.GetRealHeight(0); |
| | | var btnSwitch = new Button() |
| | | { |
| | | X = Application.GetRealWidth(50), |
| | | Y = Application.GetRealHeight(32), |
| | | Height = Application.GetRealHeight(60), |
| | | Width = Application.GetRealWidth(60), |
| | | UnSelectedImagePath = "DoorLock/Switch.png", |
| | | SelectedImagePath = "DoorLock/SwitchOn.png", |
| | | }; |
| | | btnRightFrameLayout.AddChidren(btnSwitch); |
| | | } |
| | | else if (i == 2) |
| | | { |
| | |
| | | } |
| | | else if (currentIndex == 1) |
| | | { |
| | | btnRight.IsSelected = !btnRight.IsSelected; |
| | | } |
| | | else if (currentIndex == 2) |
| | | { |