コード例 #1
0
        private void InitComponent()
        {
            try
            {
                TxtSave = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconCallToAction = FindViewById <TextView>(Resource.Id.IconCallToAction);
                TxtCallToAction  = FindViewById <EditText>(Resource.Id.CallToActionEditText);

                IconCallToTargetUrl = FindViewById <TextView>(Resource.Id.IconCallToTargetUrl);
                TxtCallToTargetUrl  = FindViewById <EditText>(Resource.Id.CallToTargetUrlEditText);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconCallToAction, FontAwesomeIcon.BezierCurve);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconCallToTargetUrl, FontAwesomeIcon.Bullseye);

                Methods.SetColorEditText(TxtCallToAction, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtCallToTargetUrl, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtCallToAction);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
コード例 #2
0
        private void InitComponent()
        {
            try
            {
                ImageView = FindViewById <ImageView>(Resource.Id.image);

                CardViewGallery = FindViewById <CardView>(Resource.Id.cardViewGallery);
                IconGallery     = FindViewById <TextView>(Resource.Id.iconGallery);

                CardViewColor = FindViewById <CardView>(Resource.Id.cardViewColor);
                IconColor     = FindViewById <TextView>(Resource.Id.iconColor);

                IconDefaultWallpaper = FindViewById <TextView>(Resource.Id.IconDefaultWallpaper);

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

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

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconGallery, IonIconsFonts.Images);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconColor, IonIconsFonts.ColorPalette);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconDefaultWallpaper, IonIconsFonts.Aperture);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #3
0
        private void InitComponent()
        {
            try
            {
                TxtCreate = FindViewById <TextView>(Resource.Id.toolbar_title);


                IconType     = FindViewById <TextView>(Resource.Id.IconType);
                RadioPublic  = FindViewById <RadioButton>(Resource.Id.radioPublic);
                RadioPrivate = FindViewById <RadioButton>(Resource.Id.radioPrivate);

                TxtJoinPrivacy = FindViewById <EditText>(Resource.Id.JoinPrivacyEditText);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconType, FontAwesomeIcon.ShieldAlt);
                Methods.SetColorEditText(TxtJoinPrivacy, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtJoinPrivacy);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
コード例 #4
0
        private void InitComponent(View view)
        {
            try
            {
                ProUserRecyclerView        = (RecyclerView)view.FindViewById(Resource.Id.proRecyler);
                PageRecyclerView           = (RecyclerView)view.FindViewById(Resource.Id.pagerecyler);
                LastActivitiesRecyclerView = (RecyclerView)view.FindViewById(Resource.Id.lastactivitiesRecyler);

                NestedScrolled = (NestedScrollView)view.FindViewById(Resource.Id.nestedScrollView);

                FriendRequestImage1 = (ImageView)view.FindViewById(Resource.Id.image_page_1);
                FriendRequestImage2 = (ImageView)view.FindViewById(Resource.Id.image_page_2);
                FriendRequestImage3 = (ImageView)view.FindViewById(Resource.Id.image_page_3);
                FriendRequestCount  = (ImageView)view.FindViewById(Resource.Id.count_view);

                TxTFriendRequest    = (TextView)view.FindViewById(Resource.Id.tv_Friends_connection);
                TxtAllFriendRequest = (TextView)view.FindViewById(Resource.Id.tv_Friends);

                TxTMoreLastActivities  = (TextView)view.FindViewById(Resource.Id.tv_lastactivities);
                IconMoreLastActivities = (TextView)view.FindViewById(Resource.Id.iv_more_lastactivities);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconMoreLastActivities, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.IosArrowDropleft : IonIconsFonts.IosArrowDropright);

                LayoutSuggestionProUsers       = (LinearLayout)view.FindViewById(Resource.Id.layout_suggestion_Friends);
                LayoutSuggestionLastActivities = (LinearLayout)view.FindViewById(Resource.Id.layout_suggestion_lastactivities);
                LayoutFriendRequest            = (RelativeLayout)view.FindViewById(Resource.Id.layout_friend_Request);
                LayoutSuggestionPromotedPage   = (LinearLayout)view.FindViewById(Resource.Id.layout_suggestion_PromotedPage);

                LastActivitiesRecyclerView.Visibility     = ViewStates.Gone;
                LayoutSuggestionLastActivities.Visibility = ViewStates.Gone;

                if (!AppSettings.ShowLastActivities)
                {
                    LastActivitiesRecyclerView.Visibility     = ViewStates.Gone;
                    LayoutSuggestionLastActivities.Visibility = ViewStates.Gone;
                }

                if (AppSettings.ConnectivitySystem == 1)
                {
                    TxTFriendRequest.Text    = Context.GetString(Resource.String.Lbl_FollowRequest);
                    TxtAllFriendRequest.Text = Context.GetString(Resource.String.Lbl_View_All_FollowRequest);
                }

                LayoutFriendRequest.Click    += LayoutFriendRequestOnClick;
                TxTMoreLastActivities.Click  += MoreLastActivitiesOnClick;
                IconMoreLastActivities.Click += MoreLastActivitiesOnClick;

                PublisherAdView = view.FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #5
0
        private void InitComponent()
        {
            try
            {
                TxtAdd = FindViewById <TextView>(Resource.Id.toolbar_title);

                TxtName = FindViewById <EditText>(Resource.Id.NameEditText);

                ImageAd        = FindViewById <ImageView>(Resource.Id.image);
                BtnSelectImage = FindViewById <TextView>(Resource.Id.ChooseImageText);

                TxtTitle       = FindViewById <EditText>(Resource.Id.TitleEditText);
                TxtDescription = FindViewById <EditText>(Resource.Id.DescriptionEditText);
                TxtStartDate   = FindViewById <EditText>(Resource.Id.StartDateEditText);
                TxtEndDate     = FindViewById <EditText>(Resource.Id.EndDateEditText);
                TxtWebsite     = FindViewById <EditText>(Resource.Id.WebsiteEditText);
                TxtMyPages     = FindViewById <EditText>(Resource.Id.MyPagesEditText);
                TxtLocation    = FindViewById <EditText>(Resource.Id.LocationEditText);
                TxtAudience    = FindViewById <EditText>(Resource.Id.AudienceEditText);
                TxtGender      = FindViewById <EditText>(Resource.Id.GenderEditText);
                TxtPlacement   = FindViewById <EditText>(Resource.Id.PlacementEditText);
                TxtBudget      = FindViewById <EditText>(Resource.Id.BudgetEditText);
                TxtBidding     = FindViewById <EditText>(Resource.Id.BiddingEditText);

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

                Methods.SetColorEditText(TxtName, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtDescription, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtStartDate, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtEndDate, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtWebsite, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtMyPages, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtLocation, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAudience, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtGender, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtPlacement, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtBudget, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtBidding, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtStartDate);
                Methods.SetFocusable(TxtEndDate);
                Methods.SetFocusable(TxtMyPages);
                Methods.SetFocusable(TxtLocation);
                Methods.SetFocusable(TxtAudience);
                Methods.SetFocusable(TxtGender);
                Methods.SetFocusable(TxtPlacement);
                Methods.SetFocusable(TxtBidding);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #6
0
        private void InitComponent()
        {
            try
            {
                TxtCreate = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconTitle = FindViewById <TextView>(Resource.Id.IconTitle);
                TxtTitle  = FindViewById <EditText>(Resource.Id.TitleEditText);

                IconUrl = FindViewById <TextView>(Resource.Id.IconUrl);
                TxtUrl  = FindViewById <EditText>(Resource.Id.UrlEditText);

                IconAbout = FindViewById <TextView>(Resource.Id.IconAbout);
                TxtAbout  = FindViewById <EditText>(Resource.Id.AboutEditText);

                IconCategories = FindViewById <TextView>(Resource.Id.IconCategories);
                TxtCategories  = FindViewById <EditText>(Resource.Id.CategoriesEditText);

                SubCategoriesLayout            = FindViewById <LinearLayout>(Resource.Id.LayoutSubCategories);
                IconSubCategories              = FindViewById <TextView>(Resource.Id.IconSubCategories);
                TxtSubCategories               = FindViewById <EditText>(Resource.Id.SubCategoriesEditText);
                SubCategoriesLayout.Visibility = ViewStates.Gone;

                MRecycler            = FindViewById <RecyclerView>(Resource.Id.Recycler);
                MRecycler.Visibility = ViewStates.Gone;

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconTitle, FontAwesomeIcon.UserFriends);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconUrl, FontAwesomeIcon.Link);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAbout, FontAwesomeIcon.Paragraph);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconCategories, FontAwesomeIcon.Buromobelexperte);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconSubCategories, FontAwesomeIcon.Buromobelexperte);

                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtUrl, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtCategories, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAbout, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtSubCategories, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtCategories);
                Methods.SetFocusable(TxtSubCategories);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #7
