Ejemplo 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);
        }
Ejemplo 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);
		}