리니어 레이아웃에 텍스트뷰가 두개있습니다.
여기서 첫번째 텍스트뷰에 나타나는 글씨 수에 따라 두번째 텍스트뷰가 옆으로 따라 움직이게 하고싶은데요
첫번째 텍스트뷰에 글씨 수가 길면 상관이 없는데 글씨수가 적을때도 두번째 텍스트뷰가 고정으로 그자리에 있습니다.
어떻게해야 두번째 텍스트가 고정으로 있지않고 첫번째 텍스트뷰에 길이에 따라 이동할 수 있을까요.
고수님들 아시면 알려주세요.. 감사합니다.
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="15.3dip"
android:layout_marginLeft="8dip"
android:layout_marginRight="8dip"
android:layout_marginTop="6.7dip"
android:layout_weight="1"
android:orientation="horizontal" >
<TextView
android:id="@+id/title"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_marginRight="4dip"
android:layout_weight="1"
android:background="#00ffffff"
android:ellipsize="end"
android:gravity="left|center_vertical"
android:singleLine="true"
android:textColor="#4d4d4d"
android:textSize="12.56dp"
android:lines="1"
/>
<TextView
android:id="@+id/size"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:background="@drawable/bg_video_mb"
android:ellipsize="end"
android:lines="1"
android:textColor="#ffffff"
android:textSize="11.56dp" />
</LinearLayout>