What is different between @id/android:list and @+id/android:list ?

by TreKing » Sat, 17 Jul 2010 03:54:23 GMT


Sponsored Links
 



I loves me some documentation:
 http://developer.android.com/guide/topics/ui/declaring-layout.html #id

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

--



What is different between @id/android:list and @+id/android:list ?

by DanH » Sat, 17 Jul 2010 07:41:49 GMT


 In a nutshell, "@id/xxx" means use that pre-existing ID#.  "@+id/xxx"
means assign a new ID# to that symbol and then use the ID#.




--


Sponsored Links


What is different between @id/android:list and @+id/android:list ?

by James Lee » Sat, 17 Jul 2010 09:22:47 GMT


 Thank you for your answer.
You're right.
@+xxxx does mean make new id.

I think It will be not working if I use @+id/android:list instread of
@id/android:list. \
But, It is also working. According to that document, ListActivity may
generate
some error when it use @+id/android:list because we not use existed id
but add new id.

I don't know why it is working. ;(







--



Other Threads

1. Supporting motion jpeg with avi oontainer

I want to support motion jpeg with avi container in android. Is there
plan for supporting this in future version of android?

Thanks

-- 

2. File buffer help

Please have patience with my noob questions... I am new to Java.

I am reading a large file (podcast) from the web which I am playing
with the mediaplayer... I have been looking at how I can truncate the
buffer during write and I think I can use FileChannel but I am not
exactly sure how to implement it. Can someone point me in the right
direction here? Basically, I want to limit the size of the downloaded
file so that I don't use up too much space on the SD Card (say 5mb or
so) but I need to be able to continue playback as I truncate the file.

Thanks in advance

-- 

3. screenOrientation

4. SQLite Issues - Database seems to be corrupt on occasions. Missing tables etc.

5. How to investigate a system crash reported by user?

6. Problem in adding a control dynamically to a tab widget

7. Unable to install platforms in Android SDK behind a authenticated proxy server