Commit Graph

275 Commits

Author SHA1 Message Date
Makoto Onuki
104f805337 App Shortcut: Clarify which attributes must be resources
Test: javadoc only -- m -j32 offline-sdk-docs

Bug 32495737

Change-Id: I4c3884172761b128d07f1c2948ab7ccc53951a7e
2016-10-31 11:31:45 -07:00
Hemal Patel
d44d34d329 Docs: Fixed the code sample am: a80822a98b
am: 313b1d7310

Change-Id: I225d1eafeacf85a19c86c28b413e550c824a8282
2016-09-30 22:48:41 +00:00
Hemal Patel
a80822a98b Docs: Fixed the code sample
Added permission in the code sample

Bug: 8770919
Change-Id: I5321100938bb876c3c061781f14c07ad9ca53180
2016-09-29 14:53:27 -07:00
Kevin Hufnagle
511f442c41 docs: Fixed broken link to "Picture-in-Picture" training guide within "Multi-Window Support" page. am: b960272cc4
am: ca45197735

Change-Id: I01039b1fb34e2f5041ef80ad372f25dba73bf552
2016-09-28 20:28:39 +00:00
TreeHugger Robot
e7809891f7 Merge "Fixing html glitch in drag/drop docs." into nyc-mr1-dev 2016-09-28 19:07:20 +00:00
Vadim Tryshev
aed92d0547 Fixing html glitch in drag/drop docs.
Bug: 31702571
Change-Id: Id00baac3c9c16f6dc7145a920ec9659d63ebab2a
2016-09-27 17:17:07 -07:00
Kevin Hufnagle
b960272cc4 docs: Fixed broken link to "Picture-in-Picture" training guide within
"Multi-Window Support" page.

Bug: 31750518
Change-Id: Ib23093a88a7c5df13cce04e6b2ea55f2d8547910
2016-09-26 16:50:35 -07:00
TreeHugger Robot
69bd04a6f0 Merge "Fixing drag/drop docs for DRAG_START." into nyc-mr1-dev 2016-09-26 19:19:41 +00:00
Vadim Tryshev
0f146711b7 Fixing drag/drop docs for DRAG_START.
The docs mentioned that only X coordinate was reported for
DRAG_START

Bug: 31702571
Change-Id: Id80360fe5f494b86ea47d7592c46dc9c884df932
2016-09-26 10:50:06 -07:00
TreeHugger Robot
1bc452b5a5 Merge "Update/correct Drag and Drop docs." into nyc-mr1-dev 2016-09-23 23:23:22 +00:00
Mark Lu
902fb28784 docs: Mention SwitchCompat in Switch and toggle documentation
am: 3404032dfc

Change-Id: I1df8dd7f48f095a93aaff120b0f86e2ccc6467fd
2016-09-23 21:52:30 +00:00
Mark Lu
c6a1076e40 Merge "docs: Mention SwitchCompat in Switch and toggle documentation" into nyc-dev 2016-09-23 21:47:31 +00:00
Vadim Tryshev
c5109b3f6e Update/correct Drag and Drop docs.
This CL reflects the N MR1 behavior and
fixes some bugs.

Defining the compatibility behavior will be
done separately.

Bug: 31702571
Change-Id: I2a79871f47849f9f5a9c3377a3061208488e6ecb
2016-09-23 11:47:09 -07:00
Elliot Waite
7c70fed347 Revert fixed at links.
This reverts commit c4ae7827e2.

Change-Id: I65729721ced7fc04d0b9691b63520007adddee29
2016-09-21 16:38:02 -07:00
Mark Lu
3404032dfc docs: Mention SwitchCompat in Switch and toggle documentation
Bug: 19574556
Change-Id: I2ebb504b144a442d90cfdf6ab4b407726a3b896f
2016-09-02 10:13:17 -07:00
Andrew Solovay
0b423e5eae docs: Typo fix in multi-window docs
Referred to the "android:resizableActivity" property; should
have been "android:resizeableactivity". English prose, however,
consistently uses the (preferred) spelling "resizable".

See first comment for stage location.

bug: 30566808
Change-Id: I2570ff9269b4d2dc8b11f1c98817e50726be78fc
2016-08-31 19:37:25 -07:00
Dirk Dougherty
b0ca00431f Doc change: updates for final N landing page and related resources.
Change-Id: Ieeb3dd74a889d6c0118e4ca8575abdaddcde7e73
2016-08-19 19:38:47 -07:00
Hemal Patel
ca17f5b8e3 Docs: Changed custom_toast to toast_layout
am: 3b7309d753

Change-Id: I3d85fb321e27643227c568127870c7ad07650c41
2016-08-09 21:03:00 +00:00
Hemal Patel
611f50d62f Docs: Fixed info about spanning multiple columns
am: 64e88cd296

Change-Id: I8c4219e946fddbfc023bbe77549cc12fc0b6bd3a
2016-08-04 19:43:18 +00:00
Hemal Patel
64e88cd296 Docs: Fixed info about spanning multiple columns
Corrected the information related to the spanning of multiple columns.
As per the reference documentation, cells can span multiple columns. Added
information about how to span multiple columns and provided a reference
link for more details.

