blob: 45e53d0db06883e13be8db3083f65eecd9c00965 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package test.pkg;
import android.app.Activity;
import android.os.Bundle;
import android.widget.*;
public class WrongCastActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.casts);
Button button = (Button) findViewById(R.id.button);
ToggleButton toggleButton = (ToggleButton) findViewById(R.id.button);
TextView textView = (TextView) findViewById(R.id.edittext);
}
}
|