0
        private void InitComponent()
        {
            try
            {
                TxtAdd      = FindViewById <TextView>(Resource.Id.toolbar_title);
                TxtAdd.Text = GetText(Resource.String.Lbl_Save);

                IconTitle      = FindViewById <TextView>(Resource.Id.IconTitle);
                TxtTitle       = FindViewById <EditText>(Resource.Id.TitleEditText);
                IconPrice      = FindViewById <TextView>(Resource.Id.IconPrice);
                TxtPrice       = FindViewById <EditText>(Resource.Id.PriceEditText);
                TxtCurrency    = FindViewById <EditText>(Resource.Id.CurrencyEditText);
                IconLocation   = FindViewById <TextView>(Resource.Id.IconLocation);
                TxtLocation    = FindViewById <EditText>(Resource.Id.LocationEditText);
                IconCategories = FindViewById <TextView>(Resource.Id.IconCategories);
                TxtCategory    = FindViewById <EditText>(Resource.Id.CategoriesEditText);
                IconAbout      = FindViewById <TextView>(Resource.Id.IconAbout);
                TxtAbout       = FindViewById <EditText>(Resource.Id.AboutEditText);
                IconType       = FindViewById <TextView>(Resource.Id.IconType);
                RbNew          = FindViewById <RadioButton>(Resource.Id.radioNew);
                RbUsed         = FindViewById <RadioButton>(Resource.Id.radioUsed);

                MRecycler = (RecyclerView)FindViewById(Resource.Id.imageRecyler);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconTitle, FontAwesomeIcon.User);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconLocation, FontAwesomeIcon.MapMarkedAlt);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconPrice, FontAwesomeIcon.MoneyBillAlt);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAbout, FontAwesomeIcon.Paragraph);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconCategories, FontAwesomeIcon.Buromobelexperte);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconType, FontAwesomeIcon.LayerPlus);

                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtPrice, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtCurrency, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtLocation, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtCategory, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAbout, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtCategory);
                Methods.SetFocusable(TxtCurrency);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #8
