Tag Archives: setStyle

Introduction to Android Canvas – Simple Example

By | December 17, 2016

The Canvas can be used to draw graphics in android. It provides methods to draw oval, rectangle, picture, text, line etc. The Paint class is used with canvas to draw objects. It holds the information of color and style. In this example, we will draw some 2D Shapes. We will create class that extends View… Read More »

How to show a sliding window from below in Android?

By | December 22, 2011

Hello everyone, I have already showed you how to use a SlidingViewer to create a slidingWindow. Today I will show another way to create such a window with the help of animation. Please check one of my previous posts to do this in another way. How to show a sliding window from below in Android?… Read More »

How to change background of your window in code using adobe flex builder in actionscript?

By | December 26, 2010

The following code helps you to do this. It uses the “setStyle” property of the window to change it’s background style. The following code changes the background color of the window to black on a button click. Just copy and paste the following code. Call this function on the click of a button This code… Read More »