@pengwang और जिसे यह चिंता का विषय हो सकता है
आधारभूत लाइन को संदर्भित करता है किसी भी दृश्य, बटन, छविदृश्य, या किसी भी नियंत्रण के आधार पर। जब आप आधारभूत संपत्ति का उपयोग कर रहे हैं तो आप उस आधार के किसी भी आईडी को दे रहे हैं जिसे आप संदर्भित करना चाहते हैं या वह स्थान जहां आप अपना बटन या कोई भी चाहते हैं। जब आप चित्रमय दृश्य में स्विच यह है कि यह कैसे आधारभूत जिसके लिए आप को परिभाषित किया है
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<RelativeLayout
android:id="@+id/relativeLayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<ImageButton
android:id="@+id/iB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_launcher"
android:layout_alignParentBottom="true" />
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@id/iB"
android:layout_alignBaseline="@id/relativeLayout1" />
</RelativeLayout>
</LinearLayout>