So, is it impossible to solve it directly in xml?
_
Alessio Grumiro
http://www.agmobilesolutions.com
2010/9/22 Mariano Kamp
> As it wasn't possible to submit a new post to the existing/old conversation
> using the web interface I am copying the message here with Danilo's
> permiss
Type 2 is an attribute reference, as per TypedValue, so you have not put a
color in that resource.
If you want to use styles/themes, use Context.obtainStyledAttributes or
related methods which takes care of mapping attribute references through the
current theme.
I'd suggest looking at the source
try using this
On Wed, Sep 22, 2010 at 9:26 AM, Mariano Kamp wrote:
> As it wasn't possible to submit a new post to the existing/old conversation
> using the web interface I am copying the message here with Danilo's
> permission:
> Hi Mariano.
>
> Did you manage to work using themes from drawabl
As it wasn't possible to submit a new post to the existing/old conversation
using the web interface I am copying the message here with Danilo's
permission:
Hi Mariano.
Did you manage to work using themes from drawables xml?
I have same problem and there is no any reference but this thread and
the
Hi Dianne.
Thanks very much, almost there.
I understand the procedure, it would do what I want, but I run into an
exception:
D/NewsRobDefaultExceptionHandler( 1839): Caused by:
java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
D/NewsRobDefaultExceptionHandler( 1839): at
a
You need to define an attribute for your value:
Then make a custom theme that supplies a value for it:
- #ff808080
And now you can reference that value from other XML:
http://schemas.android.com/apk/res/android";
android:shape="rectangle"
Hmmh, also no answer to this question on themes. Maybe the answer cannot be
given with two lines? So let me explain what I would expect step by step and
you stop me were I deviate from the Golden Path? I'll try yes/no questions.
In the simplest terms I would expect that in every place I can specif
7 matches
Mail list logo