Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created April 30, 2017 15:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/8bb6ec2d9f5058c45ccbf6fb3b0622d6 to your computer and use it in GitHub Desktop.
Save ssaurel/8bb6ec2d9f5058c45ccbf6fb3b0622d6 to your computer and use it in GitHub Desktop.
Main Activity of the Audio Streaming Tutorial for the SSaurel's Channel
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.ssaurel.audiostreaming.MainActivity">
<ImageView
android:id="@+id/logo"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_marginTop="40dp"
android:src="@drawable/logo_ssaurel_round"
android:layout_centerHorizontal="true"/>
<Button
android:id="@+id/audioStreamBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/logo"
android:layout_marginTop="70dp"
android:textSize="18sp"
android:text="Launch Streaming"
android:layout_centerHorizontal="true"/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment