fix force close

I/ActivityManager(  160): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.example.soundrecorder/.SoundRecorder bnds=[83,46][157,125] } from pid 262
W/WindowManager(  160): HistoryRecord{40a690a0 com.example.soundrecorder/.SoundRecorder} failed creating starting window
W/WindowManager(  160): java.lang.RuntimeException: Binary XML file line #25: You must supply a layout_height attribute.
W/WindowManager(  160): 	at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491)
W/WindowManager(  160): 	at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3599)
W/WindowManager(  160): 	at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3678)
W/WindowManager(  160): 	at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1400)
W/WindowManager(  160): 	at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1326)
W/WindowManager(  160): 	at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:47)
W/WindowManager(  160): 	at android.view.LayoutInflater.rInflate(LayoutInflater.java:625)
W/WindowManager(  160): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
W/WindowManager(  160): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
W/WindowManager(  160): 	at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
W/WindowManager(  160): 	at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2215)
W/WindowManager(  160): 	at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2270)
W/WindowManager(  160): 	at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1436)
W/WindowManager(  160): 	at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:940)
W/WindowManager(  160): 	at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:7889)
W/WindowManager(  160): 	at android.os.Handler.dispatchMessage(Handler.java:99)
W/WindowManager(  160): 	at android.os.Looper.loop(Looper.java:130)
W/WindowManager(  160): 	at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:560)
E/ResourceType( 1572): Style contains key with bad entry: 0x0101035b
I/ActivityManager(  160): Displayed com.example.soundrecorder/.SoundRecorder: +437ms
D/SoundRecorder( 1572): Audio SCO state: 0
D/AudioRecord(   83): set(): sampleRate 8000, channels 16, frameCount 40
E/AudioHardwareMSM72XX(   83): Recording Source: Mic/Headset
E/AudioHardwareMSM72XX(   83): Recording Format: AMR_NB
E/AudioHardwareMSM72XX(   83): do input routing device 80000, outputdev[2]
E/AudioHardwareMSM72XX(   83): input Routing audio to Bluetooth PCM
E/AudioHardwareMSM72XX(   83): do input routing device 80000, outputdev[2]
E/AudioHardwareMSM72XX(   83): input Routing audio to Bluetooth PCM
D/AudioRecord(   83): start
D/AudioFlinger(   83): RecordThread::start
E/AudioHardwareMSM72XX(   83): do input routing device 80000, outputdev[2]
E/AudioHardwareMSM72XX(   83): input Routing audio to Bluetooth PCM
E/AudioHardwareMSM72XX(   83): Recording Source: Mic/Headset
E/AudioHardwareMSM72XX(   83): Recording Format: AMR_NB
E/AudioHardwareMSM72XX(   83): do input routing device 80000, outputdev[2]
E/AudioHardwareMSM72XX(   83): input Routing audio to Bluetooth PCM
D/wpa_supplicant(  289): CMD: DRIVER RSSI-APPROX
D/wpa_supplicant(  289): wpa_driver_priv_driver_cmd RSSI-APPROX len = 4096
I/BluetoothEventLoop(  160): Rejecting incoming 00001124-0000-1000-8000-00805f9b34fb connection from 93:33:85:00:00:03
D/BluetoothEventLoop(  160): onAgentAuthorize(/org/bluez/513/hci0/dev_93_33_85_00_00_03, 00001124-0000-1000-8000-00805f9b34fb) = false
D/wpa_supplicant(  289): wpa_driver_priv_driver_cmd TP-PLATFORM rssi -73  len = 21, 21
D/wpa_supplicant(  289): CMD: DRIVER LINKSPEED
D/wpa_supplicant(  289): wpa_driver_priv_driver_cmd LINKSPEED len = 4096
D/wpa_supplicant(  289): wpa_driver_priv_driver_cmd LinkSpeed 6 len = 11, 11
W/MPEG4Writer(   83): notify Completion track:0
D/AudioRecord(   83): stop

Signed-off-by: Fudong Bai <fudongbai@gmail.com>