0

I am displaying the date and the cricket score in a table. But my problem is when I am displaying the No 1,2,3,....upto 9 it is working fine...But when I displayed 10 the date in the next date column is moving one place right because of two digit number 10. How to solve this issue?

enter image description here

Any help will be thankful....

antoniom
  • 3,143
  • 1
  • 37
  • 53
RaagaSudha
  • 397
  • 5
  • 17
  • 38

1 Answers1

0

The alignment can be done with android:gravity="right"

Another option could be, to check if your number is smaller than 10 and prepend a zero figure

Stefan Pöltl
  • 362
  • 3
  • 9