A standard "Edit name" dialog?

Is there any "standard" way to provide the dialog that can be found when an activity name is editing? 

I mean this layout/view 

Somehow I've managed to create something similar, but I'm wondering if the "standard" one has a different behavior on touch screens. So it's better to use something common, but not a crunched one, IMO. 

 

Thanks.