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

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
主站蜘蛛池模板: 宁德市| 通道| 突泉县| 张北县| 云霄县| 万盛区| 元朗区| 桦甸市| 莲花县| 来安县| 古浪县| 翼城县| 裕民县| 方城县| 乌兰浩特市| 睢宁县| 黄陵县| 永定县| 普兰县| 历史| 云安县| 河间市| 衡东县| 察雅县| 绥中县| 盐池县| 双桥区| 伊宁市| 高阳县| 黄山市| 宜黄县| 阳朔县| 开阳县| 南溪县| 寻甸| 克什克腾旗| 远安县| 礼泉县| 谢通门县| 监利县| 嘉兴市|