Commit Graph

2759 Commits

Author SHA1 Message Date
Aurimas Liutikas
a0fa50e40b Merge "Fix broken {@docRoot} links" into mnc-io-docs 2016-06-14 17:14:59 +00:00
Aurimas Liutikas
df4528fbe8 Merge "Swap fill_parent with match_parent in best practices doc." into mnc-io-docs 2016-06-14 00:33:20 +00:00
Aurimas Liutikas
abc918b76a Fix broken {@docRoot} links
Some {@docRoot} links were followed by a "/" causing links to break.

Bug:
https://code.google.com/p/android/issues/detail?id=174753

Change-Id: Ic5923ee447c55ac2aa95af365ae63425041e4fcf
(cherry picked from commit e0af48d190)
2016-06-14 00:32:22 +00:00
Aurimas Liutikas
18240e6ebc Correct parentActivity example in Activity Element docs.
Bug:
https://code.google.com/p/android/issues/detail?id=74474

Change-Id: I09d07a69d6aa0087e60443ed819541e979012948
(cherry picked from commit 0b54c6c74a)
2016-06-09 20:20:07 +00:00
Aurimas Liutikas
fa1965e316 Swap fill_parent with match_parent in best practices doc.
Bug:
https://code.google.com/p/android/issues/detail?id=61600

Change-Id: I86ef4f69800c3271fe6e4a5b09a184b2de7f6bc9
(cherry picked from commit 309e97fc3c)
2016-06-09 16:47:25 +00:00
Aurimas Liutikas
56334c5202 Correct the size of example bitmap for xxhdpi.
Bug:
https://code.google.com/p/android/issues/detail?id=156314

Change-Id: Ib95efa2767aa52cb2e11195499828ca41e58eb50
(cherry picked from commit 8c719cece6)
2016-06-08 18:06:29 +00:00
Kevin Hufnagle
d5368b8185 cherry-pick: docs: Added note that <application> at end of manifest.
After cherry picking, removed trailing whitespace at end of lines.

Bug: 28823898
Change-Id: I30d69f1877d772893965e1512455f3addb397c80
Original-Change-Id: I9d4e67c30a0e95e78a596c933c9b9d4804eb4d6a
2016-05-31 19:41:52 -07:00
Hemal Patel
709f0df0d8 Merge "Docs: Fixed an invalid initialization of ExampleProvider member in Content URI patterns docs sample" into mnc-io-docs 2016-05-28 01:16:51 +00:00
Kevin Hufnagle
da90584135 Cherry pick: docs: Edited "Features Reference" section in
"<uses-feature>" page.

The "Features Reference" section now lists all hardware and software
features that apps can use on devices running Marshmallow, and some
existing features now have more descriptive examples.

Converted the tables listing hardware and software features to h4
elements and definition lists to make the page more reader-friendly,
particularly on handheld devices.

Bug: 27803596
Change-Id: I3490f5dcde6a838d69940c70e06d9cd2cb8a7bdc
2016-05-26 10:51:02 -07:00
Hemal Patel
eb95687745 Docs: Fixed an invalid initialization of ExampleProvider member in Content URI
patterns docs sample

Bug: 28679030
Change-Id: Ia8f30fa82dbbced9c177e39a61834f25d5b331b2
2016-05-25 19:11:59 -07:00
Chris Craik
f7688a4f29 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c am: 8fc4c789f1
am: c387613d53

* commit 'c387613d53284816ebb00ebeb41633f6179fc972':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I648ee1970cae83a816e9462dcbdd2208b7c205d4
2016-05-19 18:31:33 +00:00
Chris Craik
c387613d53 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8 am: f6987bc94c
am: 8fc4c789f1

* commit '8fc4c789f1a356d765e98b0c3f1569fabbfb0890':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I42b9e0c852a685bd0ae1d5dd1145769b9dfd095d
2016-05-19 18:21:26 +00:00
Chris Craik
8fc4c789f1 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd am: b6f51341e8
am: f6987bc94c

* commit 'f6987bc94c00fa1390aee6f665a560dcb94d7942':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: Ice3af646ca302dea7797a2ff65ed83da7beaaa90
2016-05-19 18:10:27 +00:00
Chris Craik
f6987bc94c Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs am: 36785ff4bd
am: b6f51341e8

* commit 'b6f51341e8bb34de8dfdc2694599c7090971fdf8':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I323752b6f1f51a659af0aa84e7305c75ccbf0552
2016-05-19 17:59:55 +00:00
Chris Craik
b6f51341e8 Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs
am: 36785ff4bd

* commit '36785ff4bda29f8055864e081012e12077509889':
  Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"