0
        private void InitComponent()
        {
            try
            {
                TxtSave = FindViewById <TextView>(Resource.Id.toolbar_title);

                //IconName = FindViewById<TextView>(Resource.Id.IconName);
                TxtFirstName = FindViewById <EditText>(Resource.Id.FirstNameEditText);
                TxtLastName  = FindViewById <EditText>(Resource.Id.LastNameEditText);
                //IconLocation = FindViewById<TextView>(Resource.Id.IconLocation);
                TxtLocation = FindViewById <EditText>(Resource.Id.LocationEditText);
                //IconMobile = FindViewById<TextView>(Resource.Id.IconPhone);
                TxtMobile = FindViewById <EditText>(Resource.Id.PhoneEditText);
                //IconWebsite = FindViewById<TextView>(Resource.Id.IconWebsite);
                TxtWebsite = FindViewById <EditText>(Resource.Id.WebsiteEditText);
                //IconWork = FindViewById<TextView>(Resource.Id.IconWorkStatus);
                TxtWork = FindViewById <EditText>(Resource.Id.WorkStatusEditText);
                //IconSchool = FindViewById<TextView>(Resource.Id.IconSchool);
                TxtSchool = FindViewById <EditText>(Resource.Id.SchoolEditText);
                //IconRelationship = FindViewById<TextView>(Resource.Id.IconRelationship);
                TxtRelationship = FindViewById <EditText>(Resource.Id.RelationshipEditText);

                /*Methods.SetColorEditText(TxtFirstName, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtLastName, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtLocation, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtMobile, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtWebsite, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtWork, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtSchool, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                 * Methods.SetColorEditText(TxtRelationship, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);*/

                /*FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconName, FontAwesomeIcon.User);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconLocation, FontAwesomeIcon.MapMarkedAlt);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconMobile, FontAwesomeIcon.Mobile);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconWork, FontAwesomeIcon.Briefcase);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconWebsite, FontAwesomeIcon.Globe);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconSchool, FontAwesomeIcon.School);
                 * FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconRelationship, FontAwesomeIcon.Heart);*/

                Methods.SetFocusable(TxtRelationship);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #9
0
        private void InitComponent()
        {
            try
            {
                TxtEventName   = FindViewById <EditText>(Resource.Id.eventname);
                IconStartDate  = FindViewById <TextView>(Resource.Id.StartIcondate);
                TxtStartDate   = FindViewById <EditText>(Resource.Id.StartDateTextview);
                TxtStartTime   = FindViewById <EditText>(Resource.Id.StartTimeTextview);
                IconEndDate    = FindViewById <TextView>(Resource.Id.EndIcondate);
                TxtEndDate     = FindViewById <EditText>(Resource.Id.EndDateTextview);
                TxtEndTime     = FindViewById <EditText>(Resource.Id.EndTimeTextview);
                IconLocation   = FindViewById <TextView>(Resource.Id.IconLocation);
                TxtLocation    = FindViewById <EditText>(Resource.Id.LocationTextview);
                TxtDescription = FindViewById <EditText>(Resource.Id.description);

                ImageEvent = FindViewById <ImageView>(Resource.Id.EventCover);
                BtnImage   = FindViewById <Button>(Resource.Id.btn_selectimage);

                TxtAdd      = FindViewById <TextView>(Resource.Id.toolbar_title);
                TxtAdd.Text = GetText(Resource.String.Lbl_Save);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconStartDate, IonIconsFonts.AndroidTime);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconEndDate, IonIconsFonts.AndroidTime);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconLocation, IonIconsFonts.Location);

                Methods.SetColorEditText(TxtEventName, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtStartDate, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtStartTime, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtEndDate, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtEndTime, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtLocation, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtDescription, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);


                TxtStartTime.SetOnClickListener(this);
                TxtEndTime.SetOnClickListener(this);
                TxtStartDate.SetOnClickListener(this);
                TxtEndDate.SetOnClickListener(this);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #10
0
        private void InitComponent()
        {
            try
            {
                TxtSave = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconFacebook = FindViewById <TextView>(Resource.Id.IconFacebook);
                TxtFacebook  = FindViewById <EditText>(Resource.Id.FacebookEditText);

                IconTwitter = FindViewById <TextView>(Resource.Id.IconTwitter);
                TxtTwitter  = FindViewById <EditText>(Resource.Id.TwitterEditText);

                IconInstagram = FindViewById <TextView>(Resource.Id.IconInstagram);
                TxtInstagram  = FindViewById <EditText>(Resource.Id.InstagramEditText);

                IconVk = FindViewById <TextView>(Resource.Id.IconVk);
                TxtVk  = FindViewById <EditText>(Resource.Id.VkEditText);

                IconLinkedin = FindViewById <TextView>(Resource.Id.IconLinkedin);
                TxtLinkedin  = FindViewById <EditText>(Resource.Id.LinkedinEditText);

                IconYouTube = FindViewById <TextView>(Resource.Id.IconYouTube);
                TxtYouTube  = FindViewById <EditText>(Resource.Id.YouTubeEditText);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconFacebook, IonIconsFonts.SocialFacebook);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconTwitter, IonIconsFonts.SocialTwitter);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconInstagram, IonIconsFonts.HappyOutline);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconVk, FontAwesomeIcon.Vk);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconLinkedin, IonIconsFonts.SocialLinkedin);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconYouTube, IonIconsFonts.SocialYoutube);

                Methods.SetColorEditText(TxtFacebook, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtTwitter, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtInstagram, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtVk, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtLinkedin, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtYouTube, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #11
0
        private void InitComponent()
        {
            try
            {
                TxtCreate = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconTitle = FindViewById <TextView>(Resource.Id.IconTitle);
                TxtTitle  = FindViewById <EditText>(Resource.Id.TitleEditText);

                IconUrl = FindViewById <TextView>(Resource.Id.IconUrl);
                TxtUrl  = FindViewById <EditText>(Resource.Id.UrlEditText);

                IconAbout = FindViewById <TextView>(Resource.Id.IconAbout);
                TxtAbout  = FindViewById <EditText>(Resource.Id.AboutEditText);

                IconCategories = FindViewById <TextView>(Resource.Id.IconCategories);
                TxtCategories  = FindViewById <EditText>(Resource.Id.CategoriesEditText);

                IconType     = FindViewById <TextView>(Resource.Id.IconType);
                RadioPublic  = FindViewById <RadioButton>(Resource.Id.radioPublic);
                RadioPrivate = FindViewById <RadioButton>(Resource.Id.radioPrivate);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconTitle, FontAwesomeIcon.UserFriends);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconUrl, FontAwesomeIcon.Link);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAbout, FontAwesomeIcon.Paragraph);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconCategories, FontAwesomeIcon.Buromobelexperte);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconType, FontAwesomeIcon.ShieldAlt);

                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtUrl, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtCategories, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAbout, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                Methods.SetFocusable(TxtCategories);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #12
