Skip to Content
Android Developer Tools深入精要
book

Android Developer Tools深入精要

by Mike Wolfson
July 2014
Intermediate to advanced
248 pages
5h 19m
Chinese
GoTop Information, Inc.
Content preview from Android Developer Tools深入精要
組態選擇器
|
195
要在視覺化編輯器內改變螢幕大小與解析度,利用上方列表中的選項(參考圖
12-10
),
這能查看你的版面佈局在多個預設的螢幕大小中的呈現;該列表最上方包含所有你已
建立的
AVD
,下方有多種其他裝置,你可以在列表中選擇任何一個裝置,則將會更新
UI
的呈現以顯示版面在該設置下的情形。
[Page-199]
12-10
在視覺化編輯器裡設定螢幕解析度
我已提到在底部名為「
Preview All Screens
」(預覽所有螢幕大小)的選項,它將你的
UI
在多個不同裝置上的呈現繪製在一個畫面中(圖
12-11
),這工具即時地更新每個
不同的畫面,這表示你可以同時在多個不同裝置上看到你做的任何修改的影響;在下
面的例子,我調整最上方的按鈕將它往左移動,你會注意到右方較小的螢幕被更新以
反映
UI
的改變。
196
|
第十二章:使用圖形化編輯器
[Page-200]
12-11
預覽所有的螢幕大小
若你有使用資源修飾詞(第
166
頁「資源檔案」)以啟用不同版面佈局(針對特
定大小或方向的
UI
),則你需要個別修改每一個檔案;你在此工具中所做的修改
將只會影響目前正在編輯的
layout.xml
檔案,你需要個別編輯其他可選的版面佈
局檔案,並在每個這些檔案中完成你的修改。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Android 高效能多執行緒

Android 高效能多執行緒

Anders Goransson
深入淺出 jQuery

深入淺出 jQuery

Ryan Benedetti, Ronan Cranley
HTML5 錦囊妙計

HTML5 錦囊妙計

Christopher Schmitt, Kyle Simpson

Publisher Resources

ISBN: 9789863470861