kojofosu / Quantitizer

:sparkles: A quantity stepper for android projects
MIT License
189 stars 18 forks source link

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

Open GengJian opened 2 years ago

GengJian commented 2 years ago

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

kojofosu commented 2 years ago

English please ?👀

kojofosu commented 2 years ago

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

GengJian commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

@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