gxc
2019-10-29 081ea8d273048fd03756718ac6fb48a3c09218e9
ZigbeeApp/Shared/Phone/Device/CommonForm/SelectDeviceWithSeekBarRow.cs
@@ -113,7 +113,7 @@
                ProgressColor = ZigbeeColor.Current.GXCProgressColor,
                ThumbColor = ZigbeeColor.Current.GXCBackgroundColor,
                Max = MaxLevel,
                Progress = max
                Progress = MaxLevel
            };
            AddChidren(SeekBar);
@@ -123,7 +123,7 @@
                Height = Application.GetRealHeight(50),
                Width = Application.GetRealWidth(200),
                Gravity = Gravity.CenterHorizontal,
                Text = $"{SeekBar.Progress} %",
                Text = $"{(int)(SeekBar.Progress * 1.0 / MaxLevel * 100)} %",
                TextColor = ZigbeeColor.Current.GXCTextGrayColor
            };
            AddChidren(SeekBarTitle);