title: How to make the Toolbar title clickable exactly like on ActionBar, without setting it as ActionBar?
body: <h2>Background</h2>
  
  <p>I wish to show an ActionBar on PreferenceActivity, as it's not available for pre-Honeycomb devices (even in the support library).</p>
  
  <p>Because such a class isn't available on the support library, I can't just call "setSupportActionBar" . I also don't wish to use a library (like <a href="https://github.com/kolavar/android-support-v4-preferencefragment"><strong>this one</strong></a>) since all of the libraries I've found still use Holo style, so they didn't get updated so far, with this in mind.</p>
  
  <p>To do this, I'm trying to mimic the look&amp;feel of the title of the ActionBar into the new <a href="http://developer.android.com/reference/android/support/v7/widget/Toolbar.html"><strong>Toolbar</strong></a> class, that was presented on support library v7 .</p>
  
  <h2>The problem</h2>
  
  <p>I've succeeded putting a title and a an "up" button, but I can't find out how to make them clickable like a normal action bar, including the effect of touching.</p>
  
  <h2>The code</h2>
  
  <p>Here's the code:</p>
  
  <p><strong>SettingsActivity.java</strong></p>
  
  <pre><code>public class SettingsActivity extends PreferenceActivity
    {
    @Override
    protected void onCreate(final Bundle savedInstanceState)
      {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_settings);
      addPreferencesFromResource(R.xml.pref_general);
      final Toolbar toolbar=(Toolbar)findViewById(R.id.toolbar);
      toolbar.setBackgroundColor(getResources().getColor(R.color.windowBackgroundColor));
      toolbar.setTitle("Settings");
      toolbar.setClickable(true);
      toolbar.setLogo(getResIdFromAttribute(this,R.attr.homeAsUpIndicator));
      }
  
    public static int getResIdFromAttribute(final Activity activity,final int attr)
      {
      if(attr==0)
        return 0;
      final TypedValue typedvalueattr=new TypedValue();
      activity.getTheme().resolveAttribute(attr,typedvalueattr,true);
      return typedvalueattr.resourceId;
      }
    }
  </code></pre>
  
  <p><strong>activity_settings.xml</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      tools:context="com.antonioleiva.materialeverywhere.SettingsActivity" &gt;
  
      &lt;include
          android:id="@+id/toolbar"
          layout="@layout/toolbar" /&gt;
  
      &lt;FrameLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent" &gt;
  
          &lt;View
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:background="@drawable/abs__ab_solid_shadow_holo" /&gt;
  
          &lt;ListView
              android:id="@android:id/list"
              android:layout_width="match_parent"
              android:layout_height="match_parent" /&gt;
      &lt;/FrameLayout&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <h2>What I've tried</h2>
  
  <p>I've tried all of the click listeners types of the Toolbar class, but none helped. </p>
  
  <p>The only thing that almost worked is to use "setNavigationIcon" instead of "setLogo", but that actually makes the title&amp;icon being clicakable, yet only the icon shows its effect of being clicked (even if I click on the title). </p>
  
  <h2>The question</h2>
  
  <p>How can I add the look &amp; feel of the Toolbar, to have the title &amp; logo of it to look like the ActionBar?</p>