aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/DrawableTinting/README.md6
-rw-r--r--ui/Interpolator/Application/README-fragmentview.txt37
-rw-r--r--ui/Interpolator/README.md6
-rw-r--r--ui/accessibility/BasicAccessibility/README.md6
-rw-r--r--ui/actionbar/DoneBar/README.md6
-rw-r--r--ui/actionbarcompat/ActionBarCompat-Basic/README.md6
-rw-r--r--ui/actionbarcompat/ActionBarCompat-ListPopupMenu/README.md6
-rw-r--r--ui/actionbarcompat/ActionBarCompat-ShareActionProvider/README.md8
-rw-r--r--ui/actionbarcompat/ActionBarCompat-Styled/README.md12
-rw-r--r--ui/activityscenetransition/ActivitySceneTransitionBasic/README.md6
-rw-r--r--ui/graphics/DisplayingBitmaps/README.md6
-rw-r--r--ui/holo/BorderlessButtons/README.md6
-rw-r--r--ui/transition/BasicTransition/README.md6
-rw-r--r--ui/transition/CustomTransition/README.md6
-rw-r--r--ui/views/Elevation/ElevationBasic/Application/README-fragmentview.txt37
-rw-r--r--ui/views/Elevation/ElevationBasic/README.md6
-rw-r--r--ui/views/HorizontalPaging/README.md6
-rw-r--r--ui/views/NavigationDrawer/README.md6
-rw-r--r--ui/views/RecyclerView/Application/README-fragmentview.txt37
-rw-r--r--ui/views/RecyclerView/README.md6
-rw-r--r--ui/views/SlidingTabs/SlidingTabsBasic/README.md6
-rw-r--r--ui/views/SlidingTabs/SlidingTabsColors/README.md6
-rw-r--r--ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/README.md6
-rw-r--r--ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/README.md6
-rw-r--r--ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/README.md6
-rw-r--r--ui/views/TextSwitcher/README.md6
-rw-r--r--ui/window/AdvancedImmersiveMode/Application/build.gradle59
-rw-r--r--ui/window/AdvancedImmersiveMode/README.md6
-rw-r--r--ui/window/BasicImmersiveMode/README.md6
-rw-r--r--ui/window/ImmersiveMode/README.md6
-rw-r--r--ui/window/MultiWindowPlayground/.google/packaging.yaml2
-rw-r--r--ui/window/MultiWindowPlayground/Application/build.gradle6
-rw-r--r--ui/window/MultiWindowPlayground/README.md5
33 files changed, 259 insertions, 88 deletions
diff --git a/ui/DrawableTinting/README.md b/ui/DrawableTinting/README.md
index 8b5c10bd..bfc7f933 100644
--- a/ui/DrawableTinting/README.md
+++ b/ui/DrawableTinting/README.md
@@ -16,8 +16,8 @@ changed from the UI to see the effect of different options.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -41,7 +41,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/Interpolator/Application/README-fragmentview.txt b/ui/Interpolator/Application/README-fragmentview.txt
new file mode 100644
index 00000000..38d903f0
--- /dev/null
+++ b/ui/Interpolator/Application/README-fragmentview.txt
@@ -0,0 +1,37 @@
+<!--
+ Copyright 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+Steps to implement FragmentView template:
+-in template-params.xml.ftl:
+ -add the following line to common imports
+ <common src="activities"/>
+
+-Add a Fragment to show behavior. In your MainActivity.java class, it will reference a Fragment
+ called (yourProjectName)Fragment.java. Create that file in your project, using the "main" source
+ folder instead of "common" or "templates".
+ For instance, if your package name is com.example.foo, create the file
+ src/main/java/com/example/foo/FooFragment.java
+
+
+-Within this fragment, make sure that the onCreate method has the line
+ "setHasOptionsMenu(true);", to enable the fragment to handle menu events.
+
+-In order to override menu events, override onOptionsItemSelected.
+
+-refer to sampleSamples/fragmentViewSample for a reference implementation of a
+project built on this template.
+
+
diff --git a/ui/Interpolator/README.md b/ui/Interpolator/README.md
index 44d86674..69a33660 100644
--- a/ui/Interpolator/README.md
+++ b/ui/Interpolator/README.md
@@ -23,8 +23,8 @@ can also define the duration of the animation.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -53,7 +53,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/accessibility/BasicAccessibility/README.md b/ui/accessibility/BasicAccessibility/README.md
index 5f470afe..ce6a3399 100644
--- a/ui/accessibility/BasicAccessibility/README.md
+++ b/ui/accessibility/BasicAccessibility/README.md
@@ -20,8 +20,8 @@ description of the in-focus widget.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -50,7 +50,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/actionbar/DoneBar/README.md b/ui/actionbar/DoneBar/README.md
index 7344e711..da3b2f8e 100644
--- a/ui/actionbar/DoneBar/README.md
+++ b/ui/actionbar/DoneBar/README.md
@@ -31,8 +31,8 @@ ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.MATCH_PARENT))` on th
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -61,7 +61,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/actionbarcompat/ActionBarCompat-Basic/README.md b/ui/actionbarcompat/ActionBarCompat-Basic/README.md
index bfa27c0e..95b573ce 100644
--- a/ui/actionbarcompat/ActionBarCompat-Basic/README.md
+++ b/ui/actionbarcompat/ActionBarCompat-Basic/README.md
@@ -35,8 +35,8 @@ would otherwise be created during when `[onCreateOptionsMenu()][3]` is called.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -65,7 +65,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/README.md b/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/README.md
index 35058430..0b1b1d87 100644
--- a/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/README.md
+++ b/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/README.md
@@ -17,8 +17,8 @@ The sample uses [ListFragment][2] from the v4 support library to display the lis
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -47,7 +47,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/README.md b/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/README.md
index 664cef21..d43849ed 100644
--- a/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/README.md
+++ b/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/README.md
@@ -22,14 +22,14 @@ necessary to display a compatible Action Bar on devices running Android v2.1+.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
-------------
-<img src="screenshots/1-gridview.png" height="400" alt="Screenshot"/> <img src="screenshots/2-detail.png" height="400" alt="Screenshot"/>
+<img src="screenshots/1-image.png" height="400" alt="Screenshot"/> <img src="screenshots/2-text.png" height="400" alt="Screenshot"/>
Getting Started
---------------
@@ -52,7 +52,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/actionbarcompat/ActionBarCompat-Styled/README.md b/ui/actionbarcompat/ActionBarCompat-Styled/README.md
index bf2a0e50..88355b2c 100644
--- a/ui/actionbarcompat/ActionBarCompat-Styled/README.md
+++ b/ui/actionbarcompat/ActionBarCompat-Styled/README.md
@@ -2,16 +2,16 @@
Android ActionBarCompat-Styled Sample
===================================
-This sample shows you how to use ActionBarCompat with a customized theme. It utilizes a
+This sample shows you how to use ActionBarCompat with a customized theme. It utilizes a
split action bar when running on a device with a narrow display, and shows three tabs.
Introduction
------------
-This sample shows how to style an ActionBar using the [support library][1] on devices running
+This sample shows how to style an ActionBar using the [support library][1] on devices running
Android v2.1+ using a custom theme.
-This Activity extends from ActionBarActivity, which provides all of the function
+This Activity extends from ActionBarActivity, which provides all of the function
necessary to display a compatible Action Bar on devices running Android v2.1+.
A custom application theme and styles are defined in XML.
@@ -23,8 +23,8 @@ Assets have been generated using the ['Android Action Bar Style Generator'][2].
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -53,7 +53,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/activityscenetransition/ActivitySceneTransitionBasic/README.md b/ui/activityscenetransition/ActivitySceneTransitionBasic/README.md
index 0e930377..bc6e6313 100644
--- a/ui/activityscenetransition/ActivitySceneTransitionBasic/README.md
+++ b/ui/activityscenetransition/ActivitySceneTransitionBasic/README.md
@@ -19,8 +19,8 @@ See [Defining Custom Animations][1] for all the details on how to do this.
Pre-requisites
--------------
-- Android SDK v21
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -49,7 +49,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/graphics/DisplayingBitmaps/README.md b/ui/graphics/DisplayingBitmaps/README.md
index e47b105d..83e70a5c 100644
--- a/ui/graphics/DisplayingBitmaps/README.md
+++ b/ui/graphics/DisplayingBitmaps/README.md
@@ -20,8 +20,8 @@ in UI elements such as ViewPager and ListView/GridView.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.2
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -50,7 +50,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/holo/BorderlessButtons/README.md b/ui/holo/BorderlessButtons/README.md
index 274a00f7..18581919 100644
--- a/ui/holo/BorderlessButtons/README.md
+++ b/ui/holo/BorderlessButtons/README.md
@@ -24,8 +24,8 @@ Styles are directly applied to widgets in their XML layout definitions.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -54,7 +54,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/transition/BasicTransition/README.md b/ui/transition/BasicTransition/README.md
index 250c4de7..cd9895c6 100644
--- a/ui/transition/BasicTransition/README.md
+++ b/ui/transition/BasicTransition/README.md
@@ -33,8 +33,8 @@ take place.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -63,7 +63,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/transition/CustomTransition/README.md b/ui/transition/CustomTransition/README.md
index fd706e58..323ee365 100644
--- a/ui/transition/CustomTransition/README.md
+++ b/ui/transition/CustomTransition/README.md
@@ -32,8 +32,8 @@ TransitionManager.go(mScenes[mCurrentScene], mTransition);
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -62,7 +62,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/Elevation/ElevationBasic/Application/README-fragmentview.txt b/ui/views/Elevation/ElevationBasic/Application/README-fragmentview.txt
new file mode 100644
index 00000000..38d903f0
--- /dev/null
+++ b/ui/views/Elevation/ElevationBasic/Application/README-fragmentview.txt
@@ -0,0 +1,37 @@
+<!--
+ Copyright 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+Steps to implement FragmentView template:
+-in template-params.xml.ftl:
+ -add the following line to common imports
+ <common src="activities"/>
+
+-Add a Fragment to show behavior. In your MainActivity.java class, it will reference a Fragment
+ called (yourProjectName)Fragment.java. Create that file in your project, using the "main" source
+ folder instead of "common" or "templates".
+ For instance, if your package name is com.example.foo, create the file
+ src/main/java/com/example/foo/FooFragment.java
+
+
+-Within this fragment, make sure that the onCreate method has the line
+ "setHasOptionsMenu(true);", to enable the fragment to handle menu events.
+
+-In order to override menu events, override onOptionsItemSelected.
+
+-refer to sampleSamples/fragmentViewSample for a reference implementation of a
+project built on this template.
+
+
diff --git a/ui/views/Elevation/ElevationBasic/README.md b/ui/views/Elevation/ElevationBasic/README.md
index 22e4df62..b6981432 100644
--- a/ui/views/Elevation/ElevationBasic/README.md
+++ b/ui/views/Elevation/ElevationBasic/README.md
@@ -41,8 +41,8 @@ The elevation reverts back once the touch is removed.
Pre-requisites
--------------
-- Android SDK v21
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -71,7 +71,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/HorizontalPaging/README.md b/ui/views/HorizontalPaging/README.md
index 66a746ea..c03ba9a9 100644
--- a/ui/views/HorizontalPaging/README.md
+++ b/ui/views/HorizontalPaging/README.md
@@ -30,8 +30,8 @@ know the selected tab, so you can update your ActionBar with `setSelectedNavigat
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -60,7 +60,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/NavigationDrawer/README.md b/ui/views/NavigationDrawer/README.md
index ce9cfe2c..59bd29e7 100644
--- a/ui/views/NavigationDrawer/README.md
+++ b/ui/views/NavigationDrawer/README.md
@@ -8,8 +8,8 @@ support library.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.2
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -33,7 +33,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/RecyclerView/Application/README-fragmentview.txt b/ui/views/RecyclerView/Application/README-fragmentview.txt
new file mode 100644
index 00000000..38d903f0
--- /dev/null
+++ b/ui/views/RecyclerView/Application/README-fragmentview.txt
@@ -0,0 +1,37 @@
+<!--
+ Copyright 2013 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+Steps to implement FragmentView template:
+-in template-params.xml.ftl:
+ -add the following line to common imports
+ <common src="activities"/>
+
+-Add a Fragment to show behavior. In your MainActivity.java class, it will reference a Fragment
+ called (yourProjectName)Fragment.java. Create that file in your project, using the "main" source
+ folder instead of "common" or "templates".
+ For instance, if your package name is com.example.foo, create the file
+ src/main/java/com/example/foo/FooFragment.java
+
+
+-Within this fragment, make sure that the onCreate method has the line
+ "setHasOptionsMenu(true);", to enable the fragment to handle menu events.
+
+-In order to override menu events, override onOptionsItemSelected.
+
+-refer to sampleSamples/fragmentViewSample for a reference implementation of a
+project built on this template.
+
+
diff --git a/ui/views/RecyclerView/README.md b/ui/views/RecyclerView/README.md
index 1230c313..0b8dd9da 100644
--- a/ui/views/RecyclerView/README.md
+++ b/ui/views/RecyclerView/README.md
@@ -29,8 +29,8 @@ tapped. Use radio buttons to toggle between [LinearLayoutManager][2] and
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -59,7 +59,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/SlidingTabs/SlidingTabsBasic/README.md b/ui/views/SlidingTabs/SlidingTabsBasic/README.md
index 20831d18..644233fc 100644
--- a/ui/views/SlidingTabs/SlidingTabsBasic/README.md
+++ b/ui/views/SlidingTabs/SlidingTabsBasic/README.md
@@ -8,8 +8,8 @@ ViewPager title strip which gives continuous feedback to the user when scrolling
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -33,7 +33,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/SlidingTabs/SlidingTabsColors/README.md b/ui/views/SlidingTabs/SlidingTabsColors/README.md
index 6d5f4452..b8059c84 100644
--- a/ui/views/SlidingTabs/SlidingTabsColors/README.md
+++ b/ui/views/SlidingTabs/SlidingTabsColors/README.md
@@ -25,8 +25,8 @@ layout ID of the custom layout.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -55,7 +55,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/README.md b/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/README.md
index f38760c8..9dab7842 100644
--- a/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/README.md
+++ b/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/README.md
@@ -9,8 +9,8 @@ In this sample the View which can be refreshed is a ListView.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -34,7 +34,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/README.md b/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/README.md
index 4104a907..fadc7f5b 100644
--- a/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/README.md
+++ b/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/README.md
@@ -23,8 +23,8 @@ action from the action bar also refreshes the list.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -53,7 +53,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/README.md b/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/README.md
index 6fe1f1b1..8630de3b 100644
--- a/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/README.md
+++ b/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/README.md
@@ -10,8 +10,8 @@ contains a scrollable GridView, along with a TextView empty view.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -35,7 +35,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/views/TextSwitcher/README.md b/ui/views/TextSwitcher/README.md
index 4c4b8532..e2d239a4 100644
--- a/ui/views/TextSwitcher/README.md
+++ b/ui/views/TextSwitcher/README.md
@@ -22,8 +22,8 @@ in and out fade animations.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -52,7 +52,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/window/AdvancedImmersiveMode/Application/build.gradle b/ui/window/AdvancedImmersiveMode/Application/build.gradle
new file mode 100644
index 00000000..ebbee866
--- /dev/null
+++ b/ui/window/AdvancedImmersiveMode/Application/build.gradle
@@ -0,0 +1,59 @@
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:2.1.2'
+ }
+}
+
+apply plugin: 'com.android.application'
+
+repositories {
+ jcenter()
+}
+
+dependencies {
+ compile "com.android.support:support-v4:24.1.1"
+ compile "com.android.support:support-v13:24.1.1"
+ compile "com.android.support:cardview-v7:24.1.1"
+ compile "com.android.support:appcompat-v7:24.1.1"
+}
+
+// The sample build uses multiple directories to
+// keep boilerplate and common code separate from
+// the main sample code.
+List<String> dirs = [
+ 'main', // main sample code; look here for the interesting stuff.
+ 'common', // components that are reused by multiple samples
+ 'template'] // boilerplate code that is generated by the sample template process
+
+android {
+ compileSdkVersion 24
+ buildToolsVersion "24.0.1"
+
+ defaultConfig {
+ minSdkVersion 19
+ targetSdkVersion 24
+ }
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_7
+ targetCompatibility JavaVersion.VERSION_1_7
+ }
+
+ sourceSets {
+ main {
+ dirs.each { dir ->
+ java.srcDirs "src/${dir}/java"
+ res.srcDirs "src/${dir}/res"
+ }
+ }
+ androidTest.setRoot('tests')
+ androidTest.java.srcDirs = ['tests/src']
+
+ }
+
+}
diff --git a/ui/window/AdvancedImmersiveMode/README.md b/ui/window/AdvancedImmersiveMode/README.md
index a00087de..1e1b7936 100644
--- a/ui/window/AdvancedImmersiveMode/README.md
+++ b/ui/window/AdvancedImmersiveMode/README.md
@@ -26,8 +26,8 @@ appear.
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -56,7 +56,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/window/BasicImmersiveMode/README.md b/ui/window/BasicImmersiveMode/README.md
index 613833c5..593e72ef 100644
--- a/ui/window/BasicImmersiveMode/README.md
+++ b/ui/window/BasicImmersiveMode/README.md
@@ -19,8 +19,8 @@ SYSTEM_UI_FLAG_IMMERSIVE system ui flag. When combined with the SYSTEM_UI_FLAG_H
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots
@@ -49,7 +49,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/window/ImmersiveMode/README.md b/ui/window/ImmersiveMode/README.md
index 4002eb4c..f9c0bd9a 100644
--- a/ui/window/ImmersiveMode/README.md
+++ b/ui/window/ImmersiveMode/README.md
@@ -9,8 +9,8 @@ click the "Toggle immersive mode" button, then try swiping the bar in and out!
Pre-requisites
--------------
-- Android SDK v23
-- Android Build Tools v23.0.0
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Getting Started
@@ -34,7 +34,7 @@ submitting a pull request through GitHub. Please see CONTRIBUTING.md for more de
License
-------
-Copyright 2014 The Android Open Source Project, Inc.
+Copyright 2016 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
diff --git a/ui/window/MultiWindowPlayground/.google/packaging.yaml b/ui/window/MultiWindowPlayground/.google/packaging.yaml
index a6ca69ec..a2ac75a8 100644
--- a/ui/window/MultiWindowPlayground/.google/packaging.yaml
+++ b/ui/window/MultiWindowPlayground/.google/packaging.yaml
@@ -4,7 +4,7 @@
# This file is used by Google as part of our samples packaging process.
# End users may safely ignore this file. It has no relevance to other systems.
---
-status: DRAFT
+status: PUBLISHED
technologies: [Android]
categories: [Android N Preview]
languages: [Java]
diff --git a/ui/window/MultiWindowPlayground/Application/build.gradle b/ui/window/MultiWindowPlayground/Application/build.gradle
index 9d6d0b8e..87039df3 100644
--- a/ui/window/MultiWindowPlayground/Application/build.gradle
+++ b/ui/window/MultiWindowPlayground/Application/build.gradle
@@ -33,13 +33,13 @@ allprojects {
apply plugin: 'com.android.application'
android {
- compileSdkVersion '24'
+ compileSdkVersion 24
buildToolsVersion '23.0.3'
defaultConfig {
applicationId "com.android.multiwindowplayground"
- minSdkVersion 'N'
- targetSdkVersion 'N'
+ minSdkVersion 24
+ targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
diff --git a/ui/window/MultiWindowPlayground/README.md b/ui/window/MultiWindowPlayground/README.md
index ea73dc10..1dd616fe 100644
--- a/ui/window/MultiWindowPlayground/README.md
+++ b/ui/window/MultiWindowPlayground/README.md
@@ -47,8 +47,9 @@ Alternatively, the preferred and minimum sizes can be set in a new
Pre-requisites
--------------
-- Android SDK Preview N
-- Android Build Tools v23.0.0
+
+- Android SDK 24
+- Android Build Tools v24.0.1
- Android Support Repository
Screenshots