Bug: 24760839
Change-Id: I32d51d27db94f61dfa83f7fe1fe94ca58708a2d0
2016-08-03 14:28:38 -07:00
Hemal Patel
3b7309d753 Docs: Changed custom_toast to toast_layout
Bug: 18909456
Change-Id: Ib3f79436421e5bdbd6ebd18563da081a751ea0e0
2016-08-02 14:47:19 -07:00
Dirk Dougherty
340a59c77b Doc change: remove notifications guidelines page and redirect to material spec.
am: 9bb0869926

Change-Id: Ie41e3665d31bd44b4a4cfbcf6c50f72efd30a17d
2016-07-28 01:13:34 +00:00
Dirk Dougherty
9bb0869926 Doc change: remove notifications guidelines page and redirect to material spec.
Bug-Id: 28768849
Change-Id: I8f73a3023ae7648cf89d2e31f0cf055195da2bd7
2016-07-28 01:02:39 +00:00
Andrew Solovay
dda5e4b1ab docs: Moving multi-window docs out of N Preview area for N release
Also setting up redirects, and making necessary changes to other
docs (e.g. drag-and-drop) to account for new feature. Added "see
also" links to a few appropriate pages.

See first comment for doc stage location.

Change-Id: I2a57767a12cf944713c52cddc8422414ce595b2c
2016-07-27 15:55:47 -07:00
Eric Schmidt
bcce78731d docs: Migrate notification-update to notifications docs
Bug: 30224465
Change-Id: I43ded785db6c69d493965f50f798262595b2d026
2016-07-27 14:22:04 -07:00
Hemal Patel
bae260d909 Docs: Used NotificationCompat.MediaStyle
am: d3c609cbc1

Change-Id: Ia297b36f995caa5b552722d475461ec1be321136
2016-07-27 19:26:05 +00:00
Hemal Patel
d3c609cbc1 Docs: Used NotificationCompat.MediaStyle
In the Controlling Media section, updated the overview and sample code to
reference NotificationCompat.MediaStyle. Removed the note about the
pre-requisite to have Android 5.0 and higher.

Bug: 22505224
Change-Id: Id9a647ca8eec7f1b763227ee4fd1f18dee4bcb6f
2016-07-26 16:13:35 -07:00
Elliot Waite
c4ae7827e2 Fix code tags that contain html encoded characters, and fix at links.
Change-Id: I1ab2275ac17d75afaa8f3f0039b26633365bcb3a
2016-07-22 18:29:36 -07:00
Andrew Solovay
abea4b1dcd docs: Replacing curly apostrophes with straight ones
Need to have a CL ready to go in case that's necessary to force
a docs build on the new branch, so I'm setting up this one. Doing
nothing but changing ’ to ' in a few files.

Change-Id: I408f9152d4898e75ab34a92606620afeaf4d3ab9
2016-07-21 13:50:23 -07:00
Mark Lu
c4a0139e26 docs: remove trailing white space from jd files
Change-Id: Id7fb958460bf2f28d88c6120df0395690f32783a
2016-07-18 10:42:11 -07:00
Hemal Patel
518f5a4e09 Merge \\"Docs: Fixed wrong return type of a method\\" into mnc-io-docs am: 13ce5dca58
am: e02e644b92

Change-Id: I9f872d3456381b437271ab949804ffbae0e6a5a2
2016-07-07 16:15:48 +00:00
Hemal Patel
14609e3c56 Docs: Fixed wrong return type of a method
The code sample within the Populating accessibility events section now uses a
boolean return type for the dispatchPopulateAccessibilityEvent() method.

Bug: 28001824
Change-Id: Ie29c3588fc0930b3f3646c6f6ce61c60842c2232
2016-06-21 15:01:41 -07:00
Joe Fernandez
6c3822ef5a Merge "docs: InfoPros, Project 02, Batch 03" into mnc-mr-docs am: d00f005 am: 94e5237
am: b79b808

* commit 'b79b80882c34f0c540e84c7a3a90b73c617e0635':
  docs: InfoPros, Project 02, Batch 03

Change-Id: Iccf5c61e7c9a7da81d8df114076a94a86983e247
2016-04-27 03:11:53 +00:00
Trevor Johns
682c24e228 Resolve merge conflicts of a5060ee to nyc-dev
This undoes the automerger skip which occured in
commit e740c84dc3 and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
2016-04-19 02:03:59 -07:00
Joe Fernandez
d00f005049 Merge "docs: InfoPros, Project 02, Batch 03" into mnc-mr-docs 2016-04-11 16:24:36 +00:00
Joe Fernandez
7adb4c8a45 docs: InfoPros, Project 02, Batch 03
- Removing API 15 and lower work-arounds

b/26490262

