Created
July 18, 2016 09:52
-
-
Save chittaranjan-khuntia/72a7b0b8c09f2f9d93b38c8bc068ad4d to your computer and use it in GitHub Desktop.
Audio capture xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
tools:context=".MainActivity"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Android Audio Recording" | |
android:id="@+id/textView" | |
android:textSize="30dp" | |
android:layout_alignParentTop="true" | |
android:layout_alignParentRight="true" | |
android:layout_alignParentEnd="true" /> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Tutorialspoint" | |
android:id="@+id/textView2" | |
android:textColor="#ff3eff0f" | |
android:textSize="35dp" | |
android:layout_below="@+id/textView" | |
android:layout_centerHorizontal="true" /> | |
<ImageView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/imageView" | |
android:src="@drawable/logo" | |
android:layout_below="@+id/textView2" | |
android:layout_alignLeft="@+id/textView2" | |
android:layout_alignStart="@+id/textView2" | |
android:layout_alignRight="@+id/textView2" | |
android:layout_alignEnd="@+id/textView2" /> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Record" | |
android:id="@+id/button" | |
android:layout_below="@+id/imageView" | |
android:layout_alignParentLeft="true" | |
android:layout_alignParentStart="true" | |
android:layout_marginTop="59dp" /> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="Stop" | |
android:id="@+id/button2" | |
android:layout_alignTop="@+id/button" | |
android:layout_centerHorizontal="true" /> | |
<Button | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:text="play" | |
android:id="@+id/button3" | |
android:layout_alignTop="@+id/button2" | |
android:layout_alignRight="@+id/textView" | |
android:layout_alignEnd="@+id/textView" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment