Recommendation is to provide a 5% overscan margin -- updating docs
to reflect this. Updated example diagram (manually edited, image
source not available). Added guidance on working with margins and
layout. Updated sample layout to include background root layout and
nested layout with overscan safe margin (tested with test app).
Bug: 18550276
Change-Id: I71b83b9a348385d68a7aacdce17f51a93227694d
We've moved the IAB sample to GitHub so just directing the docs to use that
location as well.
Also included a reference to the YouTube video on this subject.
Bug: 24603614,25080797
Change-Id: Ia7d2a3505255fc1ad1449e1798482b1e3be17991
Spelling fix, I'll verify it with a build then go ahead and +2
it. I'll leave the stage up until DAC is updated... (See first
comment for stage location.)
bug: 25382224
Change-Id: Ia7127c325890ad205463d9c92c1edb990f24c661
Removed the now-obsolete ActionBar API guide; it's been
superseded by the AppBar training class
(http://developer.android.com/training/appbar/ )
Changed the most important ActionBar links and references to point to
the AppBar docs (or some other appropriate page).
A separate CL will set up redirects from the ActionBar API guide.
See first comment for doc stage location.
bug: 25194804
Change-Id: I0859ea1712971fcf2f6cf131b2a5221b5bf3ea44
The code snippet was copied straight from the MediaBrowserService
sample app. Since the code snippet consisted almost entirely of
calls to *other* methods in that sample app, the snippet wasn't
very helpful--and it wouldn't be helpful to add a lot of verbiage
explaining the sample app. So instead, I made the code more generic
(e.g. comments saying "You need to write code to check for XYZ")
followed by a link to the sample app.
Fixed other miscellaneous problems in the code snippets while we had
the file open.
See first comment for doc stage location.
bug: 20008288
Change-Id: Ic080ebffcc43e332ec3335b730c07ef5f8b64fa9
Replaces the existing action views/action providers section in the
(soon to be removed) "ActionBar API Guide" page. Builds on
http://ag/730414 (which covers the basic app bar topics).
Some of the action providers doc is being moved into the
Javadoc reference for appropriate classes--that's being tracked
with CL http://ag/748902
See comment on patch set 2 for doc stage location.
Change-Id: Ia62b5155d7f67dc8922fc11917a12a957bf27fb1
Fixing erroneous putString() call, replaced with putBitmap().
Confirmed in search that error is not present elsewhere in the docs.
Bug: 19129506
Change-Id: I00152480cbdcd1b655c093e789a0462d80d5f829
As per Robert Anderberg's recommendation, removed the manifest example that
doesn't include android:required="false" and updated description text to
indicate the example works with apps that "support" a game controller rather
than "require". Updated Robert's suggestion with more concise version from
Andrew's suggestion. Note that we're not adding info on specifying
android:required="true" because this causes the app to not be installable on
any devices (because controllers aren't currently considered part of a device,
so it ends up looking like no devices have controllers at install time)
Bug: 22727418
Bug: 24098562
Change-Id: Ie4dd02d5599b9ffda53e46dc5af4765d888e81a4