Esempio n. 1
0
        public DialMain()
        {
            InitializeComponent();

            searchBar = new DialSearchEntry()
            {
                Keyboard        = Keyboard.Telephone,
                BackgroundColor = Color.White,
                Placeholder     = DependencyService.Get <IBundle> ().LocalizedString("SearchEntryPlaceHolder"),
                TextColor       = Color.FromHex("#494c53"),
            };

            this.stack.Children.Insert(0, searchBar);

            DependencyService.Get <IAddressBook> ().CheckAccessPermission(AccessControl);
        }
Esempio n. 2
0
		public DialMain ()
		{
			InitializeComponent ();

			searchBar = new DialSearchEntry () {
				Keyboard = Keyboard.Telephone,
				BackgroundColor = Color.White,
				Placeholder = DependencyService.Get<IBundle> ().LocalizedString ("SearchEntryPlaceHolder"),
				TextColor = Color.FromHex ("#494c53"),
					
			};

			this.stack.Children.Insert (0, searchBar); 

			DependencyService.Get<IAddressBook> ().CheckAccessPermission (AccessControl);
		}