package net.hockeyapp.android.views;

import android.content.Context;
import android.content.res.Resources;
import android.util.TypedValue;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutParams;
import android.widget.TextView;

public class FeedbackMessageView extends LinearLayout
{
  private TextView ˊ;
  private TextView ˋ;
  private TextView ˎ;
  private boolean ˏ = true;

  public FeedbackMessageView(Context paramContext)
  {
    this(paramContext, true);
  }

  private FeedbackMessageView(Context paramContext, boolean paramBoolean)
  {
    super(paramContext);
    setOrientation(1);
    setGravity(3);
    setBackgroundColor(-3355444);
    this.ˊ = new TextView(paramContext);
    this.ˊ.setId(12289);
    LinearLayout.LayoutParams localLayoutParams1 = new LinearLayout.LayoutParams(-2, -2);
    int i = (int)TypedValue.applyDimension(1, 20.0F, getResources().getDisplayMetrics());
    localLayoutParams1.setMargins(i, i, i, 0);
    this.ˊ.setLayoutParams(localLayoutParams1);
    this.ˊ.setShadowLayer(1.0F, 0.0F, 1.0F, -1);
    this.ˊ.setSingleLine(true);
    this.ˊ.setTextColor(-7829368);
    this.ˊ.setTextSize(2, 15.0F);
    this.ˊ.setTypeface(null, 0);
    addView(this.ˊ);
    this.ˋ = new TextView(paramContext);
    this.ˋ.setId(12290);
    LinearLayout.LayoutParams localLayoutParams2 = new LinearLayout.LayoutParams(-2, -2);
    int j = (int)TypedValue.applyDimension(1, 20.0F, getResources().getDisplayMetrics());
    localLayoutParams2.setMargins(j, 0, j, 0);
    this.ˋ.setLayoutParams(localLayoutParams2);
    this.ˋ.setShadowLayer(1.0F, 0.0F, 1.0F, -1);
    this.ˋ.setSingleLine(true);
    this.ˋ.setTextColor(-7829368);
    this.ˋ.setTextSize(2, 15.0F);
    this.ˋ.setTypeface(null, 2);
    addView(this.ˋ);
    this.ˎ = new TextView(paramContext);
    this.ˎ.setId(12291);
    LinearLayout.LayoutParams localLayoutParams3 = new LinearLayout.LayoutParams(-2, -2);
    int k = (int)TypedValue.applyDimension(1, 20.0F, getResources().getDisplayMetrics());
    localLayoutParams3.setMargins(k, 0, k, k);
    this.ˎ.setLayoutParams(localLayoutParams3);
    this.ˎ.setShadowLayer(1.0F, 0.0F, 1.0F, -1);
    this.ˎ.setSingleLine(false);
    this.ˎ.setTextColor(-16777216);
    this.ˎ.setTextSize(2, 18.0F);
    this.ˎ.setTypeface(null, 0);
    addView(this.ˎ);
  }

  public void setAuthorLabelText(String paramString)
  {
    if ((this.ˊ != null) && (paramString != null))
      this.ˊ.setText(paramString);
  }

  public void setDateLabelText(String paramString)
  {
    if ((this.ˋ != null) && (paramString != null))
      this.ˋ.setText(paramString);
  }

  public void setFeedbackMessageViewBgAndTextColor(int paramInt)
  {
    if (paramInt == 0)
    {
      setBackgroundColor(-3355444);
      if (this.ˊ != null)
        this.ˊ.setTextColor(-1);
      if (this.ˋ != null)
        this.ˋ.setTextColor(-1);
    }
    else if (paramInt == 1)
    {
      setBackgroundColor(-1);
      if (this.ˊ != null)
        this.ˊ.setTextColor(-3355444);
      if (this.ˋ != null)
        this.ˋ.setTextColor(-3355444);
    }
    if (this.ˎ != null)
      this.ˎ.setTextColor(-16777216);
  }

  public void setMessageLabelText(String paramString)
  {
    if ((this.ˎ != null) && (paramString != null))
      this.ˎ.setText(paramString);
  }
}

/* Location:           /Users/vikas/Documents/Mhacks_Real_app/classes-dex2jar.jar
 * Qualified Name:     net.hockeyapp.android.views.FeedbackMessageView
 * JD-Core Version:    0.6.2
 */