From 5a5a2b696866f947b6025d26c3302e8ffef46435 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 11 一月 2021 16:11:20 +0800
Subject: [PATCH] 2021-01-11 1.更新MQTT连接和本地搜索网关方法。2.子账号相关接口完善

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/TV/UserTVAddCustomChannel.cs |   23 ++++++++++++-----------
 1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/TV/UserTVAddCustomChannel.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/TV/UserTVAddCustomChannel.cs
index f21d35a..ee62327 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/TV/UserTVAddCustomChannel.cs
+++ b/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) {

--
Gitblit v1.8.0