<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="0.1">
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1" >
<ImageButton
android:id="@+id/qrcode"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:background="@drawable/qrcode" />
</LinearLayout>
</LinearLayout>
이미지버튼을 제외하면 제가 원하는 LinearLayout 사이즈가 나오는데
이미지버튼만 추가를 하면 크기가 늘어나네요...
아마 이미지버튼에 사용하는 이미지 크기 때문인거같은데....
LinearLayout사이즈에 맞게 구성하는 방법이 없을까요?