यह सीधा लगता है, लेकिन मैं यह नहीं कर सकता कि यह कैसे करना है। मेरे पास एक EditText और दो ImageButtons के साथ एक क्षैतिज लेआउट है। मैं चाहता हूं कि ImageButtons एक निश्चित आकार का हो, और EditText लेआउट में शेष स्थान लेने के लिए। इसे किस तरह पूर्ण कर सकते है?
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<EditText
android:layout_width="wrap_content"
android:layout_height="wrap_content">
</EditText>
<ImageButton
android:src="@drawable/img1"
android:layout_width="50dip"
android:layout_height="50dip">
</ImageButton>
<ImageButton
android:src="@drawable/img2"
android:layout_width="50dip"
android:layout_height="50dip">
</ImageButton>
</LinearLayout>