title: I have activity_main with 2 button in Linear Layout. And i want this layout in ActionBar with icons
body: <pre><code>&lt;LinearLayout
          android:layout_alignParentLeft="true"
          android:layout_width="fill_parent"
          android:layout_height="match_parent"
          android:orientation="horizontal"&gt;
  
          &lt;Button
              android:id="@+id/action_home"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:text="Cancel" /&gt;
  
          &lt;Button
              android:id="@+id/action_exit"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:text="Ok" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want this layout to be addded in ActionBar. Also I want to add icons in the button.</p>