1263 Commits

Author SHA1 Message Date
Andrew Solovay
c48d32234d docs: Fixed typos and formatting in cardflip.jd
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
2015-12-22 13:15:44 -08:00
Andrew Solovay
84fc4a549c docs: Fixed reference to "android:windowContentTransitions"
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
2015-12-21 17:03:31 -08:00
David Friedman
dee655c406 Docs: Material Design L10N update. All languages except es, ja.
Bug: 23090399
Change-Id: I0389fcff3b012a4ae4d92529574847e4a1685729
2015-12-21 13:10:23 -08:00
Andrew Solovay
27c1d2a4e2 Corrected code snippet for reveal effect
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
2015-12-21 12:26:06 -08:00
sreevanis
ec76b67f17 docs: New Image Asset Studo 1.5.1
Change-Id: If567e6b2f2c5e1fd526d8e7491e7265e154b3f62
Bugfix: 25128284
2015-12-18 16:02:16 -08:00
Andrew Solovay
f040254ec3 docs: Clarified behavior of legacy apps running on M
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
2015-12-18 15:32:44 -08:00
Joe Fernandez
2460971aee docs: Android Eclipse ADT update and removals - Batch 04
b/25192800

Change-Id: Ic3927136a09da29c5931ccaa6ba5ce76ace75096
2015-12-18 11:04:38 -08:00
David Friedman
4b0be652ab Merge "Docs: Corrections to Android Studio "Getting Started"-type documentation." into mnc-docs 2015-12-17 19:47:38 +00:00
David Friedman
7c6b7f7b0e Docs: Corrections to Android Studio "Getting Started"-type documentation.
Bug: 25458018

Change-Id: Ibbecffc00461ba61e3f5f596b34a7b049b9193ec
2015-12-17 00:23:18 -08:00
Matt Werner
fbea308237 Merge "docs: Fixing typos in Device Policy Controller" into mnc-docs 2015-12-11 16:43:40 +00:00
David Friedman
d8ae2ba39e Merge "Fix code example which was calling wrong super method." into mnc-docs 2015-12-10 19:48:28 +00:00
Matt
8a608ba06a docs: Fixing typos in Device Policy Controller
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
2015-12-09 16:47:29 -05:00
Dan Yu
d12709f395 Merge "docs: Fixing Android TV code snippet" into mnc-docs 2015-12-09 18:07:34 +00:00
Nicholas Lativy
13350df5f7 Fix code example which was calling wrong super method.
Bug: 22653147
Change-Id: Icebc24cace8accd85e8225bc3490f05f4d854ef5
2015-12-09 11:12:25 +00:00
Dan Yu
005125a80f Merge "docs: Removing info about settings activity for channel apps" into mnc-docs 2015-12-08 17:25:36 +00:00
William French
2fede09890 Merge "Updates Google Play Services section with instructions for calling connect(). Staged: http://wfrench.kir.corp.google.com:9000/training/location/retrieve-current.html" into mnc-docs 2015-12-07 23:33:50 +00:00
Daniel Yu
d1840a36d0 docs: Removing info about settings activity for channel apps
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
2015-12-07 11:11:52 -08:00
Dan Yu
f1db897568 Merge "docs: Fixing incorrect bluetooth info for Android TV" into mnc-docs 2015-12-02 17:48:27 +00:00
William French
00f9a776d6 Merge "Docs: Fixed broken link to Geofence.Builder." into mnc-docs 2015-12-02 17:02:45 +00:00
William French
974540cb77 Updates Google Play Services section with instructions for calling connect(). Staged: http://wfrench.kir.corp.google.com:9000/training/location/retrieve-current.html
Change-Id: Id63b2c815fe0e2462ac91e4826b6b9aa8b88e624
2015-11-30 15:48:41 -08:00
William French
e980dff290 Docs: Fixed broken link to Geofence.Builder.
Bug: b/25679223

Change-Id: Iedebacfa74db74a61fc89e7e0e9abe4498dfa79c
2015-11-30 22:46:21 +00:00
Sreevani Sreejith
33f806d724 Merge "docs: Updated Screenshots for 'Run and Test Auto Apps' Updated instructions for 'Connecting the DHU to your mobile device'" into mnc-docs 2015-11-30 19:22:48 +00:00
sreevanis
afc0d7edb9 docs: Updated Screenshots for 'Run and Test Auto Apps'
Updated instructions for 'Connecting the DHU to your mobile device'

