takut
08/10/09, 17:26:45
creo este hilo para que la gente que tenga experiencia con el nuevo sdk de android, nos explique como se utiliza este nuevo elemento en el manifest. Sobre el tema, la documentacion de Android dice esto:
New <supports-screens> (http://developer.android.com/guide/topics/manifest/supports-screens-element.html) element lets you specify the device screen sizes that your application is designed and tested to support, where "size" is a combination of resolution and density. If your application is run on a device whose screen size is not specified in the <supports-screen> element, the system displays the application in compatibility mode, which performs best-effort scaling of the application UI to match the resolution and density of the screen. The attributes available for defining an application's screen support are:
smallScreen: Boolean value that indicates whether the application is designed to run on devices with small screens. Examples: QVGA low density; VGA high density.
normalScreens: Boolean value that indicates whether the application is designed to run on devices with normal screens. Examples: WQVGA low density; HVGA medium density; WVGA high density.
largeScreens: Boolean value that indicates whether the application is designed to run on devices with significantly larger screens, such that special care may be required on the application's part to make proper use of the screen area. Examples: VGA medium density; WVGA medium density.
anyDensity: Boolean value that indicates whether the application can accommodate any screen density.
resizable: Boolean value that indicates whether the application can expand its layout to fit slightly larger screens.
New <supports-screens> (http://developer.android.com/guide/topics/manifest/supports-screens-element.html) element lets you specify the device screen sizes that your application is designed and tested to support, where "size" is a combination of resolution and density. If your application is run on a device whose screen size is not specified in the <supports-screen> element, the system displays the application in compatibility mode, which performs best-effort scaling of the application UI to match the resolution and density of the screen. The attributes available for defining an application's screen support are:
smallScreen: Boolean value that indicates whether the application is designed to run on devices with small screens. Examples: QVGA low density; VGA high density.
normalScreens: Boolean value that indicates whether the application is designed to run on devices with normal screens. Examples: WQVGA low density; HVGA medium density; WVGA high density.
largeScreens: Boolean value that indicates whether the application is designed to run on devices with significantly larger screens, such that special care may be required on the application's part to make proper use of the screen area. Examples: VGA medium density; WVGA medium density.
anyDensity: Boolean value that indicates whether the application can accommodate any screen density.
resizable: Boolean value that indicates whether the application can expand its layout to fit slightly larger screens.