mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 17:23:18 +00:00
PM-3349 PM-3350 Minor change to HomePage to set fixed Image height otherwise it takes more space than it did in the old Xamarin Forms app.
Added HIdeSoftInputOnTapped on several pages (the ones with Entry controls) to allow hiding the keyboard when tapping "outside" of it. (just like we did in Xamarin Forms app)
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
x:Class="Bit.App.Pages.EnvironmentPage"
|
x:Class="Bit.App.Pages.EnvironmentPage"
|
||||||
xmlns:pages="clr-namespace:Bit.App.Pages"
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:DataType="pages:EnvironmentPageViewModel"
|
x:DataType="pages:EnvironmentPageViewModel"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
xmlns:pages="clr-namespace:Bit.App.Pages"
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:HintPageViewModel"
|
x:DataType="pages:HintPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:HomeViewModel"
|
x:DataType="pages:HomeViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
@@ -34,6 +35,7 @@
|
|||||||
<Image
|
<Image
|
||||||
x:Name="_logo"
|
x:Name="_logo"
|
||||||
Source="logo.png"
|
Source="logo.png"
|
||||||
|
HeightRequest="60"
|
||||||
VerticalOptions="Center" />
|
VerticalOptions="Center" />
|
||||||
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
<Label Text="{u:I18n LoginOrCreateNewAccount}"
|
||||||
StyleClass="text-lg"
|
StyleClass="text-lg"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:LockPageViewModel"
|
x:DataType="pages:LockPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:LoginPageViewModel"
|
x:DataType="pages:LoginPageViewModel"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}"
|
Title="{Binding PageTitle}"
|
||||||
AutomationId="PageTitleLabel">
|
AutomationId="PageTitleLabel">
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
xmlns:pages="clr-namespace:Bit.App.Pages"
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:LoginSsoPageViewModel"
|
x:DataType="pages:LoginSsoPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:RegisterPageViewModel"
|
x:DataType="pages:RegisterPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:SetPasswordPageViewModel"
|
x:DataType="pages:SetPasswordPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:TwoFactorPageViewModel"
|
x:DataType="pages:TwoFactorPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Unloaded="TwoFactorPage_OnUnloaded"
|
Unloaded="TwoFactorPage_OnUnloaded"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:UpdateTempPasswordPageViewModel"
|
x:DataType="pages:UpdateTempPasswordPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
x:DataType="pages:VerificationCodeViewModel"
|
x:DataType="pages:VerificationCodeViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
<pages:VerificationCodeViewModel />
|
<pages:VerificationCodeViewModel />
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
xmlns:effects="clr-namespace:Bit.App.Effects"
|
xmlns:effects="clr-namespace:Bit.App.Effects"
|
||||||
xmlns:core="clr-namespace:Bit.Core"
|
xmlns:core="clr-namespace:Bit.Core"
|
||||||
xmlns:enums="clr-namespace:Bit.Core.Enums"
|
xmlns:enums="clr-namespace:Bit.Core.Enums"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:DataType="pages:GeneratorPageViewModel"
|
x:DataType="pages:GeneratorPageViewModel"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
xmlns:effects="clr-namespace:Bit.App.Effects"
|
xmlns:effects="clr-namespace:Bit.App.Effects"
|
||||||
xmlns:core="clr-namespace:Bit.Core"
|
xmlns:core="clr-namespace:Bit.Core"
|
||||||
x:DataType="pages:SendAddEditPageViewModel"
|
x:DataType="pages:SendAddEditPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
xmlns:behaviors="clr-namespace:Bit.App.Behaviors"
|
xmlns:behaviors="clr-namespace:Bit.App.Behaviors"
|
||||||
xmlns:effects="clr-namespace:Bit.App.Effects"
|
xmlns:effects="clr-namespace:Bit.App.Effects"
|
||||||
x:DataType="pages:SendAddEditPageViewModel"
|
x:DataType="pages:SendAddEditPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:Bit.App.Controls"
|
xmlns:controls="clr-namespace:Bit.App.Controls"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:ExportVaultPageViewModel"
|
x:DataType="pages:ExportVaultPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
|
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
xmlns:pages="clr-namespace:Bit.App.Pages"
|
xmlns:pages="clr-namespace:Bit.App.Pages"
|
||||||
xmlns:u="clr-namespace:Bit.App.Utilities"
|
xmlns:u="clr-namespace:Bit.App.Utilities"
|
||||||
x:DataType="pages:FolderAddEditPageViewModel"
|
x:DataType="pages:FolderAddEditPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
xmlns:effects="clr-namespace:Bit.App.Effects"
|
xmlns:effects="clr-namespace:Bit.App.Effects"
|
||||||
xmlns:dts="clr-namespace:Bit.App.Lists.DataTemplateSelectors"
|
xmlns:dts="clr-namespace:Bit.App.Lists.DataTemplateSelectors"
|
||||||
xmlns:il="clr-namespace:Bit.App.Lists.ItemLayouts.CustomFields"
|
xmlns:il="clr-namespace:Bit.App.Lists.ItemLayouts.CustomFields"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
xmlns:core="clr-namespace:Bit.Core"
|
xmlns:core="clr-namespace:Bit.Core"
|
||||||
x:DataType="pages:CipherAddEditPageViewModel"
|
x:DataType="pages:CipherAddEditPageViewModel"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
|
|||||||
@@ -12,6 +12,7 @@
|
|||||||
xmlns:il="clr-namespace:Bit.App.Lists.ItemLayouts.CustomFields"
|
xmlns:il="clr-namespace:Bit.App.Lists.ItemLayouts.CustomFields"
|
||||||
xmlns:core="clr-namespace:Bit.Core"
|
xmlns:core="clr-namespace:Bit.Core"
|
||||||
x:DataType="pages:CipherDetailsPageViewModel"
|
x:DataType="pages:CipherDetailsPageViewModel"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding PageTitle}">
|
Title="{Binding PageTitle}">
|
||||||
<ContentPage.BindingContext>
|
<ContentPage.BindingContext>
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
xmlns:skia="clr-namespace:SkiaSharp.Views.Maui.Controls;assembly=SkiaSharp.Views.Maui.Controls"
|
xmlns:skia="clr-namespace:SkiaSharp.Views.Maui.Controls;assembly=SkiaSharp.Views.Maui.Controls"
|
||||||
xmlns:core="clr-namespace:Bit.Core"
|
xmlns:core="clr-namespace:Bit.Core"
|
||||||
xmlns:maui="clr-namespace:Camera.MAUI;assembly=Camera.MAUI"
|
xmlns:maui="clr-namespace:Camera.MAUI;assembly=Camera.MAUI"
|
||||||
|
HideSoftInputOnTapped="True"
|
||||||
x:Name="_page"
|
x:Name="_page"
|
||||||
Title="{Binding ScanQrPageTitle}">
|
Title="{Binding ScanQrPageTitle}">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user