Android samples download
Use this sample to learn how to use the new CardView and RecyclerView widgets introduced with Android 5. For the complete set of Xamarin Android sample apps and code demos see All Xamarin.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Please rate your experience Yes No. Any additional feedback? Flash Card Pager This sample demonstrates how to use ViewPager and PagerTabStrip together to implement an app that presents a series of math problems on flash cards. Fragments Fragments are self-contained, modular components that are used to help address the complexity of writing applications that may run on screens of different sizes.
Use the code samples below to learn about Android 8. Note: These downloadable projects are designed for use with Gradle and Android Studio. It includes implementations of client Activities that want to be autofilled, and a Service that can provide autofill data to those Activities. Get it on GitHub: Java Kotlin. The sample plays a video. The video keeps on playing when the app is turned into Picture-in-Picture mode. On Picture-in-Picture screen, the app shows an action item to pause or resume the video.
DownloadableFonts - This sample demonstrates how to use the Downloadable Fonts feature introduced in Android 8. Downloadable Fonts allows apps to request a certain font from a provider, instead of bundling it or downloading it themselves. This means there is no need to independently bundle the font as an asset. You can use either bundled or downloadable emoji fonts. This sample shows both usages.