From ac21dbb447158c7c75e154277c5f5f19ed456315 Mon Sep 17 00:00:00 2001 From: Trevor Johns Date: Fri, 17 Oct 2014 09:00:38 -0700 Subject: [PATCH] Docs: Update "What's New" for L Final Preview samples Change-Id: Idc414ffa3b391212136601bd0f65dbcab07efe1e --- docs/html/samples/new/index.jd | 113 +++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) diff --git a/docs/html/samples/new/index.jd b/docs/html/samples/new/index.jd index ca4477567511b..523b922c376ed 100644 --- a/docs/html/samples/new/index.jd +++ b/docs/html/samples/new/index.jd @@ -235,3 +235,116 @@ This sample illustrates a common usage of the Android support library's **description**

--> + +

FloatingActionButtonBasic

+ +

+This sample shows the two sizes of Floating Action Buttons and how to interact with +them. +

+ +

Get it on GitHub

+ +

RevealEffectBasic

+ +

+A sample demonstrating how to perform a reveal effect for UI elements within the Material Design framework. +

+ +

Get it on GitHub

+ +

RecyclerView

+ +

+Demonstration of using RecyclerView with a LayoutManager to create a vertical ListView. +

+ +

Get it on GitHub

+ +

CardView

+ +

+This sample demonstrates how to use the CardView UI widget introduced in Android 5.0, using the support library for backward compatibility. +

+ +

Get it on GitHub

+ +

LNotifications

+ +

+This sample demonstrates how new features for notifications introduced in Android 5.0 +are used such as Heads-Up notifications, visibility, people, category and priority +metadata.

+

Get it on GitHub

+ +

DrawableTinting

+ +

Sample that shows applying tinting and color filters to Drawables both programmatically +and as Drawable resources in XML.

+

Tinting is set on a nine-patch drawable through the "tint" and "tintMode" parameters. +A color state list is referenced as the tint color, which defines colors for different +states of a View (for example disabled/enabled, focused, pressed or selected).

+

Programmatically, tinting is applied to a Drawable through its "setColorFilter" method, +with a reference to a color and a PorterDuff blend mode. The color and blend mode can be +changed from the UI to see the effect of different options.

+ +

Get it on GitHub

+ +

Interpolator

+ +

+This sample demonstrates the use of animation interpolators and path animations for +Material Design. It shows how an ObjectAnimator is used to animate two properties of a +view (scale X and Y) along a path. +

+ +

Get it on GitHub

+ +

HdrViewfinder

+ +

+This demo implements a real-time high-dynamic-range camera viewfinder, by alternating +the sensor's exposure time between two exposure values on even and odd frames, and then +compositing together the latest two frames whenever a new frame is captured. +

+ +

Get it on GitHub

+ +

DocumentCentricApps

+ +

+This sample shows the basic usage of the new "Document Centric Apps" API. +It let's you create new documents in the system overview menu and persists its +state through reboots. If "Task per document" is checked a new task will be +created for every new document in the overview menu. +

+ +

Get it on GitHub

+ +

DocumentCentricRelinquishIdentity

+ +

+This sample shows how to relinquish identity to activities above it in the task stack. +

+ +

Get it on GitHub

+ +

AppRestrictionEnforcer

+ +

+This sample demonstrates how to set restrictions to other apps as a profile owner. +Use AppRestrictionSchema sample as a app with available restrictions. +

+ +

Get it on GitHub

+ +

AppRestrictionSchema

+ +

+This sample shows how to use app restrictions. This application has one boolean +restriction with a key "can_say_hello" that defines whether the only feature of this +app (press the button to show "Hello" message) is enabled or disabled. Use +AppRestrictionEnforcer sample to toggle the restriction. +

+ +

Get it on GitHub