title: Edit text with alert dialog box
body: <p>I am new to android development and I want to show an alert dialog box for an edit text field. User should enter his weight from 10kg to 99kg only if he enters more than 2 digits  alert dialog box should appear, and also  with out entering the weight if we press the measure Button it should show the alert dialog. plz some one help me with sample code.</p>
  
  <p>The alert dialog should contain both text and OK button. Any Idea?</p>