-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text size problem on High res devices and tablets #5
Comments
any solution of font size? |
|
Hello, How can I increase text size? |
I used scaleX and scaleY to zoom the text, it worked fine. <test.jinesh.captchaimageviewlib.CaptchaImageView
android:id="@+id/image"
android:layout_width="wrap_content"
android:layout_height="@dimen/_30sdp"
android:scaleX="2"
android:scaleY="2"
/> |
Setting hard code value for scaleX and scaleY will not work for all resolutions if we set it to 2, then the image will be over sized for low res devices, a better solution is to add dimen files for each resolution and define dimen values like 1, 1.5, 2 etc for each density, and use that dimen value for scaleX and scaleY. |
Font size is too small for high res devices like xxxhdpi and tables
The text was updated successfully, but these errors were encountered: