init main layout's view's id and some string res