Guest User

Untitled

a guest
Jan 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. package com.domandtom.antiaging;
  2.  
  3. import android.app.Activity;
  4. import android.os.Bundle;
  5. import android.view.View;
  6. import android.widget.Button;
  7.  
  8.  
  9. public class MoreActivity extends Activity {
  10.  
  11. /** Called when the activity is first created. */
  12. @Override
  13. public void onCreate(Bundle savedInstanceState) {
  14. super.onCreate(savedInstanceState);
  15. setContentView(R.layout.more);
  16.  
  17. Button button = (Button) findViewById(R.id.about_this_app_btn);
  18. button.setOnClickListener(new OnClickListener() {
  19. @Override
  20. public void onClick(View arg0) {
  21. setSelected(true);
  22. }
  23. });
  24. }
  25. }
Add Comment
Please, Sign In to add comment