<LinearLayout
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    >
<LinearLayout
    android:orientation="vertical"
    <!-- android:layout_width="fill_parent" -->
    android:layout_height="wrap_content"
    android:layout_weight="3"
    >
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tv1"
        android:textColor="#FFFFFF"
        />
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tv2"
        android:textColor="#FFFFFF"
        />
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:id="@+id/tv3"
        android:textColor="#FFFFFF"
        />
  </LinearLayout>
  <LinearLayout      <!-- empty layout -->
    android:orientation="vertical"
    <!-- android:layout_width="fill_parent" -->
    android:layout_height="wrap_content"
    android:layout_weight="7"
    >
  </LinearLayout>
</LinearLayout>

It just my thought.. not checked in code.



On 8월20일, 오후6시09분, CMF <[email protected]> wrote:
> I have a linearlayout below, i want something similar to
> android:layout_width="30%"
> does anyone know that?
>
> <LinearLayout
>     android:orientation="vertical"
>     android:layout_width="fill_parent"
>     android:layout_height="wrap_content"
>     >
>     <TextView
>         android:layout_width="fill_parent"
>         android:layout_height="wrap_content"
>         android:id="@+id/tv1"
>         android:textColor="#FFFFFF"
>         />
>     <TextView
>         android:layout_width="fill_parent"
>         android:layout_height="wrap_content"
>         android:id="@+id/tv2"
>         android:textColor="#FFFFFF"
>         />
>     <TextView
>         android:layout_width="fill_parent"
>         android:layout_height="wrap_content"
>         android:id="@+id/tv3"
>         android:textColor="#FFFFFF"
>         />
>   </LinearLayout>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to