0

I made an application on paint. I want to control the size of brush being used in paint using seek-bar.

In the menu(options) ,I have an option of changing brush size. So, by clicking on it, a seek bar should appear and I should be able to control that using save button (to set) and then use that value inside paint.

How do I do that?

4

1 回答 1

0

在 xml 中或在 onCreate 方法中获取它的引用时,使 seekbar 可见。

点击按钮使其可见。

通过在 Seekbar 上注册 OnSeekBarChangeListener 来使用最新值。

于 2013-07-06T19:02:33.757 回答