Make a game fit on the Android screen size

Hi guys!Can someone please help me.I’M trying to find how to make a game change its own size to fit on the Android screen.Like other games CLASHOFCLANS,TALKINGTOM ect.So please help me.

The whole topic of designing games fitting in all kinds of aspect ratios is pretty big. Maybe this StackOverflow thread gets you startet:

http://stackoverflow.com/questions/21369067/how-to-work-with-different-screen-resolutions