Can't see Button added to Android MediaController
===

I've extended `MediaController` to include a Done button. However I can't see the Done button. Here's the subclass:

	
        public class MediaControllerWithDoneButton extends MediaController {
    		
    		public MediaControllerWithDoneButton(android.content.Context context) {
    			super(context);
    
    			Button doneButton = new Button(MyActivity.this);
    			doneButton.setText("Done");
    			doneButton.setLayoutParams(this.getLayoutParams());
    			doneButton.setOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View view) {
                    	Log.d("", "Done button!");
                    }
                });
    			LinearLayout container = new LinearLayout(MyActivity.this);
    			container.addView(doneButton);
    		}
    	}

Perhaps the button is being pushed off the screen because the layout somehow doesn't have space. Or perhaps setting the text of the button isn't sufficient and its frame or similar needs to be set. I'm brand new to Android so any help is appreciated!