Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.foxylion.android.testapp;
- import android.app.Activity;
- import android.os.Bundle;
- import android.widget.Button;
- import android.widget.TextView;
- public class Sub extends Activity {
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- TextView tv = (TextView) findViewById(R.id.text);
- tv.setText("Sub.class");
- Button button = (Button) findViewById(R.id.button);
- button.setEnabled(false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement