| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Change-Id: Iead02d468590407ec274357f1a1c57ed8d5cc24c
|
| | |
| | |
| | |
| | | |
Change-Id: I069f9df1c50cf16329934046ed1bc5bbd04d2533
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the handling of \r characters in the code which applies
formatting deltas into existing documents. It could end up
inserting the formatted portion in the middle of a \r\n pair,
which made Eclipse extremely confused
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=375421)
This fixes
32849: Eclipse android adt xml editing artifacting (unsynced) lines of
text when changes are made in the graphical interface
It also adds a lint check to identify *existing* files that already
have these mangled line endings, along with a quickfix to make the
correction.
Change-Id: I1e7024f2786e4cb0233c2c6b98c3d3f942703ea0
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I68188063f0a44af9d38c2a47a53684a68bf346c3
|
| | |
| | |
| | |
| | | |
Change-Id: Ibe9ca90540113157d4fdb5554965d626c22581d8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Capability for fixed 9-patch scaling.
- software button param for rendering.
Change-Id: I2616dbd97dc413c2c5b5d52af6309967400d2456
|
| | |
| | |
| | |
| | | |
Change-Id: I0b441971de02fc4fc3da78e4e411828ca3eedbbc
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Ideally, hook this up to render capabilities later.
Also customize the detailed message in the layout editor
when the Nexus 7 is chosen.
Change-Id: I7606dbb89d9fda643b175a51177624b564c417cf
|
| |
| |
| |
| |
| |
| |
| |
| | |
Also looks at style declarations and attributes on include
tags to allow elements to either pick up sizes from styles
or from the including context.
Change-Id: I91a944805d8a906ff63b5a22f2faa876e7292c19
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Fix bug in switching to preview configurations
* Don't draw drop shadows for thumbnails in Dialog themes
* Move the preview title labels to sit above each preview
thumbnail
* Make error thumbnails include rendering error messages
(and wrap if necessary), plus tweak appearance
* Make switch animation show rectangles animating in
both directions
Change-Id: I0995617fa277b48419a88c5203abf5b1d49af711
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Old rendering targets (prior to API 7) have really out of
date layout libraries; they did not get updated with all
the fidelity fixes last spring, and in general have a lot
of problems rendering layouts correctly. Hide these from
the target menu since they just don't work well.
Also change the sort order to list the most recent targets
first.
Change-Id: If680590666a4747c8082eccd63bdac2aa724f7ff
|
| |
| |
| |
| | |
Change-Id: I3fdc7ecd89472c7da1c240d2cb253c6d327a7ffb
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I70c6e0fa0b9622e8050e5d949674377e5ac0ffad
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a new layout algorithm which tries to do a more optimal fit
if all the configuration previews can fit on the current screen
without scrolling. (However, it still doesn't scale up these previews
to fit all available space, that's coming in a later CL).
It also delays rendering previews and performing layout until the
layout is actually painted, and improves the error rendering a bit.
It's also more deliberate in how preview renderings are scheduled,
performing them in visual order etc.
There's a new brief animation when you switch to a preview.
Finally, there are some preview zoom controls now.
Change-Id: Iea503a3fd57dfcaea7656e47b946bfcfea3eecb1
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I4a725d523ae14ba8b487076e230fe9d622d5d281
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't flag onClick handlers as missing when they are using resource
name indirections.
Also make the Go To Declaration hyperlink work for tools:context links
to activities.
Change-Id: Ie26cefd2cebef32e955e3031da707654f3dc7e06
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As a simplified workaround for bug 21589, we disable the
Android Type Rename refactoring if the current rename
options enable the "update fully qualified names in non-java files"
and the file patterns mentions "xml".
It may generate false negatives (e.g. if the pattern doesn't
cover the AndroidManifest.xml or the layouts that would have been
renamed) but it seems safer than corrupting the XML file.
Change-Id: I5e7ba3c76c0e643225d03cf0016bf431497818e7
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes 2 minor issues in the "android type rename"
refactoring:
- the oldName vs newName was inverted in _some_ of the
refactorings. It was still properly working due to
pure luck.
- I've added an heuristic: if for example an <activity>
uses the fully qualified name for its class name
attribute, then the refactoring should not collapse
it to the short notation (".MyClass"). Make it
respect whether the developper choose to expand or
not the class name.
This still does not fix SDK bug 21589.
Change-Id: I2f189508979710a6fab5c2f6db360c3776a5930e
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is a pure-refactor that merges adt.internal.refactoring
into adt.internal.refactorings (note the 's' on the 2nd one).
Makes more sense to not have 2 packages for the same thing.
Change-Id: I1dae60d18222e556f5140be579d4f84bb1bf7cd4
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This adds a lint check which looks at the id of an EditText,
and if it looks like it has a specific purpose (e.g. password
or e-mail or number or phone etc) then it checks that the
corresponding inputType matches.
Change-Id: Ib40d3e47c88ea01ccbad61f3a24d9b9a4e79d5c6
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
These icons should not use color (and in the case of notification
icons, be white).
Change-Id: I32b9422735830a01bb069b90a5ad5a76d7aeb5de
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ifbace2c9b51442ea6fc376db33cdd9cd7112a446
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If you choose a preview layout to use for a ListView or GridView, or
if you choose a fragment layout to use for a <layout> tag, until now
that setting has only applied to the exact layout you are currently
editing.
This changeset makes the setting also get synchronized to all the
other layout variations (-land, -xlarge etc) of the layout, such that
you don't have to find yourself tweaking this setting each time you
open some new variation of the layout after changing preview settings.
(Also deletes a bunch of the old comment-based metadata code.)
Change-Id: I712213920a8956901da157eb94611b2372368fcc
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
There were two bugs:
(1) It would fail if you added a configuration into a folder that
already existed
(2) It would duplicate the on-disk contents of the layout rather
than the currently edited (not yet saved) contents of the layout
Change-Id: I63b2f80e61d62cdd6f41c9ac19b9cb57b0548319
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This changeset adds support for looking up adapter binding metadata
(such as which layout to use for a list view) for layouts that
included by other layouts (and potentially nested even deeper than
that).
This hasn't worked in the past because the adapter binding relied on
getting a UiViewElementNode, supplied as a view cookie by the element
parser. However, since we also provide the parser used for included
context (a simply KXml parser), it now looks up the tools attributes
and puts them in a map as a view cookie (for the tags known to have
adapter view bindings) and uses this later in the project callback to
look up a suitable adapter binding.
(Also tweak error message, and switch from rendered previews to
builtin icons for the imageview and imagebutton palette items.)
Change-Id: I99e8b10efb172a1918b74b11123d11c275e1f004
|
|\ \ \ \
| |/ / / |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Id7c544611cfd74ed4d6aa1f307321ae0522e2dff
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On Mountain Lion, the property sheet's property editor inline text
editor is broken. This is due to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388574
The bug has been fixed for Eclipse 4.3, but right now it's a very poor
user experience; you click to edit, and nothing happens.
This changeset adds a workaround: *If* the bug is triggered (an
exception is thrown during property editor activation), then the
customizer dialog is shown instead (equivalent to clicking on the
"..." button next to the property).
The dialog code is modified to show an error message on the bottom
explaining why the dialog was shown instead (since this behavior is
annoying, we should explain to users why we are doing), and it
explains that the bug should be fixed in Eclipse 4.3, so if anyone in
the future is running Eclipse 4.2 with this behavior and 4.3 is
available, they will have an incentive to upgrade.
Change-Id: I338a26c39aca0042075d7a12527b723d9783509c
|
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset adds support for previewing other
configurations (as well as including contexts)
for a layout, with live updates.
Change-Id: Iff3523d6f5749b3287716e563330fb18c8576611
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Project listeners don't receive notifications on non-android
projects.
file/folder listener have a boolean to tell them what the
project is.
Raw listeners have to check it manually so the only
user now does so.
Change-Id: I7068176099d28d979d31070854a2a646bca1204e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously all predexed libraries used the same filename
as their source but all predexed libs would go in the same
folders, possibly conflicting with each others.
This fixes it by making the predexed lib filename use
the (hashed) path of the original library.
Also added some extra logging to indicate when a predexed
lib is used.
Change-Id: I7c248f647ee0531334d7fa4f1e943ea0932699d4
|
| |
| |
| |
| | |
Change-Id: I82d0937e6016cc64550468915a79f08b234cae60
|
| |
| |
| |
| | |
Change-Id: Icbebe1dd3c8cf51f7d38b585a78264d01977e943
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a clean action happen, the order of compilation of
the project isn't dictated by the dependencies between the
project. It is therefore important to detect changed in R.txt
for each library and recompile the project when that happens.
Also fixed a potential NPE when building libraries!
Change-Id: I6a87e9c3a4984e5aa6401270cf83eaea74044c9f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If anything goes wrong with aapt, we emit an error message that we
could not execute aapt and to check the install location.
However, if the file exists but isn't executable, or if a parsing
error happens in the new SymbolLoader/Writer, the error message is
misleading. This changeset makes the error message more specific if it
looks like the root cause isn't a missing aapt installation.
Change-Id: Ifb09a2dd736f6a93c0f167162826e1ad6e3d2a63
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bad ADT, bad!
Change-Id: Id1e0ee1c0001faf16b5551674d037f009222015b
|
| | |
| | |
| | |
| | |
| | |
| | | |
See issue 35959 for background.
Change-Id: I8042b42e4649163cf8e6974d074ac05777685766
|