Xamarin bindings for Android Support libraries - For AndroidX see https://github.com/xamarin/AndroidX
Перейти к файлу
Redth efa8c413d6 XBD ItemID’s must not have multiple - in them
So if we have a case like:  26.0.0-alpha1, it would create an ItemID like `supportv4-26.0.0-alpha1` which is not allowed.  Instead we’ll replace the verison’s - with _ to create `supportv4-26.0.0_alpha1`
2017-05-17 06:55:44 -07:00
.github Updates for .NET Foundation. 2016-04-26 22:49:24 -04:00
animated-vector-drawable Remove redundant import in sample 2017-04-04 16:16:13 -04:00
component Updates for .NET Foundation. 2016-04-26 22:49:24 -04:00
constraint-layout Bump constraint-layout to latest beta 2017-04-03 16:40:57 -04:00
constraint-layout-solver Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
customtabs Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
design Bring in removed internal class 2017-04-05 10:01:22 -04:00
dynamic-animation Make everything depened on Annotations 2017-04-06 16:33:54 -04:00
exifinterface Make everything depened on Annotations 2017-04-06 16:33:54 -04:00
icons Add generic icon for new nuget 2017-03-28 16:13:07 -04:00
instantvideo Add new libs from 26.0.0-alpha1 2017-05-17 06:06:27 -07:00
percent Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
recommendation Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-annotations Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-compat Fix bindings for 26.0.0-alpha1 2017-05-17 06:06:14 -07:00
support-core-ui Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-core-utils Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-fragment Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-media-compat Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
support-tv-provider Add new libs from 26.0.0-alpha1 2017-05-17 06:06:27 -07:00
tests Added an app project for running tests 2017-04-03 14:42:01 -04:00
transition Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
util Bump to 25.3.1 sdk version and add new bindings 2017-03-28 15:07:34 -04:00
v4 Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-appcompat Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-cardview Make everything depened on Annotations 2017-04-06 16:33:54 -04:00
v7-gridlayout Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-mediarouter Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-palette Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-preference Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v7-recyclerview Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v8-renderscript Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v13 Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v14-preference Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
v17-leanback Fix bindings for 26.0.0-alpha1 2017-05-17 06:06:14 -07:00
v17-preference-leanback Fix incorrect icon url’s in nuspecs 2017-03-28 16:15:05 -04:00
vector-drawable Correct previous change to include wrong targets 2017-04-06 21:29:33 -04:00
wearable Add new libs from 26.0.0-alpha1 2017-05-17 06:06:27 -07:00
.gitignore Don’t exclude template.targets files 2017-03-22 14:30:59 -04:00
AndroidSupport.TypeForwarders.sln add genapi actions to the build script 2016-09-20 20:56:56 -04:00
AndroidSupport.sln Add new libs from 26.0.0-alpha1 2017-05-17 06:06:27 -07:00
LICENSE.md Updates for .NET Foundation. 2016-04-26 22:49:24 -04:00
Metadata.generated.xml Update generated metadata parameter name fixups 2017-04-06 16:34:46 -04:00
README.md Updates for .NET Foundation. 2016-04-26 22:49:24 -04:00
THIRD-PARTY-NOTICES Added notices file for sample content 2016-10-07 09:48:45 -04:00
build.cake XBD ItemID’s must not have multiple - in them 2017-05-17 06:55:44 -07:00
build.ps1 Some bootstrapper fixes for windows 2016-10-11 16:43:38 -04:00
build.sh Fix cake to specific working version 2016-10-05 12:15:07 -04:00
cake.packages.config Bump cake version used for builds 2017-01-31 15:11:58 -05:00
template.targets Added custom error for failed partial zip download 2017-01-31 15:07:39 -05:00

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