貼近左邊邊界
各位先進請教一下~
我想把物件填滿整個視窗
如下圖左邊始終有個邊界無法貼近
https://farm6.staticflickr.com/5576/14439362649_c877eb78e8.jpg
請問要怎麼修改才可以讓VideoView貼近左邊邊界
感謝~
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".MainActivity" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_marginTop="0dp" >
<VideoView
android:id="@+id/videoView1"
android:layout_width="640dp"
android:layout_height="360dp" />
<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world" />
......
</LinearLayout>
</RelativeLayout>