added in API Level 11
scale of the view in the x direction.
A scaleX of 1 means no scaling is applied.
Ensure to change the minSDKVersion to 11, or greater.
android:scaleX = ".5"
Related Articles:
Resources:
http://developer.android.com/reference/android/view/View.html#attr_android:scaleX
http://developer.android.com/reference/android/R.attr.html#scaleX
Popular Posts
- android:textColorHighlight - Set the Color of Highlighted Text in an EditText
- android:ellipsize - Add an ellipsis(...) in a TextView
- Perform an Action after Enter keypress on EditText
- How to Register an Activity that Responds to NFC tags for URI's that point to a URL
- How to Import a Library
- Deprecated: android:singleLine - Set EditText to One Horizontally Scrolling Line
- android:alpha - Set the Opacity/Transparency of Text in TextView/EditText
- android:drawablePadding - Add Padding to a Drawable in a TextView, in XML
- Create a Drawable Object Variable
- String.valueOf - How to Convert a Double to a String