use the android MediaController in xml layout

Lipeneririb

New Member
Im on the computer for few hours, searching for this answer on android developers, google, youtube and every other source. I tried to search on this site but I got nothin.when I go to the main.xml file and add MediaController to the layout, I have only these options:\[code\] <MediaController android:id="@+id/mediaController1" android:layout_width="wrap_content" android:layout_height="wrap_content" />\[/code\]there is no value to put the sound path in itall the tutorials show how to do it in the code and not the xml, and I learned xml is betterm I missing somethin? I already have a sound in the project folders.Eclipse,android API level 3,fedora linux 16,sorry about my bad english
 
Back
Top