Themes: Add rotation and translation to composed icons
This feature allows a theme to specify a rotation and translation in addition to scaling the original icon when composing. To use this new feature a theme designer will need to include the <rotate /> and/or <translate /> tags with the following syntax: <rotate angle="angle_to_rotate" /> where angle_to_rotate can be from 0 to 360 degrees <translate xOffset="x_value" yOffset="y_value" /> where x_value and y_value are device indipendent pixels and can be any value (both positive and negative depending on which way you want to move the icon) ex: <rotate angle="45"/> <translate xOffset="-10" yTranslate="15"/> Change-Id: I37ccf7861d22ee3aa21fce25e7e1b1afc49b3bcc
Loading
Please register or sign in to comment