Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Fixed UI for small devices
Browse files Browse the repository at this point in the history
  • Loading branch information
awaiss committed Nov 12, 2020
1 parent adc93ad commit 09d5628
Show file tree
Hide file tree
Showing 10 changed files with 66 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AndroidLinkMode>None</AndroidLinkMode>
<AotAssemblies>false</AotAssemblies>
<EnableLLVM>false</EnableLLVM>
<AndroidEnableProfiledAot>false</AndroidEnableProfiledAot>
<BundleAssemblies>false</BundleAssemblies>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 30 additions & 16 deletions AuVilator.Xam.Forms/AuVilator.Xam.Forms.iOS/aVlogoAS.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions AuVilator.Xam.Forms/AuVilator.Xam.Forms/AuVilator.Xam.Forms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<PackageId>AuVilator</PackageId>
<Authors>Awais Akram</Authors>
<Product>AuVilator</Product>
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<Description>AuVilator helps to summarize the recorded meetings such that it can be evaluated at lesser time. Since, recorded meetings includes fair amount of non-essential auditory sounds like silence, machinery noise and more. Thus, AuVilator tries extracts human voice signals and merge them in respective manner so person can review the recorded meetings in lesser time. This way AuVilator can help user to summarize, evaluate and transcribe the recorded meetings in timely manner.
</Description>
<Copyright>AuVilator 2020</Copyright>
<RepositoryUrl>https://github.com/Zamods/AuVilator.Xam.Forms</RepositoryUrl>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -20,6 +31,10 @@
<None Remove="Assets\NavBar\Exit.png" />
<None Remove="Assets\NavBar\Front.png" />
<None Remove="Assets\NavBar\Settings.png" />
<None Include="..\AuVilator.Xam.Forms.Android\Resources\mipmap-xhdpi\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
Expand Down
19 changes: 12 additions & 7 deletions AuVilator.Xam.Forms/AuVilator.Xam.Forms/Page/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<Setter Property="Padding" Value="12,0,0,0"/>
<Setter Property="TextColor" Value="White"/>
<Setter Property="HorizontalTextAlignment" Value="Start"/>
<Setter Property="WidthRequest" Value="140" />
<Setter Property="WidthRequest" Value="110" />
</Style>
<Style x:Key="BackGroundRectangle" TargetType="BoxView">
<Setter Property="BackgroundColor" Value="BlueViolet"/>
Expand All @@ -31,7 +31,9 @@
<Setter Property="HorizontalOptions" Value="CenterAndExpand"/>
<Setter Property="BackgroundColor" Value="White"/>
<Setter Property="VerticalOptions" Value="Center"/>
<Setter Property="WidthRequest" Value="180" />
<Setter Property="WidthRequest" Value="170" />
<Setter Property="HeightRequest" Value="45" />
<Setter Property="FontSize" Value="Subtitle"/>
</Style>
<Style x:Key="ImageButton" TargetType="controls:FlatIconButton">
<Setter Property="BackgroundColor" Value="{x:Null}"/>
Expand All @@ -46,6 +48,9 @@
<Setter Property="HorizontalOptions" Value="Start"/>
<Setter Property="TextColor" Value="White"/>
<Setter Property="BackgroundColor" Value="BlueViolet"/>
<Setter Property="WidthRequest" Value="100" />
<Setter Property="Margin" Value="-20,0,-10,0" />
<Setter Property="Padding" Value="-10,0,-10,0" />
</Style>
</ContentPage.Resources>

Expand All @@ -60,27 +65,27 @@
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<controls:NavPageTopBar Grid.Row="0" Grid.ColumnSpan="4"/>
<!--<control:NavPageBarControl NavBarTitle="{Binding Textee}" NextNavBtnCommand="{Binding GotoPage2Command}" BackNavBtnCommand="{Binding ChangeText}" Grid.Row="0"/>-->
<Label Grid.Row="1" Grid.ColumnSpan="3" Text="{x:Static p:Resources.Settings_V_Main_Title}" FontSize="26" VerticalTextAlignment="Center" Margin="20,0,0,0"/>
<Label Grid.Row="1" Grid.ColumnSpan="3" Text="{x:Static p:Resources.Settings_V_Main_Title}" FontSize="Title" VerticalTextAlignment="Center" Margin="20,0,0,0"/>
<Image Grid.Row="1" Grid.Column="3" Margin="0,0,-5,0" Source="Exit" TranslationX="-25">
<Image.GestureRecognizers>
<TapGestureRecognizer Command="{Binding ExitSettings}"/>
</Image.GestureRecognizers>
</Image>
<Grid Grid.Row="3" Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="2" Margin="20" HorizontalOptions="Center" VerticalOptions="Start">
<Grid Grid.Row="3" Grid.RowSpan="2" Grid.Column="1" Grid.ColumnSpan="2" HorizontalOptions="Center" VerticalOptions="Start">
<Grid.RowDefinitions>
<RowDefinition Height="45"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="125"/>
<ColumnDefinition Width="100"/>
</Grid.ColumnDefinitions>
<BoxView Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="3" Style="{StaticResource BackGroundRectangle}"/>
<Label Grid.Column="0" Grid.Row="0" Text="{x:Static p:Resources.Settings_V_Language_TB}" Style="{StaticResource HeadingTextBlock}" />
Expand Down
10 changes: 5 additions & 5 deletions AuVilator.Xam.Forms/AuVilator.Xam.Forms/Page/SilencerPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<Setter Property="CornerRadius" Value="20"/>
</Style>
<Style x:Key="InputComboBox" TargetType="Picker">
<Setter Property="WidthRequest" Value="430" />
<Setter Property="WidthRequest" Value="372" />
<Setter Property="HorizontalOptions" Value="Center"/>
<Setter Property="BackgroundColor" Value="White"/>
<Setter Property="VerticalOptions" Value="Center"/>
Expand Down Expand Up @@ -67,7 +67,7 @@
<Setter Property="Padding" Value="5"/>
<Setter Property="VerticalTextAlignment" Value="Center"/>
<Setter Property="VerticalOptions" Value="FillAndExpand"/>
<Setter Property="WidthRequest" Value="430"/>
<Setter Property="WidthRequest" Value="372"/>
</Style>
<Style x:Key="InformationCloseButton" TargetType="Button">
<Setter Property="FontAttributes" Value="Bold"/>
Expand Down Expand Up @@ -98,14 +98,14 @@
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="10"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="20"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<controls:NavPageTopBar Grid.Row="0" Grid.ColumnSpan="4"/>
<!--<control:NavPageBarControl NavBarTitle="{Binding Textee}" NextNavBtnCommand="{Binding GotoPage2Command}" BackNavBtnCommand="{Binding ChangeText}" Grid.Row="0"/>-->
<Label Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Text="{x:Static p:Resources.AuVilator_Welcome}" FontSize="26" VerticalOptions="Center" />
<Label Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" Text="{x:Static p:Resources.AuVilator_Welcome}" FontSize="Title" VerticalOptions="Center" />
<Image Grid.Row="1" Grid.Column="3" Source="Settings.png" Aspect="AspectFit" HeightRequest="30" WidthRequest="30" Margin="-10,0,-10,0" TranslationX="-20">
<Image.GestureRecognizers>
<TapGestureRecognizer Command="{Binding OpenSettings}"/>
Expand Down

0 comments on commit 09d5628

Please sign in to comment.