- Building Android UIs with Custom Views
- Raimon Ràfols Montané
- 213字
- 2021-07-02 15:33:36
Installing development tools
In order to get started creating your own custom views, you only need what you'll normally need to develop Android mobile applications. In this book, we will be using Android Studio, as it's the tool recommended by Google.
We can get the latest version of Android Studio from its official site:
https://developer.android.com/studio/index.html.
Once we've downloaded the package for our computer, we can proceed with the installation:

Now, we can create a new project that we'll use to take our first baby steps on custom views.

After selecting the Application name, the Company Domain, which will be reversed into the application Package name and the Project location, Android Studio will ask us what type of project we want to create:

For this example, we don't need anything too fancy, just phone and tablet and API 21 support is more than enough. Once we've done that, we can add an Empty Activity:

In the case you need help installing Android Studio, there is a step by step guide on the Learning Android Application Development, Packt Publishing or there is always plenty of information on the Android developer documentation site. For more information, refer to:
https://www.packtpub.com/application-development/learning-android-application-development
Now, we are ready to run this app on a device emulator or on a real device.
- Cocos2d Cross-Platform Game Development Cookbook(Second Edition)
- Progressive Web Apps with React
- MongoDB for Java Developers
- 我的第一本算法書
- 青少年美育趣味課堂:XMind思維導(dǎo)圖制作
- 實(shí)戰(zhàn)低代碼
- 從Excel到Python:用Python輕松處理Excel數(shù)據(jù)(第2版)
- SQL基礎(chǔ)教程(第2版)
- Python算法指南:程序員經(jīng)典算法分析與實(shí)現(xiàn)
- Instant Lucene.NET
- ASP.NET程序開發(fā)范例寶典
- QPanda量子計(jì)算編程
- Visual Basic程序設(shè)計(jì)全程指南
- ASP.NET 4.0 Web程序設(shè)計(jì)
- Xamarin Cross-Platform Development Cookbook