Advertisement
saurabhmesh17

SO ANswer - AudioRecord Issue - activity.xml

Sep 22nd, 2014
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.54 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    android:layout_width="fill_parent"
  4.    android:layout_height="fill_parent"
  5.    android:orientation="vertical"
  6.    android:padding="20dip" >
  7.  
  8.     <ImageView
  9.        android:layout_width="fill_parent"
  10.        android:layout_height="wrap_content"
  11.        android:scaleType="fitCenter"
  12.        android:src="@drawable/ic_launcher" />
  13.  
  14.     <TextView
  15.        android:layout_width="fill_parent"
  16.        android:layout_height="wrap_content"
  17.        android:layout_weight="1.0"
  18.        android:text="@string/app_info"
  19.        android:textSize="20dip" />
  20.  
  21.     <LinearLayout
  22.        android:layout_width="fill_parent"
  23.        android:layout_height="wrap_content"
  24.        android:orientation="horizontal" >
  25.  
  26.         <Button
  27.            android:id="@+id/btnStartRec"
  28.            android:layout_width="wrap_content"
  29.            android:layout_height="wrap_content"
  30.            android:layout_weight="1.0"
  31.            android:text="@string/start_recording" />
  32.  
  33.         <Button
  34.            android:id="@+id/btnStopRec"
  35.            android:layout_width="wrap_content"
  36.            android:layout_height="wrap_content"
  37.            android:layout_weight="1.0"
  38.            android:text="@string/stop_recording" />
  39.     </LinearLayout>
  40.  
  41.     <Button
  42.        android:id="@+id/btnStartPlay"
  43.        android:layout_width="match_parent"
  44.        android:layout_height="wrap_content"
  45.        android:text="@string/start_playing" />
  46.  
  47.  
  48. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement