On 28 juil, 15:48, Xavier Ducrohet wrote:
>
> This means that your custom style is referencing a parent that *will
> not* be valid once installed on a device. It'll referenced either
> another resources or none at all, and it won't do what you want.
>
> If you wish to reuse a style that is privat
Did I miss something? If the styles in question are private, and I
make a copy, and they change in the future, have I not lost the point
of extension?
Say I wish to extend android:WindowTitle.
>From the source @
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/res/res/v
So...what is a good public replacement for
parent="android:WindowTitle" ?
So everything except the few things you change are inherited from
whatever the current platform uses.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
Then this blog article needs to be rewritten:
http://android-developers.blogspot.com/2011/04/customizing-action-bar.html
Because it references style elements that don't work.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
Please disable it! We really don't need old invalid syntax causing
problems like this. You can see from this thread what kind of problems
allowing it already caused.
On Jul 29, 2:41 pm, Xavier Ducrohet wrote:
> one last thing.
>
> I'm looking at actually disabling this syntax anyway for the next
one last thing.
I'm looking at actually disabling this syntax anyway for the next aapt
release, so you may as well just fix your styles correctly right now.
On Thu, Jul 28, 2011 at 12:18 AM, Diederik wrote:
> From the logged bug:
>
> Comment 6 by tomy...@gmail.com, Jul 26
> parent="@*android:sty
You really really really do not want to do this. please read all my
comments on the bug.
While you think it does what you want, it will *not* work on any
devices. It would only work on a device using the same build as the
SDK, which is basically only the emulator.
Every other device will have ass
>From the logged bug:
Comment 6 by tomy...@gmail.com, Jul 26
parent="@*android:style/x" seems to be the work around in the new
Tool.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developer
hello everyone,
I just commented on the bug but I'll copy-paste it here too.
Short version: this is working as intended (and has it should always have been).
What is happening is that some styles, like WindowTitle are not public
(you won't find them in android.R.style). You should not be extendi
Tools revision 12 is fine.
Platform Tools revision 6 has this issue. Downgrade that one to 5 for the
time being.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To un
It doesn't matter which style is inherited, all appear to fail.
The triggering factor is a style elements with a parent reference to
"@android:style/SomeAndroidStyle"
If you use inherited styles, don't update tools to r12 in the
SdkManager.
Or you have to rollback to an old version of the platform
I'm experiencing the same problem, but I'm hitting it with these inherited
styles:
- WindowTitleBackground
- DialogWindowTitle
- Widget.TextView.ListSeparator.White
Reverting to Platform Tools R5 worked for me as well (Thanks teo2k!)
- Rick
--
You received this message because you ar
That's fine as long as it gets fixed.
Suggest those who get bit by it star the issue.
On Jul 20, 9:34 pm, Dennis Yarborough wrote:
> The fix that teo2k provided us resolves the problem for me and it appears
> you as well. Unless you're releasing your application with only the very
> latest Andro
The fix that teo2k provided us resolves the problem for me and it appears
you as well. Unless you're releasing your application with only the very
latest Android platform is it really that big of a problem? I'm sure that
Google will get it fixed before it "does become" a big issue.
--
You rec
I meet same problem, even if use parent="@android:style/WindowTitle"
can't fix it yet.
- #FFFDB900
I can just only use old version avoid this problem.
It's a big problem, google should fix it ASAP.
--
You received this message because you are subs
Thanks teo2k, I can now build my apps again, albeit with an old
version of the platform-tools.
I created a very simple project that highlights the failure and raised
a bug for this
http://code.google.com/p/android/issues/detail?id=18659
BTW where did you find those links to the platform-tools?
I managed to fix it by replacing the platform-tools_r06 with platform-
tools_r05
It's not a proper fix, but it works for now
http://dl.google.com/android/repository/platform-tools_r05-linux.zip
http://dl.google.com/android/repository/platform-tools_r05-macosx.zip
http://dl.google.com/android/repo
Hmm, @android:style/WindowTitle doesn't work either.
[INFO] C:\Dev\Android-sdk\platform-tools\aapt.exe [package, -m, -J, C:
\Source\android\Jumblee\target\generated-sources\r, -M, C:\Source
\android\Jumblee\target\filtered-manifest\AndroidManifest.xml, -S, C:
\Source\android\Jumblee\res, --auto-ad
19.07.2011 2:00, William Ferguson пишет:
Thanks Kostya, Xavier.
I'll give that a whirl tonight.
Is there a good reference anywhere about the right way to reference
and handle styles?
There is this:
http://developer.android.com/guide/topics/ui/themes.html
And personally, I like looking at
Thanks Kostya, Xavier.
I'll give that a whirl tonight.
Is there a good reference anywhere about the right way to reference
and handle styles?
All I've ever managed to find are disjointed snippits by other
developers.
And have managed to proceed from that and by copying examples in the
Android sou
In my case the syntax is correct, but I still see the error...
- @drawable/popup_full_dark
- @drawable/popup_top_dark
- @drawable/popup_center_dark
item>
-
It's this parent reference here:
The canonical syntax, I believe, would be: