27 Commits

Author SHA1 Message Date
Scott Main
f940a1f316 cherry-pick from master: Icf079f5f45b1745a8d54f504e28dbbb52c6f7c96
docs: rewrite resources documentation

Huge overhaul. Includes all new dev guides about how resources are used
on Android and how to provide alternatives, including how to handle
runtime configuration changes (restarts). Plus all new reference
docs for all the resource types (drawables, strings, menus, etc.).

Change-Id: I12e819d2c5fc11e062281d8fe442c3037e92000a
2010-04-08 17:10:06 -07:00
Dirk Dougherty
1c819a5e3e am 5f6002ec: am d71c2aa1: Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair
Merge commit '5f6002ec5f52ed164b591cf4b267fe771a81731f'

* commit '5f6002ec5f52ed164b591cf4b267fe771a81731f':
  SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
2010-01-07 12:37:15 -08:00
Dirk Dougherty
4e7db25687 SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
Bug: 2160782
Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593
2010-01-07 12:05:01 -08:00
Dirk Dougherty
692bf86e67 am 479a49f7: am 7585586c: Merge change Ib1eb2e9e into eclair
Merge commit '479a49f74f77855825ba69b105c065422c24246a'

* commit '479a49f74f77855825ba69b105c065422c24246a':
  sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.
2009-12-15 15:04:00 -08:00
Dirk Dougherty
22558d0be8 sdk doc change for esr: Add "resources" tab content. Fix links pointing to the old locations. Change Android.mk to output samples files to resources/samples. Misc other fixes.
Bug: 2160782
Change-Id: Ib1eb2e9e3fe3a7b2ad16387dbf888646a1195221
2009-12-14 11:40:02 -08:00
Katarina Stenstedt
e194c5f35d am ca190523: am dc884053: am 20972da0: New localization document and tutorial
Merge commit 'ca190523d1f19df0b6850908cd422cd7797c0d23'

* commit 'ca190523d1f19df0b6850908cd422cd7797c0d23':
  New localization document and tutorial
2009-09-25 11:17:02 -07:00
Katarina Stenstedt
dc884053ed am 20972da0: New localization document and tutorial
Merge commit '20972da079adb6e53fe5f8758aa473d9d46a1b54' into eclair

* commit '20972da079adb6e53fe5f8758aa473d9d46a1b54':
  New localization document and tutorial
2009-09-24 20:33:34 -07:00
Katarina Stenstedt
20972da079 New localization document and tutorial
Adding a new Localization doc and Hello Localization tutorial, along
with graphics. Updating the left-nav to include these two documents.
Moved images into /images folder. Changed to max linewidth of 80.
2009-09-21 17:31:03 -07:00
Dianne Hackborn
31612db5f5 am 10bedaaf: am 7fc39b26: Merge change 25238 into eclair
Merge commit '10bedaaf3ec24af5fa4dcea54545e4d4953a1c7d'

* commit '10bedaaf3ec24af5fa4dcea54545e4d4953a1c7d':
  Implement issue #1780928: Need support hiding nav keys.
2009-09-17 09:51:33 -07:00
Scott Main
746f131cde am 942c02a6: am bc663a65: am 528954c4: docs only. fix sample code errors per bug 2115299
Merge commit '942c02a6c14d5e21473fb47618ea8b6b94c617e6'

* commit '942c02a6c14d5e21473fb47618ea8b6b94c617e6':
  docs only.
2009-09-17 06:40:05 -07:00
Dianne Hackborn
93e462b79d Implement issue #1780928: Need support hiding nav keys.
This implements support for devices whose hardware can hide
their navigation keys.  It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.

Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!

Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
2009-09-15 22:50:40 -07:00
Scott Main
528954c4d6 docs only.
fix sample code errors per bug 2115299

Change-Id: Ie0e614b0b8fdb0ec744db288042ab1f484f52bfd
2009-09-11 14:14:36 -07:00
Scott Main
026869f68b am 98a578c9: am f65bc182: am d27b1083: docs only. add Searchable resource information to the Available Resources doc and update some some of the attribute documentation to indicate that the icon label is not recommended. and fixing merge issue...
Merge commit '98a578c9f88f0eae376cc21074d894c6bd87137c'

* commit '98a578c9f88f0eae376cc21074d894c6bd87137c':
  docs only.
2009-09-10 19:47:41 -07:00
Scott Main
d27b108375 docs only.
add Searchable resource information to the Available Resources doc
and update some some of the attribute documentation to indicate
that the icon label is not recommended.
and fixing merge issue...

Change-Id: I1b1a62aa9804f4a0bf2f93328dde90b9f7aec50a
2009-09-10 19:22:48 -07:00
Elliott Hughes
7f87706927 Fix all typos (found by script) in the Android documentation.
I haven't touched instances of "behaviour", "dequeue", "removeable",
"resizeable", or "removeable" because all are accepted variant spellings
and I don't know what the policy is on such things.
2009-08-21 13:10:55 -07:00
Dianne Hackborn
11b822d2a9 Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
2009-07-22 11:58:31 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Katarina Stenstedt
014a59bf40 Remove links to wikipedia; fix typo; remove .vsd file (bug 1918247). 2009-07-06 10:10:19 -07:00
Katarina Stenstedt
1293b6b299 Added info about mcc and mnc, plus other changes per http://b/1918247; rewrote "How Android find best match" section per rgreenwalt's comments and added flowchart. 2009-06-24 11:45:53 -07:00
Scott Main
9b825aa0ee AI 148470: add documentation about aapt image optimization
BUG=1735176

Automated import of CL 148470
2009-05-07 11:59:14 -07:00
Dirk Dougherty
f096acd379 AI 148460: Misc changes for dev site.
BUG=1790234

Automated import of CL 148460
2009-05-07 11:12:11 -07:00
The Android Open Source Project
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
The Android Open Source Project
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
The Android Open Source Project
d24b8183b9 auto import from //branches/cupcake/...@130745 2009-02-10 15:44:00 -08:00
The Android Open Source Project
9266c558bf auto import from //branches/cupcake/...@126645 2009-01-15 16:12:10 -08:00
The Android Open Source Project
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
The Android Open Source Project
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00