# Android - Customer Attribute : android, Customer, Attribute
```java
package exam.Widget;
import android.app.*;
import android.content.*;
import android.content.res.*;
import android.os.*;
import android.util.*;
import android.widget.*;
import exam.AndroidExam.*;
public class Attribute extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.widget_attribute);
AttrButton btn = (AttrButton)findViewById(R.id.attrbtn);
EditText edit = (EditText)findViewById(R.id.attredit);
edit.setText(btn.mText);
}
}
class AttrButton extends Button {
String mText = "";
public AttrButton(Context context, AttributeSet attrs) {
super(context, attrs);
int i;
String Name;
String Value;
for (i=0;i
```
댓글