title: Set gravity of dynamic textview
body: <p>I have created a text view dynamically.I want to set its gravity to right.I have used textview.setGravity(Gravity.RIGHT) but its not working.When I am using it the text view is aligned to left direction only.How can I set the gravity of textview?I dont want to use setPadding().</p>
  
  <pre><code>textMore[i]=new TextView(this);
                      textMore[i].setGravity(Gravity.Right);
                      textMore[i].setText("more....");
  
                      textMore[i] .setTextColor(Color.BLUE);
  </code></pre>