protected override void OnCreate(Bundle savedInstanceState) { try { base.OnCreate(savedInstanceState); Methods.App.FullScreenApp(this); SetTheme(AppSettings.SetTabDarkTheme ? Resource.Style.MyTheme_Dark_Base : Resource.Style.MyTheme_Base); // Create your application here SetContentView(Resource.Layout.SettingsLayout); //Get Value And Set Toolbar InitToolbar(); SupportFragmentManager.BeginTransaction().Replace(Resource.Id.content_frame, new SettingsPrefFragment(this)).Commit(); AdsGoogle.Ad_AdmobNative(this); } catch (Exception e) { Console.WriteLine(e); } }
private void InitComponent() { try { PayFollower = FindViewById <TextView>(Resource.Id.pay_follower); PayFollowers = FindViewById <TextView>(Resource.Id.pay_followers); PayFollowerPrice = FindViewById <TextView>(Resource.Id.pay_follower_price); PayFollowersPrice = FindViewById <TextView>(Resource.Id.pay_followers_price); AdsGoogle.Ad_AdmobNative(this); } catch (Exception e) { Console.WriteLine(e); } }
private void InitComponent() { try { SaveTextView = FindViewById <TextView>(Resource.Id.toolbar_title); UsernameEditText = FindViewById <EditText>(Resource.Id.usernameText); EmailEditText = FindViewById <EditText>(Resource.Id.emailText); RadioMale = FindViewById <RadioButton>(Resource.Id.radioMale); RadioFemale = FindViewById <RadioButton>(Resource.Id.radioFemale); SaveTextView.SetTextColor(AppSettings.SetTabDarkTheme ? Color.White : Color.Black); SetColorEditText(UsernameEditText); SetColorEditText(EmailEditText); AdsGoogle.Ad_AdmobNative(this); } catch (Exception e) { Console.WriteLine(e); } }
private void InitComponent() { try { PasswordEditText = FindViewById <EditText>(Resource.Id.passwordEdit); DeleteCheckBox = FindViewById <CheckBox>(Resource.Id.DeleteCheckBox); DeleteButton = FindViewById <Button>(Resource.Id.DeleteButton); DeleteCheckBox.Text = GetText(Resource.String.Lbl_IWantToDelete1) + " " + UserDetails.Username + " " + GetText(Resource.String.Lbl_IWantToDelete2) + " " + AppSettings.ApplicationName + " " + GetText(Resource.String.Lbl_IWantToDelete3); SetColorEditText(PasswordEditText); AdsGoogle.Ad_AdmobNative(this); } catch (Exception e) { Console.WriteLine(e); } }
private void InitComponent() { try { SaveTextView = FindViewById <TextView>(Resource.Id.toolbar_title); LinkTextView = FindViewById <TextView>(Resource.Id.linkText); CurrentPasswordEditText = FindViewById <EditText>(Resource.Id.currentPasswordText); NewPsswordEditText = FindViewById <EditText>(Resource.Id.newPsswordText); RepeatPasswordEditText = FindViewById <EditText>(Resource.Id.repeatPasswordText); SaveTextView.SetTextColor(AppSettings.SetTabDarkTheme ? Color.White : Color.Black); SetColorEditText(CurrentPasswordEditText); SetColorEditText(NewPsswordEditText); SetColorEditText(RepeatPasswordEditText); AdsGoogle.Ad_AdmobNative(this); } catch (Exception e) { Console.WriteLine(e); } }