Reputation: 8884
I want to add to my app an playing radio from url link. I find something that I need but don't have the xml file is missing,here:
link: Online radio streaming app for Android
maybe some one have the xml file or anther example for doing that. thanks a lot!
Upvotes: 0
Views: 18016
Reputation: 3925
<ProgressBar
android:id="@+id/progressBar1"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true" >
<Button
android:id="@+id/buttonPlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Play" />
<Button
android:id="@+id/buttonStopPlay"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Stop" />
</LinearLayout>
Upvotes: 1
Reputation: 1585
You can infere the xml from the code.
ProgressBar called progressBar1 Button called buttonPlay Button called buttonStopPlay
Upvotes: 1