| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- BlankActivity: fix a bug where 'none' navtype + minApi < 11 didn't check for API 11
before using ActionBar APIs
- BlankActivity: add horizontal and vertical padding, customized for
sw720dp-land
- BlankActivity: remove navtype that allowed tabs without swipe
- change naming convention R.menu.activity_foo to R.menu.foo
- change naming convention R.id.menu_foo to R.id.action_foo
- add simple XXHDPI icon (scaled up from XHDPI... to be replaced in a future
update)
Change-Id: Ic5bf3dcfb13e714df505dcbf7c1227b610f0a36e
|
|
|
|
|
|
|
|
| |
It's considered a best practice for activity onCreate overrides to maintain the
original visibility of the method, which is protected. Implement this for all
activity templates.
Change-Id: Ia501628a3f330f671398935103fafc1834f8e78e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the user enters an activity title like "Android's Tools" in the new
template wizard, an invalid strings.xml file is generated, since the
apostrophe is not properly escaped.
To fix this, there's a new string conversion method in the template
engine, "escapeXmlString", which will perform all the necessary
conversions.
It also adds two other XML escaping functions: one to escape text to
be suitable for XML attribute values, and one to be suitable for XML
text values.
Finally, when verifying this, I discovered that if I inserted
ampersands in the MasterDetail template, I ended up with errors in
various places there a filename was derived from the input string. To
help make this work better, there's also a new "extractLetters" method
which pulls all the characters out of a string (effectively stripping
whitespace and punctuation).
In addition to the above 4 new string conversion methods, the
templates have been updated to use them, and the template format
documentation updated.
Change-Id: I4d4e854ab78d63bc86b8eb0fb9d92246534615e7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When an activity is created as part of the New Project wizard,
don't ask the user for an activity title; instead, use the
project's name (@string/app_name).
Since I had to rev the format (to pass the is-new-project
context I also cleaned up the compatibility to-string handling
of booleans that should no longer be necessary.)
This fixes issue 36624: App name issue
Change-Id: I6b88b850e0147307db8a9e1585d670e31c261b4c
|
|
|
|
|
|
|
|
|
| |
- Fix maxLines=2 for input fields in LoginActivity
- Use proper, backward-compatible button bar styles in FullScreenActivity.
Change-Id: I20ce76ff5abd8be949644050ad99e2043abf1e5b
Bug: 6948808
|
|
This adds an activity template for Login/Registration. The template sets
up a login form that looks good on phones and tablets, and that also
accepts registrations using the same form, for an optimized and quick
mobile UX.
Change-Id: I16f4e7915d88b0b72175fea212faedcd7142ad03
|