java - Android image view top crop -
i'm developing android application , need header use @ top of screen similar action bar ..... want transparent when start scroll view content of view goes behind decided use image view (it has different in fragment that's why didn't use action bar) used frame layout , fixed image view @ top height of 50 , used same background of main view source of image view .... problem scale type used center crop in main view , it's perfect it's useless in header i'm looking thing :
which center crop crops top of image . used this link wasn't i'm looking .....
your approach kind of hacky, suggest take @ using sticky fragment (for example).
the video, source , sample can found in this google+ post
Comments
Post a Comment