J2ME Polish
J2ME Polish 2.4 Documentation
Enough Software

fisheye view-type

The fisheye view-type smoothly scales all items and aligns them horizontally on MIDP 2.0+ devices. You can also have a look at the "fisheye" sample application.

Design

.mainScreen {
	padding: 2;
	padding-left: 10;
	padding-right: 10;
	background {
		type: horizontal-stripes;
		first-top-color: rgb(165,190,247);
		second-top-color: white;
		first-bottom-color: blue;
		second-bottom-color: black;
	}
	layout: horizontal-expand | horizontal-center | vertical-center;
	view-type: fisheye;
	fisheyeview-scale-start: 70%;
	fisheyeview-scale-end: 40%;
	fisheyeview-alpha-start: 200;
	fisheyeview-alpha-end: 80;
	fisheyeview-remove-text: true;		
	
}

CSS attributes:

JavaDoc

back to top