(In response to your last comment about setting to view on top of another.)
Simple, you can use several LinearLayouts, for example:
<LinearLayout
android:id="@+id/tab1"
... />
<TextView
android:text="Predefined Message"
... />
<ImageButton
... />
</LinearLayout>
LinearLayout (, , TextView) OnClickListener , ImageButton OnClickListener .
RelativeLayout, ImageButton OnClickListener TextView OnClickListener.
ActionBar, , . , .
An (!) RelativeLayout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="A long text sample"
/>
<Button
android:id="@+id/button2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/button1"
android:layout_marginRight="10dp"
android:text="i"
/>
</RelativeLayout>