官术网_书友最值得收藏!

Creating Android Layouts

Mobile App user interfaces have come a long way from the early days, and while users have more devices to choose from than ever, they all expect consistently high-quality experiences from their apps. Apps are expected to run fast and the user interfaces are expected to be smooth; all this while running on a massive array of devices of varied capabilities. Your app needs to run on devices with screens as big as televisions on the one end of the scale, and smartwatches with screens as small as 2.5 cm or even smaller on the other end of the scale. At first glance, this may seem like a nightmare, but there are simple tricks to make building responsive Android apps easy.

In this book, you'll learn a perse set of skills as well as some theoretical knowledge that you can apply to build fast, responsive, and great-looking Android applications. You'll learn how to go about designing the screens that your application will actually need, and then how to build them for maximum flexibility and performance while keeping your code easy to read and avoiding bugs.

In this chapter, we will look at the basic principles used to build user interfaces for Android applications. You'll need to be familiar with concepts to build even the simplest Android application, so in this chapter, we'll cover the following topics:

  • The basic structure of an Android application
  • Creating a simple Activity and layout files using Android Studio
  • Where to find the most useful parts of the Android Studio layout editor
  • How a well-organized project is structured
主站蜘蛛池模板: 宁河县| 运城市| 临夏县| 四平市| 郧西县| 湘阴县| 宝坻区| 桑植县| 文登市| 精河县| 巩义市| 高邑县| 桐乡市| 西平县| 郧西县| 宁蒗| 西宁市| 应用必备| 桂阳县| 西吉县| 长汀县| 繁昌县| 错那县| 衡阳县| 山阳县| 兴业县| 手游| 磐安县| 香港 | 涞水县| 九江县| 旬邑县| 巴林左旗| 柳州市| 东至县| 工布江达县| 乐安县| 东安县| 乌兰县| 达州市| 绵阳市|