Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
120 changes: 63 additions & 57 deletions VisualChallenge/VisualChallenge.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<!-- colorPrimary is used for the default action bar background -->
<item name="colorPrimary">#2196F3</item>
<!-- colorPrimaryDark is used for the status bar -->
<item name="colorPrimaryDark">#1976D2</item>
<item name="colorPrimaryDark">#000</item>
<!-- colorAccent is used as the default value for colorControlActivated
which is used to tint widgets -->
<item name="colorAccent">#FF4081</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<AndroidAsset Include="Assets\materialdesignicons-webfont.ttf" />
<None Include="Resources\AboutResources.txt" />
<None Include="Assets\AboutAssets.txt" />
<None Include="Properties\AndroidManifest.xml" />
Expand Down Expand Up @@ -86,12 +87,17 @@
<AndroidResource Include="Resources\drawable-xxhdpi\xamagon_preview.png" />
<AndroidResource Include="Resources\drawable-xxxhdpi\xamagon_preview.png" />
</ItemGroup>
<ItemGroup />
<ItemGroup>
<AndroidResource Include="Resources\drawable\invisibila.jpg" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\VisualChallenge\VisualChallenge.csproj">
<Project>{DF343C5B-66F1-4EF5-B721-6246D8F1DC39}</Project>
<Name>VisualChallenge</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<AndroidResource Include="Resources\drawable\makingsense.png" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
4 changes: 4 additions & 0 deletions VisualChallenge/VisualChallenge.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,9 @@
<string>VisualChallenge</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>UIAppFonts</key>
<array>
<string>materialdesignicons-webfont.ttf</string>
</array>
</dict>
</plist>
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.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions VisualChallenge/VisualChallenge.iOS/VisualChallenge.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
<None Include="Entitlements.plist" />
<None Include="Info.plist" />
<Compile Include="Properties\AssemblyInfo.cs" />
<BundleResource Include="Resources\materialdesignicons-webfont.ttf" />
</ItemGroup>
<ItemGroup>
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json">
Expand Down Expand Up @@ -144,4 +145,13 @@
<Name>VisualChallenge</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\invisibila.jpg" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\makingsense.png" />
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\xamagon_preview.png" />
</ItemGroup>
</Project>
7 changes: 6 additions & 1 deletion VisualChallenge/VisualChallenge/App.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="VisualChallenge.App">
<Application.Resources>


<OnPlatform x:Key="MaterialFontFamily" x:TypeArguments="x:String">
<On Platform="iOS" Value="Material Design Icons" />
<On Platform="Android" Value="materialdesignicons-webfont.ttf#Material Design Icons" />
</OnPlatform>

</Application.Resources>
</Application>
52 changes: 43 additions & 9 deletions VisualChallenge/VisualChallenge/AppShell.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,60 @@
-->
<Shell.Resources>
<ResourceDictionary>
<Color x:Key="NavigationPrimary">#2196F3</Color>
<Color x:Key="NavigationPrimary">#24272B</Color>
<Style x:Key="BaseStyle" TargetType="Element">
<Setter Property="Shell.ShellBackgroundColor" Value="{StaticResource NavigationPrimary}" />
<Setter Property="Shell.ShellBackgroundColor" Value="#24272B" />
<Setter Property="Shell.ShellForegroundColor" Value="White" />
<Setter Property="Shell.ShellTitleColor" Value="White" />
<Setter Property="Shell.ShellDisabledColor" Value="#B4FFFFFF" />
<Setter Property="Shell.ShellUnselectedColor" Value="#95FFFFFF" />
<Setter Property="Shell.ShellTabBarBackgroundColor" Value="{StaticResource NavigationPrimary}" />
<Setter Property="Shell.ShellTabBarBackgroundColor" Value="White" />
<Setter Property="Shell.ShellTabBarForegroundColor" Value="White"/>
<Setter Property="Shell.ShellTabBarUnselectedColor" Value="#95FFFFFF"/>
<Setter Property="Shell.ShellTabBarTitleColor" Value="White"/>
<Setter Property="Shell.ShellTabBarUnselectedColor" Value="Gray"/>
<Setter Property="Shell.ShellTabBarTitleColor" Value="#2196F3"/>
</Style>
<Style TargetType="ShellItem" BasedOn="{StaticResource BaseStyle}" />
</ResourceDictionary>
</Shell.Resources>

<FlyoutItem>
<Tab>
<ShellItem>

<ShellSection Title="Podcasts">
<ShellSection.Icon>
<FontImageSource
FontFamily="{DynamicResource MaterialFontFamily}"
Glyph="{x:Static local:MaterialFontIcons.Apps}"/>
</ShellSection.Icon>
<ShellContent ContentTemplate="{DataTemplate local:VisualChallengePage}"/>
</ShellSection>

<ShellSection Title="Filters">
<ShellSection.Icon>
<FontImageSource
FontFamily="{DynamicResource MaterialFontFamily}"
Glyph="{x:Static local:MaterialFontIcons.FilterVariant}"/>
</ShellSection.Icon>
<ShellContent ContentTemplate="{DataTemplate local:VisualChallengePage}"/>
</ShellSection>

<ShellSection Title="Discover">
<ShellSection.Icon>
<FontImageSource
FontFamily="{DynamicResource MaterialFontFamily}"
Glyph="{x:Static local:MaterialFontIcons.Magnify}"/>
</ShellSection.Icon>
<ShellContent ContentTemplate="{DataTemplate local:VisualChallengePage}"/>
</ShellSection>

<ShellSection Title="Profile">
<ShellSection.Icon>
<FontImageSource
FontFamily="{DynamicResource MaterialFontFamily}"
Glyph="{x:Static local:MaterialFontIcons.AccountOutline}"/>
</ShellSection.Icon>
<ShellContent ContentTemplate="{DataTemplate local:VisualChallengePage}"/>
</Tab>
</FlyoutItem>
</ShellSection>

</ShellItem>

</Shell>
Loading