두 개의 활동을 하나씩 표시하고 싶습니다. 활동 .... 하나 위로 및 두 번째 및 중간에 표시 탭 (about, gallery feeds) 모두 내가 내 레이아웃 여기하나의 활동에서 다른 활동을 여는 방법 (활동 및 중간보기 탭 레이아웃)
ActionBarSherlock의 라이브러리되어 사용하고 같은 화면 에 표시해야
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:orientation="vertical"
android:background="#FFFFFF" >
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ImageView
android:id="@+id/imageView1"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_marginLeft="63dp"
android:layout_marginTop="19dp"
android:padding="20dp"
android:scaleType="centerCrop"
android:src="@drawable/loader" />
</RelativeLayout>
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="#00ffffff" >
<ImageView
android:id="@+id/image_frm"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginBottom="300dp"
android:src="@drawable/img_frame" />
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/image_frm" >
</RelativeLayout>
<RelativeLayout
android:id="@+id/relativeLayout2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="29dp"
android:layout_toRightOf="@+id/relativeLayout1" >
</RelativeLayout>
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/image_frm"
android:layout_alignLeft="@+id/relativeLayout1" >
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:id="@+id/relativelayout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:background="#00ffffff" >
<TextView
android:id="@+id/userfullname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="2dp"
android:text="UsFn"
android:textColor="#DF0B0B"
android:textSize="30dip" />
<Button
android:id="@+id/logout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_below="@+id/userfullname"
android:layout_marginTop="118dp"
android:text="Log Out" />
<Button
android:id="@+id/btn_edit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/logout"
android:layout_alignParentLeft="true"
android:layout_marginLeft="15dp"
android:background="@drawable/btn_green"
android:text="Edit " />
,
내가이 레이아웃 에 난 정말 혼동하고 도와 도움
질문에 더 구체적인 언어를 사용해보십시오 : "활동 내에서 활동을 중첩하는 방법 *" – Todd