white logo and popupTheme

This commit is contained in:
Kyle Spearrin 2019-05-29 17:14:15 -04:00
parent 886f356525
commit 6e91d66b2c
3 changed files with 7 additions and 2 deletions

View file

@ -40,6 +40,7 @@
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
<item name="android:colorActivatedHighlight">@android:color/transparent</item>
<item name="android:textCursorDrawable">@null</item>
<item name="popupTheme">@style/ThemeOverlay.AppCompat</item>
</style>
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">

View file

@ -18,7 +18,9 @@
HorizontalOptions="Start"
Clicked="Settings_Clicked" />
<StackLayout VerticalOptions="CenterAndExpand" Spacing="20">
<Image Source="logo.png"
<Image
x:Name="_logo"
Source="logo.png"
VerticalOptions="Center" />
<Label Text="{u:I18n LoginOrCreateNewAccount}"
StyleClass="text-lg"

View file

@ -1,4 +1,5 @@
using System;
using Bit.App.Utilities;
using System;
using Xamarin.Forms;
namespace Bit.App.Pages
@ -8,6 +9,7 @@ namespace Bit.App.Pages
public HomePage()
{
InitializeComponent();
_logo.Source = ThemeManager.GetTheme() == "dark" ? "logo_white.png" : "logo.png";
}
private void LogIn_Clicked(object sender, EventArgs e)