开发者

How to call back live wallpaper preview layout

In livewallpaper it has two button setting and set . When I click button setting it will call preference screen . I want to com开发者_开发技巧e back to livewallpaper preview screen when I click any item in preference screen . How can I do it . Thanks in advance !


If you are referencing to CubeLiveWallpaper example from sample android code, add following code to CubeWallpaper2Settings.java

@Override
protected void onListItemClick(ListView l, View v, int position, long id) {
    finish();
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