mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 09:33:16 +00:00
searchbar on ciphers page
This commit is contained in:
@@ -22,6 +22,27 @@
|
||||
</ResourceDictionary>
|
||||
</ContentPage.Resources>
|
||||
|
||||
<NavigationPage.TitleView>
|
||||
<StackLayout
|
||||
Orientation="Horizontal"
|
||||
VerticalOptions="FillAndExpand"
|
||||
HorizontalOptions="FillAndExpand"
|
||||
Spacing="0"
|
||||
Padding="0">
|
||||
<controls:MiButton
|
||||
Text=""
|
||||
BackgroundColor="Transparent"
|
||||
Padding="0"
|
||||
WidthRequest="37"
|
||||
FontSize="25"
|
||||
VerticalOptions="CenterAndExpand" />
|
||||
<SearchBar
|
||||
HorizontalOptions="FillAndExpand"
|
||||
BackgroundColor="Transparent"
|
||||
Placeholder="{u:I18n SearchVault}" />
|
||||
</StackLayout>
|
||||
</NavigationPage.TitleView>
|
||||
|
||||
<StackLayout x:Name="_mainLayout">
|
||||
<Label IsVisible="{Binding ShowNoData}"
|
||||
Text="{Binding NoDataText}"
|
||||
|
||||
@@ -98,7 +98,7 @@ namespace Bit.App.Pages
|
||||
|
||||
private async void Search_Clicked(object sender, System.EventArgs e)
|
||||
{
|
||||
await Navigation.PushModalAsync(new CiphersPage(), false);
|
||||
await Navigation.PushModalAsync(new NavigationPage(new CiphersPage()), false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,6 +48,16 @@
|
||||
<Setter Property="FontAttributes"
|
||||
Value="Bold" />
|
||||
</Style>
|
||||
<Style TargetType="SearchBar">
|
||||
<Setter Property="BackgroundColor"
|
||||
Value="Transparent" />
|
||||
<Setter Property="TextColor"
|
||||
Value="{StaticResource HeaderEntryTextColor}" />
|
||||
<Setter Property="CancelButtonColor"
|
||||
Value="{StaticResource HeaderEntryTextColor}" />
|
||||
<Setter Property="PlaceholderColor"
|
||||
Value="{StaticResource HeaderEntryPlaceholderColor}" />
|
||||
</Style>
|
||||
|
||||
<!-- Buttons -->
|
||||
<Style TargetType="Button"
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
|
||||
<Color x:Key="BoxBorderColor">#f0f0f0</Color>
|
||||
<Color x:Key="BoxHeaderTextColor">#3c8dbc</Color>
|
||||
|
||||
<Color x:Key="HeaderEntryTextColor">#ffffff</Color>
|
||||
<Color x:Key="HeaderEntryPlaceholderColor">#707070</Color>
|
||||
|
||||
<Color x:Key="ListItemBorderColor">#f0f0f0</Color>
|
||||
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color>
|
||||
|
||||
@@ -18,6 +18,9 @@
|
||||
<Color x:Key="BoxBorderColor">#dddddd</Color>
|
||||
<Color x:Key="BoxHeaderTextColor">#3c8dbc</Color>
|
||||
|
||||
<Color x:Key="HeaderEntryTextColor">#ffffff</Color>
|
||||
<Color x:Key="HeaderEntryPlaceholderColor">#c0dbeb</Color>
|
||||
|
||||
<Color x:Key="ListItemBorderColor">#f0f0f0</Color>
|
||||
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color>
|
||||
</ResourceDictionary>
|
||||
|
||||
Reference in New Issue
Block a user