Created settimedlayout and settimedactiviy in activity.py