Skip to content
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

控件尺寸不支持自定义缩放 #15

Open
GengJian opened this issue Apr 17, 2022 · 5 comments
Open

控件尺寸不支持自定义缩放 #15

GengJian opened this issue Apr 17, 2022 · 5 comments

Comments

@GengJian
Copy link

根据我们UI图的设计,整个控件放上去太大;现在只能通过
android:scaleX="0.66"
android:scaleY="0.66"
的方式调整,但是这样写的话两边会留白

@kojofosu
Copy link
Owner

English please ?👀

@kojofosu
Copy link
Owner

okay yeah, that's true...will look into that for you

@GengJian
Copy link
Author

According to the design of our UI Designer,
the view is too large;

Now only through
android:scaleX="0.66"
android:scaleY="0.66"

However, if it is written in this way, both sides will be left blank

@GengJian
Copy link
Author

@kojofosu Thank you for ur reply. Another problem is that the user can delete the numbers through the keyboard. At this time, the experience may not be very friendly(nothing shown in editText). May I suggest processing the default values in the callback?

@kojofosu
Copy link
Owner

@kojofosu Thank you for ur reply. Another problem is that the user can delete the numbers through the keyboard. At this time, the experience may not be very friendly(nothing shown in editText). May I suggest processing the default values in the callback?

if i get you right, are you trying to make the edittext read only? like a textview so users don't delete values? @GengJian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants