2013年9月18日星期三

[Android] Eclipse, how to view the function declarations help documentation ?

Such as
myView.drawImage (canvas, mBitDestTop, x, y, w, h, bx, by)
meaning of these parameters are what ?

There is no similar kind of VC + + MSDN?
------ Solution ---------------------------------------- ----
automatically fill all on the line, you reading this will know, use Eclipse's Ctrl + Shift + o auto-complete reference class

but I feel you necessarily know Typeface did not know that pkg, is estimated to see someone else's code , haha



------ eference ------------------------------------ ---
cursor landed function , press F1, the document does have jumped out to help , but not for this function . Instead, the general editor of help .


------ eference ------------------------------------ ---
found in the sdk docs in there
on android-sdk_r07-windows \ android \ docs \ sdk \ preview \ start.html in . Into the Reference column , which will have all the api, class library collection .

there is a small doubt , for example, I saw on the web page snippet Typeface font; But to import libraries to identify the Typeface. How do I know this class is in which class library ?

( eg android.graphics. *)
------ eference ---------------------------- -----------
open doc document
eg file :/ / / E :/ work / android / android-sdk-windows / docs / reference / packages.html
Click on the left upper Class Index, you can find what you want in alphabetical order to view the object , and then you can view the response method of
example alphabetically V -> View -> drawImage
------ eference ------------------ ---------------------
sdk documentation ah , is the general api reference
------ eference ------- --------------------------------
Please answer me this question above ,

then listed it

For example, I saw on the web page snippet Typeface font; However, to import certain libraries in order to identify the Typeface. How do I know this class is in which class library ?


------ eference ---------------------------------- -----
Reply DrSmart brother,
ah indeed ! Haha !

You said method is also really easy to use !
------ eference --------------------------------------- < br> on the display function to help put the issue of the possibility of carefully point , file :/ / / E :/ work / android / android-sdk-windows / docs / reference / packages.html, I installed the Elipse without this document ah ! ! !

没有评论:

发表评论