0
        private void InitComponent()
        {
            try
            {
                EmailEditext = FindViewById <EditText>(Resource.Id.emailfield);
                BtnSend      = FindViewById <Button>(Resource.Id.SendButton);
                ProgressBar  = FindViewById <ProgressBar>(Resource.Id.progressBar);

                MainLinearLayout = FindViewById <LinearLayout>(Resource.Id.mainLinearLayout);

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

                ProgressBar.Visibility = ViewStates.Invisible;
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
コード例 #13
0
        private void InitComponent()
        {
            try
            {
                TxtSave = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconCompany = FindViewById <TextView>(Resource.Id.IconCompany);
                TxtCompany  = FindViewById <EditText>(Resource.Id.CompanyEditText);

                IconPhone = FindViewById <TextView>(Resource.Id.IconPhone);
                TxtPhone  = FindViewById <EditText>(Resource.Id.PhoneEditText);

                IconLocation = FindViewById <TextView>(Resource.Id.IconLocation);
                TxtLocation  = FindViewById <EditText>(Resource.Id.LocationEditText);

                IconWebsite = FindViewById <TextView>(Resource.Id.IconWebsite);
                TxtWebsite  = FindViewById <EditText>(Resource.Id.WebsiteEditText);

                IconAbout = FindViewById <TextView>(Resource.Id.IconAbout);
                TxtAbout  = FindViewById <EditText>(Resource.Id.AboutEditText);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconCompany, FontAwesomeIcon.Building);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconPhone, FontAwesomeIcon.Phone);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconLocation, FontAwesomeIcon.MapMarkedAlt);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeBrands, IconWebsite, FontAwesomeIcon.Edge);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAbout, FontAwesomeIcon.Paragraph);

                Methods.SetColorEditText(TxtCompany, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtPhone, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtLocation, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtWebsite, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAbout, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #14
0
        private void InitComponent()
        {
            try
            {
                TxtAdd = FindViewById <TextView>(Resource.Id.toolbar_title);

                IconTitle = FindViewById <TextView>(Resource.Id.IconTitle);
                TxtTitle  = FindViewById <EditText>(Resource.Id.TitleEditText);

                IconAmount = FindViewById <TextView>(Resource.Id.IconAmount);
                TxtAmount  = FindViewById <EditText>(Resource.Id.AmountEditText);

                IconDescription = FindViewById <TextView>(Resource.Id.IconDescription);
                TxtDescription  = FindViewById <EditText>(Resource.Id.DescriptionEditText);

                TxtAdd.Text = GetText(Resource.String.Lbl_Save);
                TxtAdd.SetTextColor(Color.White);

                ImageLayout            = FindViewById <RelativeLayout>(Resource.Id.imageLayout);
                ImageLayout.Visibility = ViewStates.Gone;

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconTitle, FontAwesomeIcon.User);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAmount, FontAwesomeIcon.MoneyBillWave);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconDescription, FontAwesomeIcon.AudioDescription);

                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAmount, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtDescription, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                //Methods.SetFocusable(TxtAmount);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #15
