No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Updates for .NET Foundation. Apr 27, 2016
animated-vector-drawable Use XAJavaInterop1 Codegen target Jun 3, 2018
appcompat-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
arch-core Use XAJavaInterop1 Codegen target Jun 3, 2018
arch-lifecycle Use XAJavaInterop1 Codegen target Jun 3, 2018
cardview-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
component Updates for .NET Foundation. Apr 27, 2016
constraint-layout-solver Fully qualify attribute name Nov 30, 2017
constraint-layout Use XAJavaInterop1 Codegen target Jun 3, 2018
customtabs Use XAJavaInterop1 Codegen target Jun 3, 2018
design Use XAJavaInterop1 Codegen target Jun 3, 2018
exifinterface Use XAJavaInterop1 Codegen target Jun 3, 2018
gridlayout-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
icons Add annotations icon Dec 6, 2017
leanback-v17 Use XAJavaInterop1 Codegen target Jun 3, 2018
mediarouter-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
palette-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
percent Use XAJavaInterop1 Codegen target Jun 3, 2018
preference-leanback-v17 Use XAJavaInterop1 Codegen target Jun 3, 2018
preference-v14 Use XAJavaInterop1 Codegen target Jun 3, 2018
preference-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
recommendation Use XAJavaInterop1 Codegen target Jun 3, 2018
recyclerview-v7 Use XAJavaInterop1 Codegen target Jun 3, 2018
renderscript-v8 Use XAJavaInterop1 Codegen target Jun 3, 2018
support-annotations Use XAJavaInterop1 Codegen target Jun 3, 2018
support-compat Fix nuspec dep reference version placeholder Jun 4, 2018
support-content Use XAJavaInterop1 Codegen target Jun 3, 2018
support-core-ui Use XAJavaInterop1 Codegen target Jun 3, 2018
support-core-utils Use XAJavaInterop1 Codegen target Jun 3, 2018
support-dynamic-animation Disable old binding workarounds Jun 4, 2018
support-emoji-appcompat Use XAJavaInterop1 Codegen target Jun 3, 2018
support-emoji-bundled Use XAJavaInterop1 Codegen target Jun 3, 2018
support-emoji Use XAJavaInterop1 Codegen target Jun 3, 2018
support-fragment Added `AndroidFragmentType` msbuild property Jun 11, 2018
support-media-compat Use XAJavaInterop1 Codegen target Jun 3, 2018
support-tv-provider Use XAJavaInterop1 Codegen target Jun 3, 2018
support-v13 Use XAJavaInterop1 Codegen target Jun 3, 2018
support-v4 Use XAJavaInterop1 Codegen target Jun 3, 2018
support-vector-drawable Use XAJavaInterop1 Codegen target Jun 3, 2018
tests Remove wear from tests for now Oct 31, 2017
transition Use XAJavaInterop1 Codegen target Jun 3, 2018
util Updated droiddocs util Aug 22, 2017
wear Use XAJavaInterop1 Codegen target Jun 3, 2018
.gitignore Fix ignore pattern for generated files Nov 30, 2017
AndroidSupport.TypeForwarders.sln Bindings now use .aar’s Jun 21, 2017
AndroidSupport.sln Fix a sln formatting error and template path typo Jan 11, 2018
External-Dependency-Info.txt Added notices to constraint layout nuspec Oct 10, 2017
LICENSE.md Updates for .NET Foundation. Apr 27, 2016
Metadata.common.xml Add common metadata file to bindings Sep 21, 2017
Metadata.generated.xml Remove auto generated entries conflicting Sep 15, 2017
README.md - Add bindnig project for android.arch.core:Runtime Dec 27, 2017
THIRD-PARTY-NOTICES Added notices file for sample content Oct 7, 2016
build.cake More docs download fixes Jul 20, 2018
build.ps1 Fix bootstrapperto use cake.pacakges.config Jul 3, 2018
build.sh Use local cake.packages.config Jun 3, 2018
cake.packages.config Use local cake.packages.config Jun 3, 2018
nuget.cake Fix nuget fat package ‘version’ Aug 27, 2018
template.targets .targets files now don’t need XBD Jun 21, 2017

README.md

Xamarin Component for Android Support Library

Xamarin creates and maintains Xamarin.Android bindings for the Google Android Support Libraries, including:

  • Design
  • Animated Vector Drawable
  • Vector Drawable
  • Custom Tabs
  • Recommendation
  • Support v4
  • Support v13
  • Support v7 AppCompat
  • Support v7 CardView
  • Support v7 GridLayout
  • Support v7 MediaRouter
  • Support v7 Palette
  • Support v7 Preference
  • Support v7 RecyclerView
  • Support v8 RenderScript
  • Support v14 Preference
  • Support v17 Leanback
  • Support v17 Preference Leanback

Building

Prerequisites

  • Mac OSX 10.11 or higher / Windows 10 or higher (experimental support only)
  • Xamarin.Android 6.0 or higher
  • Mono 4.3 or higher
  • Java JDK 1.7 or higher
  • Android SDK with API Levels 15, 16, 17, 18, 21, 23

Build Scripts

The build script for this project uses Cake. To run the build, you can use one of the bootstrapper files either for Mac or Windows:

Mac:

sh build.sh --target=libs

Windows (experimental support only):

NOTE: Windows build support is still experimental. You may need to first build the externals target, then open the AndroidSupport.sln in Visual Studio, rebuild it, build the clean target, and then continue on normally building whichever targets you like. This will ensure the appropriate files are downloaded and cached in your user's AppData folder.

powershell .\build.ps1 -Target libs

The bootstrapper script will automatically download Cake.exe and all the required tools and files into the ./tools/ folder.

The following targets can be specified:

  • libs builds the class library bindings (depends on externals)
  • externals downloads the external dependencies
  • samples builds all of the samples (depends on libs)
  • nuget builds the nuget packages (depends on libs)
  • component builds the xamarin components (depends on samples and nuget)
  • clean cleans up everything

NOTE: The externals build task may take awhile to run as it downloads several large dependencies.

You may want to consider passing --verbosity diagnostic (or -Verbosity diagnostic on Windows) to the bootstrapper to enable more verbose output, including downloading progress.

Working in Visual Studio / Xamarin Studio

Before the .sln files will compile in Visual Studio or Xamarin Studio, the external dependencies need to be downloaded. This can be done by running the build.sh or build.ps1 with the target externals. After the externals are setup, the .sln files should compile in an IDE.

License

The license for this repository is specified in LICENSE.md

The externals build task downloads some external dependencies from Google which are licensed under and subject to the terms of Android Software Development Kit License Agreement

Contribution Guidelines

The Contribution Guidelines for this repository are listed in CONTRIBUTING.md

.NET Foundation

This project is part of the .NET Foundation