java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.riccardo.elisabetta.Versione_10/com.riccardo.elisabetta.Versione_10.Yakovlev}:
java.lang.RuntimeException: Binary XML file line #12: You must supply
a layout_height attribute.
at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2429)
at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2493)
at android.app.ActivityThread.access$800(ActivityThre ad.java:166)
at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1283)
at android.os.Handler.dispatchMessage(Handler.java:10 2)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.jav a:5584)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:1084)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: Binary XML file line #12: You
must supply a layout_height attribute.
at android.content.res.TypedArray.getLayoutDimension( TypedArray.java:504)
at android.view.ViewGroup$LayoutParams.setBaseAttribu tes(ViewGroup.java:6119)
at android.view.ViewGroup$MarginLayoutParams.<init>(V iewGroup.java:6287)
at android.widget.RelativeLayout$LayoutParams.<init>( RelativeLayout.java:1225)
at android.widget.RelativeLayout.generateLayoutParams (RelativeLayout.java:1062)
at android.widget.RelativeLayout.generateLayoutParams (RelativeLayout.java:82)
at android.view.LayoutInflater.rInflate(LayoutInflate r.java:770)
at android.view.LayoutInflater.inflate(LayoutInflater .java:499)
at android.view.LayoutInflater.inflate(LayoutInflater .java:398)
at android.view.LayoutInflater.inflate(LayoutInflater .java:354)
at android.support.v7.app.AppCompatDelegateImplV7.set ContentView(AppCompatDelegateImplV7.java:256)
at android.support.v7.app.AppCompatActivity.setConten tView(AppCompatActivity.java:109)
at com.riccardo.elisabetta.Versione_10.Yakovlev.onCre ate(Yakovlev.java:40)
at android.app.Activity.performCreate(Activity.java:5 447)
at android.app.Instrumentation.callActivityOnCreate(I nstrumentation.java:1094)
at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:2393)
... 11 more