package Ġcom . quick bird stud ios . survey kit . backend . helpers . extensions Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . View Ċ import Ġandroid . view . input method . Input Method Manager Ċ import Ġandroid . widget . LinearLayout Ċ Ċ fun ĠView . vertical Margin ( margin : ĠInt ) Ġ{ ĊĠĠĠ Ġ( this . layout Params Ġas ĠLinearLayout . LayoutParams ). set Margins ( 0 , Ġmargin , Ġ 0 , Ġmargin ) Ċ } Ċ Ċ fun ĠView . horizontal Margin ( margin : ĠInt ) Ġ{ ĊĠĠĠ Ġ( this . layout Params Ġas ĠLinearLayout . LayoutParams ). set Margins ( margin , Ġ 0 , Ġmargin , Ġ 0 ) Ċ } Ċ Ċ fun ĠView . hide Keyboard () Ġ{ ĊĠĠĠ Ġval Ġimm Ġ= Ġcontext . getSystem Service ( Context . INPUT _ METHOD _ SERVICE ) Ġas ĠInput Method Manager ĊĠĠĠ Ġimm . hide Soft Input From Window ( window Token , Ġ 0 ) Ċ } ĊĊ