Inside frame of my tab i am calling an activity having first.xml xml file. Inside this i have two different layout. I have one more xml file graph.xml. Right now i am passing my intent to another activity where i have setcontentview of graph.xml but what i want now is to display this graph inside my first.xml file.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:layout_width="fill_parent">
<LinearLayout android:layout_width="fill_parent" android:id="@+id/linearfullview" android:layout_height="400sp" android:background="@drawable/background_full_view" android:layout_alignParentTop="true"/>
<LinearLayout android:layout_width="wrap_content" android:layout_height="180sp"
android:layout_alignParentBottom="true" android:layout_marginTop="20sp">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:paddingLeft="2dp"
android:paddingRight="2dp"
android:paddingTop="4dp"
android:gravity="bottom"
android:layout_marginTop="30dp">
<com.widget.WheelView
android:id="@+id/segment"
android:layout_height="wrap_content"
android:layout_width="100dp"/>
</LinearLayout>
</LinearLayout>
</Rel开发者_如何学CativeLayout>
I want to have graph.xml layout inside linearfullview linear layout. please suggest
精彩评论