-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UI improvements and optimizations; EncryptedList optimized;
- Loading branch information
Admin
authored and
Admin
committed
Aug 8, 2018
1 parent
e616240
commit e7e76d0
Showing
151 changed files
with
386 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Lazurite/LazuriteMobile.App/LazuriteMobile.App.Android/Properties/AndroidManifest.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 8 additions & 9 deletions
17
Lazurite/LazuriteMobile.App/LazuriteMobile.App/Controls/Visual.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using Xamarin.Forms; | ||
using Xamarin.Forms; | ||
|
||
namespace LazuriteMobile.App.Controls | ||
{ | ||
public static class Visual | ||
{ | ||
public static readonly Color ItemBackground = Color.FromRgb(37, 37, 45); | ||
public static readonly Color ItemSelection = Color.SteelBlue; | ||
public static readonly Color ItemSelection = Color.SlateBlue; | ||
public static readonly Color BrightItemBackground = Color.FromRgb(60, 60, 68); | ||
public static readonly Color Background = Color.FromRgb(26, 26, 34); | ||
public static readonly Color BackgroundLazurite = Color.FromRgb(29, 25, 39); | ||
public static readonly Color CaptionForeground = Color.SteelBlue; | ||
public static readonly Color Foreground = Color.LightGray; | ||
public static readonly int FontSize = 14; | ||
public static readonly int BigFontSize = 17; | ||
public static readonly Color SwitchBackground = BackgroundLazurite; | ||
|
||
public static readonly string FontFamily = "sans-serif-light"; | ||
|
||
public static readonly Color SwitchBackground = ItemBackground; | ||
public static readonly Color SwitchBackgroundReadonly = Color.FromRgb(0, 49, 83); | ||
|
||
public static readonly Color SelectedSwitchBackground = ItemSelection; | ||
public static readonly Color SelectedSwitchBackgroundReadonly = Color.FromRgb(0, 80, 130); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 8 additions & 5 deletions
13
Lazurite/LazuriteMobile.App/LazuriteMobile.App/MessageView.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Grid xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:controls="clr-namespace:LazuriteMobile.App.Controls" | ||
x:Class="LazuriteMobile.App.MessageView" | ||
BackgroundColor="#1D191D" HorizontalOptions="FillAndExpand" VerticalOptions="Start" Padding="4"> | ||
Margin="2,2,2,0" | ||
BackgroundColor="{Static controls:Visual.ItemBackground}" HorizontalOptions="FillAndExpand" VerticalOptions="Start" Padding="4"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto"></RowDefinition> | ||
<RowDefinition Height="Auto"></RowDefinition> | ||
<RowDefinition Height="19"></RowDefinition> | ||
</Grid.RowDefinitions> | ||
<Label Margin="4" VerticalOptions="Center" FontAttributes="Italic" TextColor="SteelBlue" x:Name="lblTitle"></Label> | ||
<Label Margin="4" VerticalOptions="Center" Grid.Row="1" TextColor="SteelBlue" x:Name="lblText"></Label> | ||
<Label Margin="4" VerticalOptions="Center" Grid.Row="2" TextColor="Gray" FontSize="Micro" x:Name="lblDateTime"></Label> | ||
<Label x:Name="lblNew" Grid.Row="0" TextColor="Yellow" FontSize="Large" HorizontalOptions="End">*</Label> | ||
<Label BackgroundColor="{Static controls:Visual.BrightItemBackground}"></Label> | ||
<Label FontFamily="{Static controls:Visual.FontFamily}" Margin="4" VerticalOptions="Center" TextColor="{Static controls:Visual.CaptionForeground}" x:Name="lblTitle"></Label> | ||
<Label FontFamily="{Static controls:Visual.FontFamily}" Margin="4" VerticalOptions="Center" Grid.Row="1" TextColor="{Static controls:Visual.Foreground}" x:Name="lblText"></Label> | ||
<Label FontFamily="{Static controls:Visual.FontFamily}" Margin="4" VerticalOptions="Center" Grid.Row="2" TextColor="Gray" FontSize="Micro" x:Name="lblDateTime"></Label> | ||
<Label FontFamily="{Static controls:Visual.FontFamily}" Margin="0,0,7,0" x:Name="lblNew" Grid.Row="0" TextColor="SteelBlue" FontSize="Large" HorizontalOptions="End" VerticalOptions="Center">*</Label> | ||
</Grid> |
7 changes: 4 additions & 3 deletions
7
Lazurite/LazuriteMobile.App/LazuriteMobile.App/MessagesView.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Grid xmlns="http://xamarin.com/schemas/2014/forms" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
x:Class="LazuriteMobile.App.MessagesView" BackgroundColor="Black"> | ||
xmlns:controls="clr-namespace:LazuriteMobile.App.Controls" | ||
x:Class="LazuriteMobile.App.MessagesView" BackgroundColor="{Static controls:Visual.Background}"> | ||
<ScrollView x:Name="scrollView"> | ||
<StackLayout Spacing="2" Orientation="Vertical" x:Name="stackView" BackgroundColor="DarkOrchid" VerticalOptions="StartAndExpand"></StackLayout> | ||
<StackLayout Orientation="Vertical" x:Name="stackView" BackgroundColor="Transparent" VerticalOptions="StartAndExpand"></StackLayout> | ||
</ScrollView> | ||
<Label x:Name="lblEmpty" IsVisible="False" VerticalOptions="Center" HorizontalOptions="Center" TextColor="Orchid"> | ||
<Label FontFamily="{Static controls:Visual.FontFamily}" x:Name="lblEmpty" IsVisible="False" VerticalOptions="Center" HorizontalOptions="Center" TextColor="Orchid"> | ||
Сообщений пока нет... | ||
</Label> | ||
</Grid> |
Oops, something went wrong.