android - Button with more touchable area -


implemented clear button edittext according this. button small , hard touched. how make button's touchable area bigger?

enter image description here

1) can use touch delegate

android developer documentation

2) or put button in separate linearlayout wraps content appropriate padding according size of clickable area want , set clickable button inside parameter.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -