import android.content. *

0

When I add the line "import android.content. *", it turns gray. Without it I can not open another ativity.

I tried to create a new project, but it still has the same problem. Does anyone know what it can be?

    
asked by anonymous 27.05.2016 / 20:05

1 answer

1

Are you using Android Studio? If it is, it leaves the gray line because you have not yet used the Intent class in your code, leave import as is and try to write your code normally. If you make a mistake, please report back here so we can help you.

    
27.05.2016 / 20:21