예제 #1
0
 private void HideSearch()
 {
     PlacesList.IsVisible      = false;
     SearchBox.BackgroundColor = Color.White;
     SearchFade.FadeTo(0);
     SearchFade.IsVisible          = false;
     SearchBarBackButton.IsVisible = false;
     SearchBarIcon.IsVisible       = true;
 }
예제 #2
0
 private void SearchBox_Focused(object sender, FocusEventArgs e)
 {
     SearchFade.IsVisible = true;
     SearchFade.FadeTo(1);
     PlacesList.IsVisible          = true;
     SearchBarIcon.IsVisible       = false;
     SearchBarBackButton.IsVisible = true;
     SearchBox.BackgroundColor     = Color.FromHex("#f2f2f2");
 }