Beispiel #1
0
        private void InitComponent()
        {
            try
            {
                NameIcon     = FindViewById <TextView>(Resource.Id.Name_icon);
                TxtFirstName = FindViewById <EditText>(Resource.Id.FirstName_text);
                TxtLastName  = FindViewById <EditText>(Resource.Id.LastName_text);


                TxtUsername = FindViewById <EditText>(Resource.Id.username_Edit);

                SaveTextView = FindViewById <TextView>(Resource.Id.toolbar_title);


                TxtAboutChannal = FindViewById <EditText>(Resource.Id.AboutChannal_Edit);


                TxtEmail = FindViewById <EditText>(Resource.Id.email_Edit);


                TxtFavCategory = FindViewById <EditText>(Resource.Id.favCategory_Edit);

                GenderIcon = FindViewById <TextView>(Resource.Id.gender_icon);


                ImageAvatarLiner = FindViewById <LinearLayout>(Resource.Id.ImageAvatarLiner);


                ImageCoverLiner = FindViewById <LinearLayout>(Resource.Id.ImageCoverLiner);


                FacebookIcon = FindViewById <TextView>(Resource.Id.facebook_icon);
                TxtFacebook  = FindViewById <EditText>(Resource.Id.facebook_Edit);

                TwitterIcon = FindViewById <TextView>(Resource.Id.twitter_icon);
                TxtTwitter  = FindViewById <EditText>(Resource.Id.twitter_Edit);

                GoogleIcon = FindViewById <TextView>(Resource.Id.google_icon);
                TxtGoogle  = FindViewById <EditText>(Resource.Id.google_Edit);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, NameIcon, IonIconsFonts.Person);
                NameIcon.SetTextColor(Color.ParseColor("#8c8a8a"));


                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, FacebookIcon, IonIconsFonts.SocialFacebook);
                FacebookIcon.SetTextColor(Color.ParseColor("#3b5999"));

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, TwitterIcon, IonIconsFonts.SocialTwitter);
                TwitterIcon.SetTextColor(Color.ParseColor("#55acee"));

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, GoogleIcon, IonIconsFonts.SocialGoogle);
                GoogleIcon.SetTextColor(Color.ParseColor("#dd4b39"));

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);

                Methods.SetFocusable(TxtFavCategory);
                Methods.SetFocusable(GenderIcon);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
Beispiel #2
0
 public ShareALinkViaFacebookPageModel ClickFacebookLink()
 {
     FacebookIcon.Click();
     return(new ShareALinkViaFacebookPageModel(driver));
 }