JLChen
2021-01-11 5a5a2b696866f947b6025d26c3302e8ffef46435
Crabtree/SmartHome/UI/SimpleControl/Phone/TV/UserTVAddCustomChannel.cs
@@ -67,9 +67,9 @@
            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);
@@ -100,8 +100,8 @@
            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,
            };
@@ -148,8 +148,8 @@
                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);
@@ -170,14 +170,15 @@
                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) {
@@ -187,8 +188,8 @@
            };
            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) {