am 843fe451: am e0b0d9a2: am 7e522af6: Merge "docs: Move the L-Developer Preview samples page to the Developer Samples area" into lmp-dev
* commit '843fe4512746ef00b960e95aba3858d8a33897a0': docs: Move the L-Developer Preview samples page to the Developer Samples area
This commit is contained in:
BIN
docs/html/samples/images/ActivitySceneTransitionBasic.png
Normal file
BIN
docs/html/samples/images/ActivitySceneTransitionBasic.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
BIN
docs/html/samples/images/ActivitySceneTransitionBasic@2x.png
Normal file
BIN
docs/html/samples/images/ActivitySceneTransitionBasic@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 300 KiB |
BIN
docs/html/samples/images/BasicManagedProfile.png
Normal file
BIN
docs/html/samples/images/BasicManagedProfile.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
BIN
docs/html/samples/images/BasicManagedProfile@2x.png
Normal file
BIN
docs/html/samples/images/BasicManagedProfile@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
BIN
docs/html/samples/images/JobSchedulerSample.png
Normal file
BIN
docs/html/samples/images/JobSchedulerSample.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
BIN
docs/html/samples/images/JobSchedulerSample@2x.png
Normal file
BIN
docs/html/samples/images/JobSchedulerSample@2x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 127 KiB |
@@ -1,5 +1,5 @@
|
||||
page.title=Samples
|
||||
page.tags=samples,examples,code
|
||||
page.tags="examples","code"
|
||||
|
||||
@jd:body
|
||||
|
||||
|
||||
237
docs/html/samples/new/index.jd
Normal file
237
docs/html/samples/new/index.jd
Normal file
@@ -0,0 +1,237 @@
|
||||
page.title=What's New
|
||||
|
||||
@jd:body
|
||||
|
||||
<p>The following code samples were recently published for the L Developer Preview. You can
|
||||
download them in the Android SDK Manager under the <b>SDK Samples</b> component
|
||||
for the L Developer Preview.</p>
|
||||
|
||||
<p class="note">
|
||||
<strong>Note:</strong> At this time, the downloadable projects are designed
|
||||
for use with Gradle and Android Studio.
|
||||
</p>
|
||||
|
||||
|
||||
<h3 id="BasicManagedProfile">BasicManagedProfile</h3>
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="{@docRoot}samples/images/BasicManagedProfile.png"
|
||||
srcset="{@docRoot}samples/images/BasicManagedProfile@2x.png 2x"
|
||||
alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure 1.</strong> The BasicManagedProfile sample app.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>This sample demonstrates how to create a managed profile. You can also:</p>
|
||||
<ul>
|
||||
<li>Enable or disable other apps, and set restrictions on them.</li>
|
||||
<li>Configure intents to be forwarded between the primary account and the
|
||||
managed profile.</li>
|
||||
<li>Wipe all the data associated with the managed profile.</li>
|
||||
</ul>
|
||||
|
||||
<p class="note"><strong>Note:</strong> There can be only one managed profile on
|
||||
a device at a time.</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-BasicManagedProfile">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="Camera2Basic">Camera2Basic</h3>
|
||||
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>This sample demonstrates the basic use of the Camera2 API. The sample code
|
||||
demonstrates how you can display camera preview and take pictures.</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-Camera2Basic">Get it on GitHub</a></p>
|
||||
|
||||
|
||||
<h3 id="Camera2Video">Camera2Video</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>This sample demonstrates how to record video using the Camera2 API.</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-Camera2Video">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="ActivitySceneTransitionBasic">ActivitySceneTransitionBasic</h3>
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="{@docRoot}samples/images/ActivitySceneTransitionBasic.png"
|
||||
srcset="{@docRoot}samples/images/ActivitySceneTransitionBasic@2x.png 2x"
|
||||
alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure 2.</strong> The ActivitySceneTransitionBasic sample app.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p> This sample demonstrates how to the use {@link android.app.Activity} scene
|
||||
transitions when transitioning from one activity to another. Uses a combination
|
||||
of <code>moveImage</code> and <code>changeBounds</code> to nicely transition
|
||||
from a grid of images to an activity with a large image and detail text. </p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-ActivitySceneTransition">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="ElevationBasic">ElevationBasic</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample demonstrates two alternative ways to move a view in the z-axis:</p>
|
||||
|
||||
<ul>
|
||||
<li>With a fixed elevation, using XML.</li>
|
||||
<li>Raising the elevation when the user taps on it, using
|
||||
<code>setTranslationZ()</code>.</li>
|
||||
</ul>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-ElevationBasic">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="ElevationDrag">ElevationDrag</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>This sample demonstrates a drag and drop action on different shapes.
|
||||
Elevation and z-translation are used to render the shadows. The views are
|
||||
clipped using different outlines.</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-ElevationDrag">Get it on GitHub</a></p>
|
||||
|
||||
|
||||
<h3 id="ClippingBasic">ClippingBasic</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample demonstrates clipping on a {@link android.view.View}.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-ClippingBasic">Get it on GitHub</a></p>
|
||||
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="{@docRoot}samples/images/JobSchedulerSample.png"
|
||||
srcset="{@docRoot}samples/images/JobSchedulerSample@2x.png 2x"
|
||||
alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure 3.</strong> The JobSchedulerSample sample app.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<h3 id="GameControllerSample">GameControllerSample</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample implements a multi-player game, demonstrating game controller input
|
||||
handling.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/androidtv-GameController">Get it on GitHub</a></p>
|
||||
|
||||
|
||||
<h3 id="Visual-Game-Controller">Visual-Game-Controller</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample displays events received from a game controller shown on the screen.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/androidtv-VisualGameController">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="AndroidTVLeanbackSample">AndroidTVLeanbackSample</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample demonstrates use of the Android TV Leanback Support Library.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/androidtv-Leanback">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="JobSchedulerSample">JobSchedulerSample</h3>
|
||||
|
||||
<p>
|
||||
This sample app allows the user to schedule jobs through the UI, and shows
|
||||
visual cues when the jobs are executed.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-JobScheduler">Get it on GitHub</a></p>
|
||||
|
||||
<h3 id="NavigationDrawerSample">NavigationDrawerSample</h3>
|
||||
<!--
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<p>
|
||||
This sample illustrates a common usage of the Android support library's
|
||||
{@link android.support.v4.widget.DrawerLayout} widget.
|
||||
</p>
|
||||
|
||||
<p><a href="http://github.com/googlesamples/android-NavigationDrawer">Get it on GitHub</a></p>
|
||||
<!--
|
||||
<h3 id="">SampleName</h3>
|
||||
|
||||
<div class="figure" style="width:220px">
|
||||
<img src="" srcset="@2x.png 2x" alt="" height="375" />
|
||||
<p class="img-caption">
|
||||
<strong>Figure n.</strong> Single sentence summarizing the figure.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
**description**
|
||||
</p>
|
||||
-->
|
||||
@@ -10,5 +10,10 @@
|
||||
<span class="en">About the Samples</span></a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-section">
|
||||
<div class="nav-section-header empty"><a href="<?cs var:toroot ?>samples/new/index.html">
|
||||
<span class="en">What's New</span></a>
|
||||
</div>
|
||||
</li>
|
||||
<?cs var:samples_toc_tree ?>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user