0
        private void InitComponent()
        {
            try
            {
                TxtAdd = FindViewById<TextView>(Resource.Id.toolbar_title);
                ImgCover = FindViewById<ImageView>(Resource.Id.fundingCover);
                BtnSelectImage = FindViewById<Button>(Resource.Id.btn_selectimage);

                IconTitle = FindViewById<TextView>(Resource.Id.IconTitle); 
                TxtTitle = FindViewById<EditText>(Resource.Id.TitleEditText);

                IconAmount = FindViewById<TextView>(Resource.Id.IconAmount);
                TxtAmount = FindViewById<EditText>(Resource.Id.AmountEditText);

                IconDescription = FindViewById<TextView>(Resource.Id.IconDescription);
                TxtDescription  = FindViewById<EditText>(Resource.Id.DescriptionEditText);

                TxtAdd.Text = GetText(Resource.String.Lbl_Submit);
                TxtAdd.SetTextColor(Color.White);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconTitle, FontAwesomeIcon.User);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconAmount, FontAwesomeIcon.MoneyBillWave);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconDescription, FontAwesomeIcon.AudioDescription);

                Methods.SetColorEditText(TxtTitle, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtAmount, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);
                Methods.SetColorEditText(TxtDescription, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                //Methods.SetFocusable(TxtAmount);

                PublisherAdView = FindViewById<PublisherAdView>(Resource.Id.multiple_ad_sizes_view); 
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
コード例 #16
0
        private void InitComponent()
        {
            try
            {
                MRecycler    = (RecyclerView)FindViewById(Resource.Id.recycler);
                TxtNameAlbum = (EditText)FindViewById(Resource.Id.NameEditText);

                IconName = FindViewById <TextView>(Resource.Id.IconName);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconName, FontAwesomeIcon.User);

                TxtAdd      = FindViewById <TextView>(Resource.Id.toolbar_title);
                TxtAdd.Text = GetText(Resource.String.Lbl_Create);

                Methods.SetColorEditText(TxtNameAlbum, AppSettings.SetTabDarkTheme ? Color.White : Color.Black);

                PublisherAdView = FindViewById <PublisherAdView>(Resource.Id.multiple_ad_sizes_view);
                AdsGoogle.InitPublisherAdView(PublisherAdView);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
コード例 #17
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);
            }
        }