I know tools:context=".SomeActivity" and  tools:ignore="HardcodedText",but 
what attributes of tools namespace should we use in listview and 
fragment?And are there any other options for tools:ignore? What do 
tools:listitem in ListItem tag and tools:previewText in TextView tag mean? 
Where can I find the documentations about all these attributes?
Thanks.
在 2012年10月10日星期三UTC+8下午10时11分41秒,Tor Norbye写道:
>
> It's only for tool usage, and aapt strips these attributes when creating 
> the apk. It's currently used for only a couple of purposes: to record the 
> associated activity of a layout, if known; to store lint rules to suppress 
> for the given element and its children, to store which layout you'd like 
> used for list items in a list view, and which layout to preview for a 
> fragment tag.
>
> -- Tor
>
>
> On Tue, Oct 9, 2012 at 7:58 PM, futurexiong <[email protected]<javascript:>
> > wrote:
>
>> I noticed that in newer version of ADT(higher than 17) we have a new 
>> namespace prefix call "tools:" in Layout Editor,but I can't find any 
>> documentations about this namespace.I want to know  how the new tools: 
>> namespace works?How many elements in this namespace,how to use them?Thanks. 
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to 
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to