Create New Project
1. File -> New Project2. Give it the name you want (Spread here) and click Next
3. On next window, select API 15 (which covers more than 84% of android devices out there)
4. Select "Blank Activity"
Add an AppWidget
Now we need to create the home screen widget in the project. Right-click on java folder in your source tree and select Add->Widget->AppWidgetOn the next window, configure the widget as shown below:
As you can see, we are creating a resizable home-screen widget with a configuration screen.
Click Finish.
And that's it for this post, we created our project successfully with Android Studio. This is what you should see in your source tree:
Cheers ! :)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.