summaryrefslogtreecommitdiff
path: root/android/testData/rename/MyView3_after.java
blob: c73fccd7dc19b0c04c8557f9ae2f2f1b3e161ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package p1.p2;

import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.Button;

@SuppressWarnings("UnusedDeclaration")
public class NewName extends Button {
    public NewName(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        int attribute = R.attr.answer;
        TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.NewName);
        int answer = a.getInt(R.styleable.NewName_answer, 0);
        a.recycle();
    }
}