在我的应用程序中,我在LinearLayout的父LinearLayout中有3个LinearLayout,当我尝试在第一个孩子的左边缘和边缘边缘给一些空间时,但它没有反映它在我的工作正常第二个孩子的任何一个请帮我LinearLayout左边距和右边距不起作用
XML
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/revi_main_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/imag_bg"
android:scaleType = "centerCrop"
android:layout_marginTop="20dp"
android:weightSum="1">
<LinearLayout
android:layout_marginTop="140dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:background="#FFFFFF">
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<ImageView
android:layout_width="120dp"
android:layout_height="160dp"
android:id="@+id/revi_fulldes_movieImage"
android:layout_weight="0"
android:padding="10dp"/>
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="3">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/revi_fulldes_movietitle"
android:textSize="18dp"
android:padding="10dp"
android:textStyle="bold"
android:text="Moviewheewd ewudwd wedewd w"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/revi_fulldes_movierev_sitename"
android:layout_marginLeft="10dp"
android:layout_marginTop="20dp"
android:text="simple jwehd wj dewjd"/>
</LinearLayout>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="10dp"
android:background="#00FFFFFF"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="40dp"
android:paddingLeft="10dp"
android:paddingRight="10dp"
android:orientation="horizontal">
<Button
android:id="@+id/movie_save"
android:text="hello"
android:layout_width="184dp"
android:gravity="center"
android:textSize="20dp"
android:layout_height="40dp"
android:background="#4DFFFFFF"/>
<Button
android:id="@+id/movie_share"
android:layout_marginLeft="10dp"
android:text="hello world"
android:textSize="20dp"
android:layout_marginRight="10dp"
android:gravity="center"
android:layout_width="164dp"
android:layout_height="40dp"
android:background="#4DFFFFFF"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="10dp"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#FFFFFF">
<TextView
android:id="@+id/revi_fulldes_moviedisc_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="25dp"
android:layout_marginBottom="25dp"
android:textSize="@dimen/new_Discription_text"
android:text="fs dsfjsdf sjf ds fds fsd fds fds fs fmdmsn fsm fsm fsm fdsm f
hdfbsd fsdjfhsd dfdsj fsd fdsj fds fds fdsj fsd df
fsdfhsd dfjsd fhds fjs fds fjds dfs
dskjfsd fsd fs dfsd dfsd fs dfksd fkds fkds fdks fdsk fdsk f
f skdf sk fksd fksd fdsk fsk f f ff df
f skf skf ksdf fsk fkdfdkdf ksf
fks fsk dk fks fdks fdksf sk f
f skdf skf ksf skdf dsf df dskf kdf kds
f ksd fdksf dskf df dskf dskf dsk f dsk f
fksf s fksd "/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="15dp"/>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="245dp"
android:background="#FFFFFF">
<TextView
android:id="@+id/revi_fulldes_movieyoutube_text"
android:layout_marginLeft="10dp"
android:gravity="center_vertical"
android:text="Video"
android:layout_width="fill_parent"
android:layout_height="35dp"
android:textStyle="bold"
android:textSize="15dp"/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="183dp"
android:id="@+id/revi_fulldes_movieyoutubeImg"
android:src="@drawable/imag_bg"
android:scaleType="fitXY"/>
</LinearLayout>
<View
android:layout_width="wrap_content"
android:layout_height="15dp"/>
<View
android:layout_width="wrap_content"
android:layout_height="15dp"/>
</LinearLayout>
我需要我的下面的图像边缘左,右缘空间 这里