Kotlin - R.string.navigation_drawer_open, Not being imported?

0

I'm trying to learn Kotlin, but, I'm not able to use navigation_drawer_open , nor navigation_drawer_close , as the attached image demonstrates

Would anyone give me a hint of what to do to fix the problem?

    
asked by anonymous 08.01.2018 / 23:08

1 answer

1

Are they declared in strings.xml? Usually these strings are created automatically, apparently they were not, so just add them to strings.xml:

<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
    
16.02.2018 / 20:35