Change-Id: I9f50650cb3d52ba76aa61a28b9bf3aef36682d83
2016-05-19 17:49:59 +00:00
Chris Craik
36785ff4bd Merge "Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"" into lmp-docs 2016-05-19 17:22:57 +00:00
Billy Lamberta
e1277eb819 docs: work minisite
Adds minisite at docs/html/work. Adds landing page and
Android for Work specific guides. Moves docs from
training/enterprise and add redirects. Update resource
card info and add new images. Update sitemap, _book, and
add sidebar navigation menu.

bug: 27744376
Change-Id: Ib09f7fc6352dfde7a60fc674b06488c651b196e2
2016-05-16 13:36:55 -07:00
smain@google.com
89d11705a1 Update links for all files under sdk/ that moved to studio/
Change-Id: I624621dfd7df0f441d0b559e5a12029e5e299964
2016-05-15 02:55:23 +00:00
Joe Fernandez
ec6effa1b0 Merge "docs: App Translation API updates" into mnc-docs
am: 1ede811143

* commit '1ede811143d32afe8ba6ce49a19060da4a1b6092':
  docs: App Translation API updates

Change-Id: Id075bdfddf3c5ccabf063690a37c487a87f9635d
2016-05-13 17:11:08 +00:00
Andrew Solovay
ad87d2beaf docs: Noted that custom permissions must be unique per-device
We'd already noted this in the "new in Android 5.0" page but we
hadn't moved this into the base "permissions" pages. Added it, with
some usage recommendations from the bug.

Also fixed some formatting while I had the files open.

See first comment for doc stage location.

bug: 18143176
Change-Id: I9cc1a8865492ebf30c7a0f7c325669ded670933e
2016-05-11 15:23:53 -07:00
Joe Fernandez
5310e2d669 docs: App Translation API updates
Includes all updates to App Translation API content/text. Also
includes "Related Resource" cards.

Bug: 27729402

Change-Id: I0385f448b7b92fe420f3b51394d9a659e7b6df81
Original-Change-Id: Ibcde400fe8b340f032d1c458c83deb828450c9a5
2016-05-06 10:30:56 -07:00
Andrew Solovay
084d99bfd4 docs: Fixing bad URL in libraries TOC
Also added the libraries sub-TOC to the "API Guides" TOC.

See first comment for doc stage location.

Change-Id: I06aac939e40ffad7888801ea01f6d4decd6eb4d1
2016-05-04 16:20:01 -07:00
Andrew Solovay
6006856b24 Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs 2016-05-04 18:07:10 +00:00
Jaewan Kim
d3eacb56b6 Merge "Fix documentation for drawable resource" into mnc-docs
am: 2d542c5558

* commit '2d542c555851d896ceecb0e7a51819fef4f2cfbd':
  Fix documentation for drawable resource

Change-Id: Idc27783a9b237dbba23f548ecdde89df32acec8b
2016-05-04 00:16:44 +00:00
Andrew Solovay
f33272d531 docs: Renaming /go/ top-level directory to /topic/
Per discussion with JF and DD, the new holding pen for not-quite-
top-level topics will be a "/topic/" directory, not "/go/". (Currently
the only thing living there is the new "libraries" section.)

Updating redirects and TOCs accordingly. See first comment for
doc stage location.

bug: 28558659

Change-Id: I09201a8334cac70d76559a106a74d5a29fe82128
2016-05-03 16:48:31 -07:00
Jaewan Kim
5d98012000 Fix documentation for drawable resource
Change-Id: Ic7cd4dd75dc75c26184b71049589588fe658a9a3
2016-05-03 05:14:01 +00:00
Andrew Solovay
7877f69ddd docs: Moving library docs out of /tools/
The /tools/ top-level directory is going away when we move to devsite
(and the Android Studio docs get their own home) so I'm moving the
non-AS docs out of there. Also adding redirects (and fixing redirects
that pointed to the old locations).

For the time being, I'm also adding these libraries in to the
"API Guides" TOC, just so they're discoverable from somewhere; I'm
expecting this to change post-redesign.

See first comment for doc stage location.

bug: 28270787
Change-Id: I07488251384fbd22d2512a797793cf98654f54e7
2016-04-28 13:36:06 -07:00
Elliot Waite
988248daab Change custom_link_attributes to path_attributes format.
Change-Id: I24439d6f9226ace37eab875e8b1bb634a9e52074
2016-04-27 20:07:57 -07:00
Kevin Hufnagle
bdc74232d1 docs: [Revert] Improved description of "package" attribute
(manifest).

Per discussion with ddougherty@, decided that this was a high-risk,
low-reward change. Have "undone" the change with the given
"Original-Change-Id" as a result.

Bug: 2735276
Change-Id: I1f6089a1319180aed7d6fdbcf182c5fbe4b49abb
Original-Change-Id: Ifa30615c1cca5f6f19e4d1d0c071e4e256b3151b
2016-04-19 18:33:12 -07:00
Kevin Hufnagle
8998fe68b1 docs: Improved description of "package" attribute (manifest).
The description of the "package" attribute for an Android
application's <manifest> element now states more clearly that the
Android package name and the Java package name(s) used in the app's
classes do not need to be the same.

