| | |
| | | seekBarVoiceControl.BindPageLayout(); |
| | | |
| | | //声音百分比 |
| | | this.btnVoicePersent = new NormalViewControl(Application.GetRealWidth(50), btnVoice.Height, false); |
| | | this.btnVoicePersent = new NormalViewControl(Application.GetRealWidth(55), btnVoice.Height, false); |
| | | btnVoicePersent.X = seekBarVoiceControl.Right + Application.GetRealWidth(8) - seekBarVoiceControl.SeekBarPadding; |
| | | btnVoicePersent.Y = btnVoice.Y; |
| | | btnVoicePersent.TextColor = CSS_Color.PromptingColor1; |
| | |
| | | this.frameTempPsw.AddChidren(picBack); |
| | | |
| | | //密码显示控件 |
| | | var btnPassword = new NormalViewControl(150, 50, true); |
| | | var btnPassword = new NormalViewControl(258, 50, true); |
| | | btnPassword.Gravity = Gravity.CenterHorizontal; |
| | | btnPassword.TextSize = CSS_FontSize.SubheadingFontSize; |
| | | btnPassword.TextColor = CSS_Color.MainBackgroundColor; |
| | |
| | | } |
| | | } |
| | | this.seekBarVoiceControl.Progress = this.doorLockData.Voice; |
| | | this.btnVoicePersent.Text = this.doorLockData.Voice.ToString(); |
| | | this.btnVoicePersent.Text = this.doorLockData.Voice.ToString()+"%"; |
| | | } |
| | | catch (Exception ex) |
| | | { |