Bug was filed for a missing </set> tag in a code snippet; turned out
to be because the angle brackets weren't escaped, so </set> was
interpreted as HTML.
While I had it open, fixed other formatting issues (over-long lines
in a code box, weird indenting of HTML). No semantic changes, just
formatting.
I'll build and stage (see first comment for stage location) but if
it builds and looks good, I'll go ahead and submit.
bug: 25709592
Change-Id: I0ac1e74a230175fcab62021c89884f9eeabb4f97
Per bug, we should not be telling people to use
android:windowContentTransitions to specify custom transitions;
instead, they should use android:windowActivityTransitions (which
is set to 'true' by default in the Material theme).
See first comment for doc stage location.
bug: 19440221
Change-Id: I35696c595a8424eab27d73b62835ddd79e3ca109
Per bug report, the provided code doesn't draw the reveal properly.
Corrected to use the Math.hypot function to calculate beginning and
ending sizes.
See first comment for doc stage location.
bug: 25805924
Change-Id: I1eb832983ae1790262cc4c8051473f0f32115566
Per bug, emphasized that if an app targets SDK 22 or lower, it uses
the install-time permissions model even if it's running on M.
However, also added the note that an M user can *revoke* an app's
permissions after install, which can cause unpredictable behavior.
See first comment for doc stage location.
bug: 25470298
Change-Id: Ia05a1f784595e75bf7b6835dbfdeffcd458f0022
Bug: b/24062075
This changes Work Policy Controller to Device Policy Controller. This also fixes typo reported in
https://b.corp.google.com/issues/23627319#comment2.
Change-Id: I9f38e392720872ee217d4e1dc976dbd7356e5025
Settings activity is no longer supported for channel services, so
we're removing that from the docs (and the sample manifest
snippet). Note that the Setup activity is still required, and
now serves double-duty for both channel setup and channel
settings, so I adjusted the section at the end accordingly.
Added updates based on review suggestions.
Bug: 21205118
Change-Id: Ia394b83cee0cb0e7ae6caf87c9d783eb6b4e04ef
Bluetooth is supported on all Android TV devices, so removing
docs that indicate that it's unsupported. Grep'd through all
DAC docs looking for other places where we claim bluetooth isn't
supported on Android TV, and found none, so this one topic change
is the only fix needed (I believe).
Bug: 24811556
Change-Id: I075d57002657fbaf47d20ecfee02148becbb55ef
Changing code snippet to use FullWidthDetailsOverviewRowPresenter
instead of DetailsOverviewRowPresenter (which is deprecated).
Verified code snippet change by checking and building it in
Android Studio using an unrelated sample.
Bug: 25666843
Change-Id: I6db32a570757b7f8f1f848f7579b29617ffb18d6
Doc used curly quotes in some code snippets; replaced with straight
quotes. Also removed trailing spaces and made a couple of other
formatting fixes.
I'll build the docs then go ahead and submit them. (See first comment
for doc stage location.)
bug: 25461271
Change-Id: I6a8df8d77ccbe1f17c3fe82e23d8c6623e6e0507
Had an uncommited change I forgot to upload when I merged
the new Snackbar class--d'oh!
Since this is a small fix, I'll verify it, +2 it myself, and merge.
See first comment for doc stage location.
bug: 25191776
Change-Id: I1593f81d09a2607a559f0341ff827c79c6e00a70
NOTE: Cherry picked from:
https://googleplex-android-review.git.corp.google.com/#/c/732032/
Contains updates incorporating all feedback from Andy's original CL.
Updated with suggestion from Andrew.
Bug: 21274505
Change-Id: If43ba81e770a39239108b8fa9731c2b4df3a9ae6
Fixing some minor syntax errors in code snippet.
Verified code syntax in Android Studio.
Bug: 25461807
Change-Id: Ic5759044616dedef093401660d1fdb0b153f5903
extend apps to work with Android Auto.
Moved training video to bottom of the page for clarity.
Bug: 25398087
Change-Id: If527794c2b55b338b3317c69baa7871653cca1d5
New Snackbar class, to supersede the existing Toasts API guide.
See first comment for doc stage location.
bug: 25191776
Change-Id: I0b6abdf7ec7c75ba7067580a98d57c9df6b889cb
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