Change-Id: Ie8ca92bbff68ca3bc67d2b81164d970058a8a8a8
2016-04-11 09:21:03 -07:00
Kevin Hufnagle
908d74a3b2 docs: Corrected reference link for NotificationManager.notify().
The end of the first paragraph of the "Creating a Notification"
section (within the "Notifications" page) now links to the correct
version of notify() -- i.e. the one within the NotificationManager
class.

Bug: 27708810
Change-Id: I7cc9608f646518bf5f7fc3f4a231c9dece693363
2016-03-30 14:35:57 -07:00
Kevin Hufnagle
4a0f5c88d6 docs: Added curly brace in sample code method opening.
Added a curly brace at the beginning of "onProvideShadowMetrics()."
This method appears within the sample code associated with step 2 of
the "Designing a Drag and Drop Operation" section of the topic.

Bug: 24561657
Change-Id: Icb06a65f63bc57c747bb6f244f6b623c17bdfc45
2016-03-16 01:14:15 +00:00
Dan Dascalescu
4de6c74fc0 docs: Fix typo "allows the application can recognize" -> to
bug: https://code.google.com/p/android/issues/detail?id=28854
Change-Id: Ifee2f44309c880ffe1f9df55b4a2a7fb3ae7c149
2016-02-04 17:39:17 -08:00
Dan Dascalescu
d8e259b367 docs: Fixed typo
Also removed some insignificant whitespace.

bug: 26403380
Change-Id: I7af02f172f2110b9700c451db72f429c62613f8e
2016-01-12 12:54:40 -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
Neil Fuller
71fbb81b14 Fix @code escapes
The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
2015-12-02 14:24:11 +00:00
Andrew Solovay
7d6d7d960a docs: Removed ActionBar API guide
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
2015-10-27 13:20:24 -07:00
Andrew Solovay
37a4db8244 docs: Removed references to "Hello Views" tutorial guide
The "Hello Views" tutorial no longer exists, links to it redirect
to the "Declaring Layouts" API guide. Removing old links to that page.

See first comment for doc stage location.

bug: 21674339
Change-Id: I885a41fb3b213d4dc6257959d43dbf73e0c753bd
2015-09-30 13:14:27 -07:00
Claudio Cherubino
b6e91dfae0 Trying to help clean up the public issue tracker (and show some love to external developers) by taking care of a bunch of typos that were reported.
List of issues from https://code.google.com/p/android/issues that are fixed by this CL: 183476,183249,183248,183241,183222,183142,183093,183329,182385,182311,182193,182019,73149,181589,179740,179384,178322,178189,178086,178020,177169,176312,175138,172322,172030,171820,170647,167288,163574,161580,161041,159199,151347,144290,136137,132505

Change-Id: I2e96f7444048abd2f666c75bd6ab9640019afb75
2015-08-21 14:49:09 -07:00
Andrew Solovay
07e7021e06 docs: Clarified how to find out when a switch is toggled
Per Chris, the existing doc was incorrect: you *can't* check for a
button press and a switch flip the same way. (The button triggers a
click event, but the switch does not.) Chris suggested that we just
remove the reference to onClick and suggest using a listener for
both kinds of buttons (ToggleButton and Switch).

Also pulled one note out of a section where it didn't fit (the bit
about changing a button/switch's state programmatically didn't have
much to do with listening for clicks) and put it at the top, and I
fixed a Javadoc typo for a relevant class that I happened to notice.

See first comment for doc stage location.

bug: 20625504
Change-Id: I9c8975111381e5b169f6a61454ef3a93da635759
2015-07-09 13:22:31 -07:00
Andrew Solovay
d043297ef4 docs: Clarified when you can put the fragments in the root view.
Per bug b/10641907, putting fragments in the root view *only* works
if the device runs Android 3.0 or later. Chris and Adam say
we don't really want to suggest that work flow even for these devices,
so I'm taking that info out.

bug: 10641907
Change-Id: Ie44acbb534b8e0cea8dbbfaaf2c65836b1c31be6
2015-06-22 13:27:47 -07:00
David Friedman
bee8d60a1c Fixes a typo where parens were used instead of curly braces, preventing
a link from being created at build time.

Change-Id: I4086ce5054cc2d5cacd72314810b626aee50df62
(cherry picked from commit e62f4540cd)
2015-06-19 22:49:40 +00:00
Andrew Solovay
a014174852 am 42f966c9: am dbec5ae6: am 0aef0abf: Merge "docs: Fixed broken image link, and broke long lines in code samples" into lmp-docs
* commit '42f966c9df6ed4e7903e87ad557d63ed81da2986':
  docs: Fixed broken image link, and broke long lines in code samples
2015-03-19 00:55:01 +00:00
Andrew Solovay
a8b5b2512f docs: Fixed broken image link, and broke long lines in code samples
While I had gridview open (per the bug), I also checked the other
files in that directory for broken image links (in case this stemmed
from a doc reorg). I didn't find any broken images, but I did find
a couple of code samples that unnecessarily had horizontal scroll
bars, so I fixed those.

See first comment for doc stage location.

bug: 19611361
Change-Id: I983a09aaee5e2b1747376748c1aa46341c31a3c2
2015-03-13 12:46:37 -07:00