<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="center_vertical|left"
    android:orientation="vertical" >

       <TextView
           android:id="@+id/title"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:ellipsize="end"
           android:singleLine="true"
           android:textSize="@dimen/abs__action_bar_title_text_size" />

        <TextView android:id="@+id/subtitle"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textSize="@dimen/abs__action_bar_subtitle_text_size"
                  android:layout_marginTop="@dimen/abs__action_bar_subtitle_top_margin"
                  android:singleLine="true"
                  android:ellipsize="end"
                  android:visibility="gone" />
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:gravity="center_vertical|left"
    android:orientation="vertical"
    android:paddingLeft="4dp" >

       <TextView
           android:id="@+id/title"
           android:layout_width="wrap_content"
           android:layout_height="wrap_content"
           android:ellipsize="end"
           android:singleLine="true"
           android:textSize="@dimen/abs__action_bar_title_text_size" />

        <TextView android:id="@+id/subtitle"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textSize="@dimen/abs__action_bar_subtitle_text_size"
                  android:layout_marginTop="@dimen/abs__action_bar_subtitle_top_margin"
                  android:singleLine="true"
                  android:ellipsize="end"
                  android:visibility="gone" />
</LinearLayout>
Add some padding to the custom action bar view
Add some padding to the custom action bar view
