Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.layoutexample;
- import android.app.Activity;
- import android.os.Bundle;
- import android.widget.TextView;
- public class LayoutExampleActivity extends Activity {
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- TextView labelInfo = (TextView)findViewById(R.id.labelInfo);
- labelInfo.setText("this will not be visible");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement