| | |
| | | EditText etChannelName = new EditText () { |
| | | Width = Application.GetRealWidth (550), |
| | | X = Application.GetRealWidth (60), |
| | | PlaceholderText = Language.StringByID (R.MyInternationalizationString.ChannelName), |
| | | PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | PlaceholderText = Language.StringByID (R.MyInternationalizationString.ChannelName), |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | TextSize =15, |
| | | }; |
| | | channelNameView.AddChidren (etChannelName); |
| | |
| | | EditText etChannelNumber = new EditText () { |
| | | X = Application.GetRealWidth (60), |
| | | Width = Application.GetRealWidth (550), |
| | | PlaceholderText = Language.StringByID (R.MyInternationalizationString.ChannelNumber), |
| | | PlaceholderTextColor = SkinStyle.Current.PlaceholderTextColor, |
| | | PlaceholderText = Language.StringByID (R.MyInternationalizationString.ChannelNumber), |
| | | TextColor =SkinStyle.Current.TextColor1, |
| | | TextSize = 15, |
| | | }; |
| | |
| | | Height = Application.GetRealHeight (90), |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | TextID = R.MyInternationalizationString.TakePhoto, |
| | | UnSelectedImagePath = "TV/TV3_photo.png", |
| | | SelectedImagePath = "TV/TV3_photo_on.png", |
| | | //UnSelectedImagePath = "TV/TV3_photo.png", |
| | | //SelectedImagePath = "TV/TV3_photo_on.png", |
| | | X = pictureRightLine.Right, |
| | | }; |
| | | middleView.AddChidren (btnTakePictrue); |
| | |
| | | Height = btnTakePictrue.Height, |
| | | TextID = R.MyInternationalizationString.SelectPicture, |
| | | TextColor = SkinStyle.Current.TextColor1, |
| | | UnSelectedImagePath = "TV/TV3_photo.png", |
| | | SelectedImagePath = "TV/TV3_photo_on.png", |
| | | |
| | | //UnSelectedImagePath = "TV/TV3_photo.png", |
| | | //SelectedImagePath = "TV/TV3_photo_on.png", |
| | | }; |
| | | middleView.AddChidren (btnSelectPictrue); |
| | | var pid = Guid.NewGuid (); |
| | | btnTakePictrue.MouseUpEventHandler += (sender, e) => { |
| | | btnTakePictrue.IsSelected = true; |
| | | btnSelectPictrue.IsSelected = false; |
| | | //btnTakePictrue.IsSelected = true; |
| | | //btnSelectPictrue.IsSelected = false; |
| | | pid = Guid.NewGuid (); |
| | | Camera.TakePicture ((obj) => { |
| | | if (obj != null) { |
| | |
| | | }; |
| | | |
| | | btnSelectPictrue.MouseUpEventHandler += (sender, e) => { |
| | | btnTakePictrue.IsSelected = false ; |
| | | btnSelectPictrue.IsSelected = true; |
| | | //btnTakePictrue.IsSelected = false ; |
| | | //btnSelectPictrue.IsSelected = true; |
| | | pid = Guid.NewGuid (); |
| | | Camera.SelectPicture ((obj) => { |
| | | if (obj != null) { |