Closed dkramer95 closed 3 years ago
@agnostic-apollo Apart from the cutoff outline (which I have fixed), the latest changes on master
looked good.
I have removed unneeded copying of ViewUtils
. The termux-shared
library is already a dependency so can use it directly.
As for bubble size, it has now increased in size on my LG G5. 60dp
is better for me. Did you increase it deliberately or is it the same size with the new change on your phone(s)?
Thanks for checking the rest.
The size was same for me. This is what it looks like on my device with some other regular icons for scale.
(It probably increased in size now that it is using dp
. Same thing happened when I tested on S7.. That's when I noticed issue because S7 initially was displaying smaller than my other devices... This should probably be a customizable option as well as users may want bubble smaller or larger)
Yeah, see its bigger than your normal icons. Point of floating button is to be small so that its not intrusive to other apps. Try 60dp
yourself and compare with an app that has a chat head like messenger. Android's FloatingActionButton.SIZE_NORMAL
is set to 56dp
actually and we should probably use that. Customizable option can be added in future.
I forgot to mention the likely cause for the border issue, it may have something to do with color.properties
support that was setting the TerminalView
background color but is fixed now, so not an issue.
Android's FloatingActionButton.SIZE_NORMAL is set to 56dp actually and we should probably use that.
I have changed the default size to 56dp
to follow this standard.
Customizable option can be added in future.
Ya, IMO I think bubble looks better slightly larger. But more incentive for me to work on this, as I'm sure other users will appreciate customizations :)
I forgot to mention the likely cause for the border issue, it may have something to do with color.properties support that was setting the TerminalView background color but is fixed now, so not an issue.
It worked out because I was able to get outline to draw a little nicer than before.
I have changed the default size to 56dp to follow this standard.
Thanks. This perfectly matches flynx browser bubble as well.
think bubble looks better slightly larger. But more incentive for me to work on this,
Yeah, you right, you can fix your own problems here ;) Make sure to have min/max range
It worked out because I was able to get outline to draw a little nicer than before.
Yeah, I didn't even notice it before.
dp
instead ofpx
so bubble size should now be consistent across devices.round_button.xml
drawable as no longer needed