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
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
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 "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
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
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
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
a link from being created at build time.
Change-Id: I4086ce5054cc2d5cacd72314810b626aee50df62
(cherry picked from commit e62f4540cd6ce6289fb0196c8e30c3a3d6905794)
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
* commit '59f61cc23d47f7ad714cf99be32fd70a66dba84e':
doc: Updated branding guidelines per request from @deniseamling.
Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
* commit 'b59608981ff464b85a26987b8822913e41e72291':
doc: Updated branding guidelines per request from @deniseamling.
Noted that OnSharedPreferenceChangeListener does not store a strong reference to the listener.
tweaks.
Added blank lines for readability, and broke some long lines
so code samples don't need a scroll bar.
(Update: Fixed indentation that I broke on a code sample.)
Bug: 14045051
Change-Id: I1cf08b899ec55f9093545e71861c84120e4b56a1