Android library projects and custom xml attributes -


i'm using 2 libraries in projects: holoeverywhere , google maps v2. works fine except when try use libraries custom xml-attributes. since adt r17 no longer have use package name define namespace, instead use "http://schemas.android.com/apk/res-auto". res-auto automatically substituted package name. example if want configure initial state of google map fragment in xml

<?xml version="1.0" encoding="utf-8"?> <fragment xmlns:android="http://schemas.android.com/apk/res/android" xmlns:map="http://schemas.android.com/apk/res-auto" android:id="@+id/map" android:layout_width="fill_parent" android:layout_height="fill_parent" class="com.google.android.gms.maps.supportmapfragment" map:uicompass="true" map:maptype= "normal" map:uirotategestures="true" map:uiscrollgestures="true" map:uitiltgestures="true" map:uizoomcontrols="true" map:uizoomgestures="true"/> 

i keep getting error: no resource identifier found attribute 'map' in package ‘res-auto’ same thing happens when use xmlns:holo="http://schemas.android.com/apk/res-auto" cannot access custom xml attributes of namepsace! know can create map fragment programatically want find solution this. missing? i'm targeting apis 10-17!

any appreciated. thanks.

at least maps v2, running this bug in eclipse tools.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -