Added BottomTabbedPage Sample
|
@ -0,0 +1,189 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.27703.2026
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomTabbedPage.Android", "BottomTabbedPage\BottomTabbedPage.Android\BottomTabbedPage.Android.csproj", "{2231BC08-BD18-4E72-B941-FB109154D1C3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BottomTabbedPage", "BottomTabbedPage\BottomTabbedPage\BottomTabbedPage.csproj", "{6B7916F7-BA50-4245-879F-58F0671C7295}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Ad-Hoc|Any CPU = Ad-Hoc|Any CPU
|
||||
Ad-Hoc|ARM = Ad-Hoc|ARM
|
||||
Ad-Hoc|iPhone = Ad-Hoc|iPhone
|
||||
Ad-Hoc|iPhoneSimulator = Ad-Hoc|iPhoneSimulator
|
||||
Ad-Hoc|x64 = Ad-Hoc|x64
|
||||
Ad-Hoc|x86 = Ad-Hoc|x86
|
||||
AppStore|Any CPU = AppStore|Any CPU
|
||||
AppStore|ARM = AppStore|ARM
|
||||
AppStore|iPhone = AppStore|iPhone
|
||||
AppStore|iPhoneSimulator = AppStore|iPhoneSimulator
|
||||
AppStore|x64 = AppStore|x64
|
||||
AppStore|x86 = AppStore|x86
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|ARM = Debug|ARM
|
||||
Debug|iPhone = Debug|iPhone
|
||||
Debug|iPhoneSimulator = Debug|iPhoneSimulator
|
||||
Debug|x64 = Debug|x64
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|ARM = Release|ARM
|
||||
Release|iPhone = Release|iPhone
|
||||
Release|iPhoneSimulator = Release|iPhoneSimulator
|
||||
Release|x64 = Release|x64
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|Any CPU.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|ARM.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|ARM.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhone.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x64.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x64.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x86.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Ad-Hoc|x86.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|Any CPU.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|Any CPU.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|ARM.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|ARM.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|ARM.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhone.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhone.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhone.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x64.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x64.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x64.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x86.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x86.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.AppStore|x86.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|ARM.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhone.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x64.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Debug|x86.Deploy.0 = Debug|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|ARM.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhone.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x64.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x64.Deploy.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x86.Build.0 = Release|Any CPU
|
||||
{2231BC08-BD18-4E72-B941-FB109154D1C3}.Release|x86.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|ARM.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhone.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|iPhoneSimulator.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x64.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x64.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x86.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Ad-Hoc|x86.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|ARM.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|ARM.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|ARM.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhone.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhone.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|iPhoneSimulator.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x64.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x64.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x64.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x86.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x86.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.AppStore|x86.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|ARM.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|ARM.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|ARM.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhone.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhone.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhone.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|iPhoneSimulator.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x64.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Debug|x86.Deploy.0 = Debug|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|Any CPU.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|ARM.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|ARM.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|ARM.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhone.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhone.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhone.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|iPhoneSimulator.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x64.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x64.Deploy.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x86.Build.0 = Release|Any CPU
|
||||
{6B7916F7-BA50-4245-879F-58F0671C7295}.Release|x86.Deploy.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {C4E9ED56-6973-4876-8D60-8D770E37A3BC}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,19 @@
|
|||
Any raw assets you want to be deployed with your application can be placed in
|
||||
this directory (and child directories) and given a Build Action of "AndroidAsset".
|
||||
|
||||
These files will be deployed with you package and will be accessible using Android's
|
||||
AssetManager, like this:
|
||||
|
||||
public class ReadAsset : Activity
|
||||
{
|
||||
protected override void OnCreate (Bundle bundle)
|
||||
{
|
||||
base.OnCreate (bundle);
|
||||
|
||||
InputStream input = Assets.Open ("my_asset.txt");
|
||||
}
|
||||
}
|
||||
|
||||
Additionally, some Android functions will automatically load asset files:
|
||||
|
||||
Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
|
|
@ -0,0 +1,108 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{2231BC08-BD18-4E72-B941-FB109154D1C3}</ProjectGuid>
|
||||
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<TemplateGuid>{c9e5eea5-ca05-42a1-839b-61506e0a37df}</TemplateGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>BottomTabbedPage.Droid</RootNamespace>
|
||||
<AssemblyName>BottomTabbedPage.Android</AssemblyName>
|
||||
<AndroidApplication>True</AndroidApplication>
|
||||
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
|
||||
<AndroidResgenClass>Resource</AndroidResgenClass>
|
||||
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
||||
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
|
||||
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
||||
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
|
||||
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug</OutputPath>
|
||||
<DefineConstants>DEBUG;</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AndroidLinkMode>None</AndroidLinkMode>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release</OutputPath>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AndroidManagedSymbols>true</AndroidManagedSymbols>
|
||||
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Android" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Xamarin.Forms" Version="3.1.0.583944" />
|
||||
<PackageReference Include="Xamarin.Android.Support.Design" Version="27.0.2" />
|
||||
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="27.0.2" />
|
||||
<PackageReference Include="Xamarin.Android.Support.v4" Version="27.0.2" />
|
||||
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="27.0.2" />
|
||||
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="27.0.2" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MainActivity.cs" />
|
||||
<Compile Include="Resources\Resource.Designer.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\AboutResources.txt" />
|
||||
<None Include="Assets\AboutAssets.txt" />
|
||||
<None Include="Properties\AndroidManifest.xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\layout\Tabbar.axml" />
|
||||
<AndroidResource Include="Resources\layout\Toolbar.axml" />
|
||||
<AndroidResource Include="Resources\values\styles.xml" />
|
||||
<AndroidResource Include="Resources\values\colors.xml" />
|
||||
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon.xml" />
|
||||
<AndroidResource Include="Resources\mipmap-anydpi-v26\icon_round.xml" />
|
||||
<AndroidResource Include="Resources\mipmap-hdpi\Icon.png" />
|
||||
<AndroidResource Include="Resources\mipmap-hdpi\launcher_foreground.png" />
|
||||
<AndroidResource Include="Resources\mipmap-mdpi\Icon.png" />
|
||||
<AndroidResource Include="Resources\mipmap-mdpi\launcher_foreground.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xhdpi\Icon.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xhdpi\launcher_foreground.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xxhdpi\Icon.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xxhdpi\launcher_foreground.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xxxhdpi\Icon.png" />
|
||||
<AndroidResource Include="Resources\mipmap-xxxhdpi\launcher_foreground.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Resources\drawable-hdpi\" />
|
||||
<Folder Include="Resources\drawable-xhdpi\" />
|
||||
<Folder Include="Resources\drawable-xxhdpi\" />
|
||||
<Folder Include="Resources\drawable-xxxhdpi\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\BottomTabbedPage\BottomTabbedPage.csproj">
|
||||
<Project>{6943403C-12ED-4F39-97E6-C16BDE3E5128}</Project>
|
||||
<Name>BottomTabbedPage</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable\favorites_icon.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable\settings_icon.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<AndroidResource Include="Resources\drawable\home_icon.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
||||
</Project>
|
|
@ -0,0 +1,22 @@
|
|||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Android.OS;
|
||||
|
||||
namespace BottomTabbedPage.Droid
|
||||
{
|
||||
[Activity(Label = "BottomTabbedPage", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
|
||||
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
|
||||
{
|
||||
protected override void OnCreate(Bundle bundle)
|
||||
{
|
||||
TabLayoutResource = Resource.Layout.Tabbar;
|
||||
ToolbarResource = Resource.Layout.Toolbar;
|
||||
|
||||
base.OnCreate(bundle);
|
||||
|
||||
global::Xamarin.Forms.Forms.Init(this, bundle);
|
||||
LoadApplication(new App());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.BottomTabbedPage">
|
||||
<uses-sdk android:minSdkVersion="19" android:targetSdkVersion="27" />
|
||||
<application android:label="BottomTabbedPage.Android"></application>
|
||||
</manifest>
|
|
@ -0,0 +1,34 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Android.App;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("BottomTabbedPage.Android")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("BottomTabbedPage.Android")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2014")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
// Add some common permissions, these can be removed if not needed
|
||||
[assembly: UsesPermission(Android.Manifest.Permission.Internet)]
|
||||
[assembly: UsesPermission(Android.Manifest.Permission.WriteExternalStorage)]
|
|
@ -0,0 +1,50 @@
|
|||
Images, layout descriptions, binary blobs and string dictionaries can be included
|
||||
in your application as resource files. Various Android APIs are designed to
|
||||
operate on the resource IDs instead of dealing with images, strings or binary blobs
|
||||
directly.
|
||||
|
||||
For example, a sample Android app that contains a user interface layout (main.xml),
|
||||
an internationalization string table (strings.xml) and some icons (drawable-XXX/icon.png)
|
||||
would keep its resources in the "Resources" directory of the application:
|
||||
|
||||
Resources/
|
||||
drawable-hdpi/
|
||||
icon.png
|
||||
|
||||
drawable-ldpi/
|
||||
icon.png
|
||||
|
||||
drawable-mdpi/
|
||||
icon.png
|
||||
|
||||
layout/
|
||||
main.xml
|
||||
|
||||
values/
|
||||
strings.xml
|
||||
|
||||
In order to get the build system to recognize Android resources, set the build action to
|
||||
"AndroidResource". The native Android APIs do not operate directly with filenames, but
|
||||
instead operate on resource IDs. When you compile an Android application that uses resources,
|
||||
the build system will package the resources for distribution and generate a class called
|
||||
"Resource" that contains the tokens for each one of the resources included. For example,
|
||||
for the above Resources layout, this is what the Resource class would expose:
|
||||
|
||||
public class Resource {
|
||||
public class drawable {
|
||||
public const int icon = 0x123;
|
||||
}
|
||||
|
||||
public class layout {
|
||||
public const int main = 0x456;
|
||||
}
|
||||
|
||||
public class strings {
|
||||
public const int first_string = 0xabc;
|
||||
public const int second_string = 0xbcd;
|
||||
}
|
||||
}
|
||||
|
||||
You would then use R.drawable.icon to reference the drawable/icon.png file, or Resource.layout.main
|
||||
to reference the layout/main.xml file, or Resource.strings.first_string to reference the first
|
||||
string in the dictionary file values/strings.xml.
|
7513
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/Resource.designer.cs
сгенерированный
Normal file
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/drawable/favorites_icon.png
Normal file
После Ширина: | Высота: | Размер: 596 B |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/drawable/home_icon.png
Normal file
После Ширина: | Высота: | Размер: 626 B |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/drawable/settings_icon.png
Normal file
После Ширина: | Высота: | Размер: 753 B |
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.design.widget.TabLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/sliding_tabs"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
app:tabIndicatorColor="@android:color/white"
|
||||
app:tabGravity="fill"
|
||||
app:tabMode="fixed" />
|
|
@ -0,0 +1,9 @@
|
|||
<android.support.v7.widget.Toolbar
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attr/colorPrimary"
|
||||
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"
|
||||
android:popupTheme="@style/ThemeOverlay.AppCompat.Light" />
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/launcher_background" />
|
||||
<foreground android:drawable="@mipmap/launcher_foreground" />
|
||||
</adaptive-icon>
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@color/launcher_background" />
|
||||
<foreground android:drawable="@mipmap/launcher_foreground" />
|
||||
</adaptive-icon>
|
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-hdpi/Icon.png
Normal file
После Ширина: | Высота: | Размер: 4.6 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-hdpi/launcher_foreground.png
Normal file
После Ширина: | Высота: | Размер: 11 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-mdpi/icon.png
Normal file
После Ширина: | Высота: | Размер: 2.7 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-mdpi/launcher_foreground.png
Normal file
После Ширина: | Высота: | Размер: 6.3 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xhdpi/Icon.png
Normal file
После Ширина: | Высота: | Размер: 6.9 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xhdpi/launcher_foreground.png
Normal file
После Ширина: | Высота: | Размер: 18 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xxhdpi/Icon.png
Normal file
После Ширина: | Высота: | Размер: 12 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xxhdpi/launcher_foreground.png
Normal file
После Ширина: | Высота: | Размер: 33 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xxxhdpi/Icon.png
Normal file
После Ширина: | Высота: | Размер: 19 KiB |
Двоичные данные
BottomTabbedPage/BottomTabbedPage/BottomTabbedPage.Android/Resources/mipmap-xxxhdpi/launcher_foreground.png
Normal file
После Ширина: | Высота: | Размер: 51 KiB |
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="launcher_background">#FFFFFF</color>
|
||||
<color name="colorPrimary">#3F51B5</color>
|
||||
<color name="colorPrimaryDark">#303F9F</color>
|
||||
<color name="colorAccent">#FF4081</color>
|
||||
</resources>
|
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<resources>
|
||||
|
||||
<style name="MainTheme" parent="MainTheme.Base">
|
||||
</style>
|
||||
<!-- Base theme applied no matter what API -->
|
||||
<style name="MainTheme.Base" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!--If you are using revision 22.1 please use just windowNoTitle. Without android:-->
|
||||
<item name="windowNoTitle">true</item>
|
||||
<!--We will be using the toolbar so no need to show ActionBar-->
|
||||
<item name="windowActionBar">false</item>
|
||||
<!-- Set theme colors from http://www.google.com/design/spec/style/color.html#color-color-palette -->
|
||||
<!-- 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>
|
||||
<!-- colorAccent is used as the default value for colorControlActivated
|
||||
which is used to tint widgets -->
|
||||
<item name="colorAccent">#FF4081</item>
|
||||
<!-- You can also set colorControlNormal, colorControlActivated
|
||||
colorControlHighlight and colorSwitchThumbNormal. -->
|
||||
<item name="windowActionModeOverlay">true</item>
|
||||
|
||||
<item name="android:datePickerDialogTheme">@style/AppCompatDialogStyle</item>
|
||||
</style>
|
||||
|
||||
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
|
||||
<item name="colorAccent">#FF4081</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Application xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="BottomTabbedPage.App">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -0,0 +1,32 @@
|
|||
using BottomTabbedPage.Views;
|
||||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
[assembly: XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
namespace BottomTabbedPage
|
||||
{
|
||||
public partial class App : Application
|
||||
{
|
||||
public App ()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
MainPage = new MainView();
|
||||
}
|
||||
|
||||
protected override void OnStart ()
|
||||
{
|
||||
// Handle when your app starts
|
||||
}
|
||||
|
||||
protected override void OnSleep ()
|
||||
{
|
||||
// Handle when your app sleeps
|
||||
}
|
||||
|
||||
protected override void OnResume ()
|
||||
{
|
||||
// Handle when your app resumes
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Xamarin.Forms" Version="3.1.0.583944" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Update="Views\MainView.xaml">
|
||||
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="BottomTabbedPage.Views.MainView">
|
||||
<TabbedPage.Children>
|
||||
<ContentPage Title="Home"
|
||||
Icon="home_icon.png">
|
||||
<Grid>
|
||||
<Label
|
||||
HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
Text="Home"/>
|
||||
</Grid>
|
||||
</ContentPage>
|
||||
<ContentPage Title="Favorites"
|
||||
Icon="favorites_icon.png">
|
||||
<Grid>
|
||||
<Label HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
Text="Favorites" />
|
||||
</Grid>
|
||||
</ContentPage>
|
||||
<ContentPage Title="Settings"
|
||||
Icon="settings_icon.png">
|
||||
<Grid>
|
||||
<Label HorizontalOptions="Center"
|
||||
VerticalOptions="Center"
|
||||
Text="Settings" />
|
||||
</Grid>
|
||||
</ContentPage>
|
||||
</TabbedPage.Children>
|
||||
</TabbedPage>
|
|
@ -0,0 +1,17 @@
|
|||
using Xamarin.Forms;
|
||||
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
|
||||
using Xamarin.Forms.Xaml;
|
||||
|
||||
namespace BottomTabbedPage.Views
|
||||
{
|
||||
[XamlCompilation(XamlCompilationOptions.Compile)]
|
||||
public partial class MainView : Xamarin.Forms.TabbedPage
|
||||
{
|
||||
public MainView ()
|
||||
{
|
||||
InitializeComponent ();
|
||||
|
||||
On<Xamarin.Forms.PlatformConfiguration.Android>().SetToolbarPlacement(ToolbarPlacement.Bottom);
|
||||
}
|
||||
}
|
||||
}
|