0

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!

Jonas
  • 121,568
  • 97
  • 310
  • 388
Vitaly Menchikovsky
  • 7,684
  • 17
  • 57
  • 89

2 Answers2

1

<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>

Basbous
  • 3,927
  • 4
  • 34
  • 62
1

You can infere the xml from the code.

ProgressBar called progressBar1 Button called buttonPlay Button called buttonStopPlay

Pintac
  • 1,565
  • 3
  • 21
  • 38