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

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
主站蜘蛛池模板: 扶余县| 奉化市| 白山市| 湖口县| 元朗区| 孝昌县| 微博| 南安市| 博白县| 敦化市| 高陵县| 来安县| 正定县| 余姚市| 吉首市| 五指山市| 通山县| 南江县| 德庆县| 清原| 保靖县| 抚宁县| 金门县| 全州县| 苗栗县| 松溪县| 宁都县| 湛江市| 定陶县| 鹤峰县| 盐津县| 自贡市| 宣武区| 竹北市| 六安市| 和林格尔县| 佛山市| 丹凤县| 江口县| 鄢陵县| 温泉县|