Bug: 2735276
Change-Id: Ifa30615c1cca5f6f19e4d1d0c071e4e256b3151b
2016-04-15 15:00:55 -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
Jesse Hall
2112afe75c docs: Remove texture compression formats that don't exist
Bug: 27906767
Change-Id: Ifb3d7f0455a4349e76727c497d52f3d0d5fa8838
2016-04-09 21:01:39 -07:00
Kevin Hufnagle
c9afecdff9 Merge "docs: Corrected reference link for NotificationManager.notify()." into mnc-mr-docs 2016-03-31 15:14:12 +00:00
Kevin Hufnagle
88e19d1670 Merge "docs: Fixed Marshmallow links in API level table." into mnc-mr-docs 2016-03-31 15:12:32 +00: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
Elliot Waite
abb9f4db5a Merge "Change colons to equals for custom_link_attributes." into mnc-mr-docs 2016-03-30 18:37:01 +00:00
Miao Wang
f2988f59f4 Merge "[RenderScript] Update documentation about API level and RS Support Lib." into mnc-mr-docs 2016-03-30 02:50:23 +00:00
Miao Wang
a51f9c0418 [RenderScript] Update documentation about API level and RS Support Lib.
Bug: 22767853

  - Correct the description about renderscriptTargetApi: Use the lowest
    API level providing all the functionality in the code.
  - Update the sample gradle config to use the up-to-date and stable
    version of Build-Tools.

Change-Id: Ie8008acafb270fda9e2c928953568461f6f6f476
2016-03-29 14:51:02 -07:00
Kevin Hufnagle
d9ad75f5b0 docs: Fixed Marshmallow links in API level table.
The table listing the different Android API levels (within the
"<uses-sdk>" page) now contains accurate links for "Android 6.0" APIs
and "Platform Highlights."

Bug: 27725763
Change-Id: I7cc9734b84ac530223a6bae58aed0072dcd214aa
2016-03-25 16:42:34 -07:00
Elliot Waite
fe1d89f339 Change colons to equals for custom_link_attributes.
Change-Id: I9f4ca9d0df9e7b358af28ded8cf6d992e38a0650
2016-03-24 14:57:24 -07:00
Kevin Hufnagle
1070ed402c docs: Fixed resource/theme value syntax.
Within the "Resource values" sub-section within the "File Conventions"
section of the "App Manifest" page, changed the separator between the
name/value pair for resources and themes such that it is now
consistently a '/' character.

Bug: 27070041
Change-Id: Ie299fbb866b9de3afaffa8fb70e3ca3709c45735
2016-03-23 03:35:30 +00:00
Elliot Waite
0bee3d2997 Merge "docs: Add _book.yaml files for DevSite navigation" into mnc-mr-docs 2016-03-23 01:05:11 +00:00
smain@google.com
098de48e2b rename "sdk version" to "api level" and add useful links
Change-Id: I824492278c2673ff08ffb12932071f6bdc3798fa
2016-03-18 14:39:31 -07:00
Elliot Waite
20d6d77242 docs: Add _book.yaml files for DevSite navigation
Change-Id: I02a5fe5bb5fe3e968870cec8898deee9e7d8a82d
2016-03-17 17:23:21 -07:00
Chris Craik
229f2a6dad Revert "docs: b/17996176 [DAC-review-bug] Update Hardware Accelerated Table to API 21 Change-Id: I3bb972cc1defd3e6fa6295664e41311b85698f31"
This reverts commit 3632637b4a.

Change-Id: I1775db3c12868b5e079a99a5e4ca5a72739712d2
2016-03-16 17:18:13 +00: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
Glenn Kasten
3941eb57c9 Update feature list for audio and MIDI
Change-Id: I78567ae8de8375af11436d8c8579dcc3f7aa7a6c
2016-03-10 07:44:56 +00:00
Andrew Solovay
a77d6a94bb docs: Added missing REQUEST_IGNORE_BATTERY_OPTIMIZATIONS permission
While checking the manifest for N permissions changes, I saw a
normal permission that had been added in M and not documented.
(The permission was added to AndroidManifest.xml, so it *was*
being listed in the android.Manifest javadoc.)

See first comment for doc stage location.

bug: 27222922
Change-Id: I5740fdb3da3cac37b15d87fe5f092d305c52449d
2016-02-17 12:49:25 -08:00
Andrew Solovay
019375b5d7 docs: Re-sorting list
List of normal permissions had drifted from alphabetical order;
fixed.

See first comment for doc stage location.

Change-Id: I031d1142275c9fd53a2ce16fcd54fdcf206d03a7
2016-02-17 11:31:38 -08:00