By this way in androis studio using java programming language ,you invite and arrive to property element of Activity :
getResources().getString(R.string.id)
but with KOTLIN programming language it is writing like this :
resources.getString(R.string.id)
without getResources()
you see that i write :
resources
in place of : getResources()