Bug:25767200
Change-Id: I2ba8d1674680bc377b2fcd4dc032e0fc31c35a49
2015-11-30 10:09:10 -08:00
Daniel Yu
c283670669 docs: Fixing incorrect bluetooth info for Android TV
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
2015-11-25 14:22:15 -08:00
Daniel Yu
13f03ae32b docs: Fixing Android TV code snippet
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
2015-11-24 15:39:44 -08:00
David Friedman
f9d7645355 Merge "Docs: Links training doc on performant watch faces to blog post on same topic." into mnc-docs 2015-11-21 03:05:39 +00:00
David Friedman
a9cf3228c2 Docs: Links training doc on performant watch faces to blog post on same topic.
Change-Id: I374adb7e5644fdb45197b46f29950cd5aa93b953
2015-11-20 18:18:44 -08:00
Andrew Solovay
e2f1304401 Merge "docs: Quick formatting fixes" into mnc-docs 2015-11-20 00:04:35 +00:00
Andrew Solovay
6b5a4d6365 docs: Quick formatting fixes
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
2015-11-19 15:35:56 -08:00
Dan Yu
e3e54702a2 Merge "docs: New section explaining how to set the custom launch color of TV app" into mnc-docs 2015-11-19 23:15:51 +00:00
Andrew Solovay
d7a11e8d91 docs: One last fix to the Snackbar docs
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
2015-11-19 11:03:23 -08:00
Daniel Yu
ed4ff6be98 docs: New section explaining how to set the custom launch color of TV app
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
2015-11-19 10:41:14 -08:00
Andrew Solovay
a0e2f5cfb3 Merge "docs: New Snackbar training class" into mnc-docs 2015-11-19 02:33:43 +00:00
Dan Yu
68c6e4549e Merge "docs: Fixing errors in AudioFocus sample code" into mnc-docs 2015-11-19 00:44:36 +00:00
Dan Yu
f58e870efe Merge "docs: Adding Udacity link to Android TV training page" into mnc-docs 2015-11-19 00:43:53 +00:00
Dan Yu
ca662f17cf Merge "docs: Fixing doc issue with Android TV overscan margin recommendations." into mnc-docs 2015-11-18 23:48:29 +00:00
Paul Rashidi
9b616e4d34 Merge "Updating IAB training/overview to use Github and YouTube video." into mnc-docs 2015-11-18 19:06:06 +00:00
Daniel Yu
7fc51569db docs: Fixing errors in AudioFocus sample code
Fixing some minor syntax errors in code snippet.
Verified code syntax in Android Studio.

Bug: 25461807
Change-Id: Ic5759044616dedef093401660d1fdb0b153f5903
2015-11-18 09:53:50 -08:00
David Friedman
dc63f76367 Merge "Docs: Wear permissions and speaker documentation for Android 6.0" into mnc-docs 2015-11-18 00:45:52 +00:00
David Friedman
9125eba0d3 Docs: Wear permissions and speaker documentation for Android 6.0
Bug: 23280104

Change-Id: I297913fb262ab58f8b97aea457daa95f5b02b879
2015-11-17 15:38:02 -08:00
Daniel Yu
d81c5a520a docs: Adding Udacity link to Android TV training page
Updating Android TV training index page to include link and
thumbnail of Udacity Android TV training class video as
per this request:

https://docs.google.com/document/d/1PiJj4ZnAjW41oanl_NRlQNMHQLpyyg2SWt43WcWsbds/edit

Bug: 25398575
Change-Id: I187909ac7b23a85f99c5cf39bbf3cf0687ab2319
2015-11-17 14:58:42 -08:00
David Friedman
4ca0b5dc98 Docs: Quick fix, changing ID string in Udacity video link.
Change-Id: I11a36e13988e266fe35eb72bd86c17e3dc72232f
2015-11-13 17:44:36 -08:00
David Friedman
181ff92c4f Merge "Docs: Adds Udacity video to Wearable training landing page" into mnc-docs 2015-11-14 01:18:53 +00:00
David Friedman
12488f6bc7 Docs: Adds Udacity video to Wearable training landing page
Bug: 25127850

Change-Id: I8c51a5dbd5e188084b013fc659041ffd37ec197b
2015-11-13 17:10:39 -08:00
Sreevani Sreejith
e31345f638 Merge "docs: Added embedded udacity training video to extend apps to work with Android Auto." into mnc-docs 2015-11-13 22:51:54 +00:00
Joe Fernandez
3bc8c7edff Merge "Revert "docs: APP basic file structure"" into mnc-docs 2015-11-13 22:00:07 +00:00
Joe Fernandez
6b780e7b5e Revert "docs: APP basic file structure"
This reverts commit 8f15feef614eac0265e39c325e03ae43c614968a.

Change-Id: I1581d10e297a234c2ab510c4f4c6aaf73f13eea7
2015-11-13 21:59:53 +00:00
sreevanis
d2e925203c docs: Added embedded udacity training video to
extend apps to work with Android Auto.

Moved training video to bottom of the page for clarity.

Bug: 25398087
Change-Id: If527794c2b55b338b3317c69baa7871653cca1d5
2015-11-13 13:50:56 -08:00
Andrew Solovay
9f48b563fb docs: New Snackbar training class
New Snackbar class, to supersede the existing Toasts API guide.

See first comment for doc stage location.

bug: 25191776
Change-Id: I0b6abdf7ec7c75ba7067580a98d57c9df6b889cb
2015-11-13 11:30:25 -08:00
Daniel Yu
cc40d8cd86 docs: Fixing doc issue with Android TV overscan margin recommendations.
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
2015-11-11 14:20:58 -08:00