NotLoggedInKeyboard.java
2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.bitstrips.imoji.keyboard;
import android.content.Context;
import android.content.Intent;
import android.graphics.PorterDuff.Mode;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.FrameLayout.LayoutParams;
import android.widget.ImageButton;
import com.bitstrips.imoji.ui.LoginActivity;
public class NotLoggedInKeyboard
extends FrameLayout
{
ImageButton a;
Button b;
public NotLoggedInKeyboard(Context paramContext)
{
super(paramContext);
setUp(paramContext);
}
public NotLoggedInKeyboard(Context paramContext, AttributeSet paramAttributeSet)
{
super(paramContext, paramAttributeSet);
setUp(paramContext);
}
public NotLoggedInKeyboard(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
{
super(paramContext, paramAttributeSet, paramInt);
setUp(paramContext);
}
private void setUp(Context paramContext)
{
paramContext = (FrameLayout)LayoutInflater.from(paramContext).inflate(2130903170, this);
this.a = ((ImageButton)paramContext.findViewById(2131689888));
this.a.getDrawable().setColorFilter(new PorterDuffColorFilter(-1, PorterDuff.Mode.SRC_ATOP));
this.b = ((Button)paramContext.findViewById(2131689889));
this.a.setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
BitmojiKeyboard.a(paramAnonymousView.getContext());
}
});
this.b.setOnClickListener(new View.OnClickListener()
{
public final void onClick(View paramAnonymousView)
{
paramAnonymousView = paramAnonymousView.getContext();
paramAnonymousView.startActivity(new Intent(paramAnonymousView, LoginActivity.class).addFlags(268435456));
}
});
}
protected void onAttachedToWindow()
{
super.onAttachedToWindow();
setLayoutParams(new FrameLayout.LayoutParams(-1, -1));
setBackgroundColor(-16711681);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/keyboard/NotLoggedInKeyboard.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/