implementation of some android widgets