BmToolbar.java 1.13 KB
package com.bitstrips.imoji.ui.views;

import android.content.Context;
import android.support.annotation.StringRes;
import android.support.v7.widget.Toolbar;
import android.util.AttributeSet;
import android.widget.TextView;

public class BmToolbar
  extends Toolbar
{
  public BmToolbar(Context paramContext)
  {
    this(paramContext, null);
  }
  
  public BmToolbar(Context paramContext, AttributeSet paramAttributeSet)
  {
    this(paramContext, paramAttributeSet, 2130772094);
  }
  
  public BmToolbar(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
  {
    super(paramContext, paramAttributeSet, paramInt);
  }
  
  public void setTitle(@StringRes int paramInt)
  {
    setTitle(getContext().getString(paramInt));
  }
  
  public void setTitle(CharSequence paramCharSequence)
  {
    TextView localTextView = (TextView)findViewById(2131689944);
    if (localTextView != null) {
      localTextView.setText(paramCharSequence);
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/ui/views/BmToolbar.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */