Tanvir
Tanvir

Reputation: 1673

Need to know android specific buttons in Eclipse

I want to know what the numbered places(in picture) are in Eclipse.

No-1 is a list of API. Is it the target API or API to compile against ?

No-2 is a list of devices, but what is the use of it,I already made an AVD for my application. What does it do then?

enter image description here

Upvotes: 0

Views: 53

Answers (4)

Akash
Akash

Reputation: 631

The current layout you're viewing is rendered based on what it would look like on the Device selected in "No-2". You can try changing it to see how it would scale to different screen sizes and devices. It has no effect on your final application.

"No-1" specifies which android-sdk version it would use to render the view. Thus you would get older looking widgets with a lower api and new holo-styled widgets with newer api levels. Again this does not alter anything in your actual application. It just gives you an idea of what your layout will look like in different api levels.

Upvotes: 1

Akbari Dipali
Akbari Dipali

Reputation: 2173

1: is the sdk version for that particular layout

and 2: indicates the device Screen, you can use this to check how your layout will be looked in different screens

Upvotes: 0

Rahul Rawat
Rahul Rawat

Reputation: 997

No-1 :- It show different-different layout . It is very useful at application DESIGNING . No-2 : - Which version do you like to run this layout.

There both no-1 and no-2 will be use for DESIGNING APPS and nothing . You can fix your design by include images in drawable , drawable-mdi,.... folders and if required choose layout-large, layout-small, layout-sw360dp (for galaxy 720*1250) etc.

Upvotes: 0

ngesh
ngesh

Reputation: 13501

"Nexu One" - It says that Your layout below as it looks on Nexus One.

Android icon - The sdk version..

Not much

Upvotes: 0

Related Questions