Android: Smart way to customize AlertDialog while preserving default theme
===

I would like to show an AlertDialog with 2 lines of text as its message.  The 2nd line of text should be of a smaller font size than the first, be underlined, and I would like to be notified when it is clicked.  Also, I would like the AlertDialog to look similar to one constructed by calling AlertDialog.Builder.setMessage.  

The custom layout can be accomplished with the below code, but the result looks very different then dialogs created by using AlertDialog.Builder.setMessage.  The two images attached are dialogs created by this code, and by calling AlertDialog.Builder.setMessage, respectively.

Any suggestions for how to use my custom layout while preserving the default theme of the AlertDialog?


		
		AlertDialog.Builder builder = new AlertDialog.Builder(this);
		
		LinearLayout layout = new LinearLayout(this);
		layout.setOrientation(LinearLayout.VERTICAL);
				
		TextView tv1 = new TextView(this);
		tv1.setText("first line");
			
		TextView tv2 = new TextView(this);
		tv2.setText("second line");
		tv2.setTextSize(TypedValue.COMPLEX_UNIT_PX, tv1.getTextSize() * .8f);
		tv2.setPaintFlags(Paint.UNDERLINE_TEXT_FLAG);
		tv2.setOnClickListener(this);

		layout.addView(tv1);
		layout.addView(tv2);
		builder.setView(layout);
		
		builder.show();


![enter image description here][1]


![enter image description here][2]


  [1]: http://i.stack.imgur.com/ZK0JN.png
  [2]: http://i.stack.imgur.com/pJLQK.png