From the course: Building Android Apps with Azure

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Implement login activity layout

Implement login activity layout

- [Narrator] Now we are ready to create our Azure Login Activity. I'm in the Android view, and I'm going to select our app module, to open it up. And I'm going into com.example.bookmark and in there, I'm going to select screens.base and right mouse on it, and select New, and Activity. And I'm going to select Basic Activity. I'm going to name our activity AzureLoginActivity. Now, I have already gone ahead and provided a layout XML file and I want to use that. The layout XML file is called activity_azure_login and if I try to do that, Android Studio is flagging an error and saying that I must provide a unique name for the resource layout file. Since I cannot provided the resource layout file that I want, I'm just going to temporarily create a new one here by removing one of these underscores. Now we go into our Package name. I'm going to remove this base because I want our AzureLoginActivity to be located into the screen's package. And also, I'm going to select Launcher Activity because…

Contents