Can I take a view that has been rendered by the Android framework and rescale it to some other size?
android.icu.number.Scale. A class that defines a quantity by which a number should be multiplied when formatting. To create a Multiplier, use one of the factory methods. See also: NumberFormatter.
You need API 11 or above to scale a view. Here is how:
float scalingFactor = 0.5f; // scale down to half the size view.setScaleX(scalingFactor); view.setScaleY(scalingFactor);
In your XML
android:scaleX="0.5" android:scaleY="0.5"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With