Thursday, April 5, 2012

[android-developers] Re: Someone use GridLayout (ADT-17) in v7?

Edit the attrs.xml and redefine the attributes as:

<attr name="layout_marginStart" format="dimension" />
<attr name="layout_marginEnd" format="dimension" />

Then clean your GridLayout library project.
Looks like someone made a mistake when putting it together as those
attributes don't exist in the "android" namespace prior to API level
14.

Joe

On Mar 22, 8:06 pm, André Luiz R. Silva <macolinkal...@gmail.com>
wrote:
> Someone use GridLayout  (ADT-17) in v7?
>
> Errors:
> [GridLayoutTest] ERROR: In <declare-styleable> GridLayout_Layout, unable to
> find attribute android:layout_marginEnd
> [GridLayoutTest] ERROR: In <declare-styleable> GridLayout_Layout, unable to
> find attribute android:layout_marginStart
>
> Use <sdk>/extras/android/support/v7/gridlayout.
>
> --
> *Atenciosamente,
>
> André Luiz R. Silva
> @andreronsilva*

--
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 unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate