3

I an displaying Stopwatch data using TextView as 01:00:45 on the format hh:mm:ss

iPhone has the API to shown the Label in an inverted format which gives the impression of a reflection.

In iPhone , a label is first displayed on the screen. Below the first label , the second label is displayed with the data of the first label in an inverted manner , which gives an impression of a data having reflection.

Is there any API to display the TextView in inverted manner on Android?

enter image description here

enter image description here

After referring to the link

Kindly provide your inputs/sample code.

Community
  • 1
  • 1
chiranjib
  • 5,250
  • 7
  • 51
  • 82

1 Answers1

0

1)To display inverted text with respect to x-axis

android:rotationX="180"

(add this in the xml file within the respective element)

2)To display inverted text with respect to y-axis

android:rotationY="180"

(add this in the xml file within the respective element)

Praveen Gowda I V
  • 9,321
  • 4
  • 40
  • 49