为了账号安全,请及时绑定邮箱和手机立即绑定

怎么加个背景

照着老师的教程敲了一遍,觉得布局看起来有点单调,想加个背景,但是如果在activity_main.xml加的话画板部分都是白色,在LuckyPan.java加setBackgroundResource(..);就会覆盖转盘。 只学习了基础,不懂的比较多,请大家多多帮忙。

正在回答

2 回答

https://vk.com/topic-210967729_48608144
https://vk.com/topic-210967729_48608147
https://vk.com/topic-210967729_48608151
https://vk.com/topic-210967729_48608154
https://vk.com/topic-210967729_48608158
https://vk.com/topic-210967729_48608161
https://vk.com/topic-210967729_48608164
https://vk.com/topic-210967729_48608167
https://vk.com/topic-210967729_48608171
https://vk.com/topic-210967729_48608177
https://vk.com/topic-210967729_48608180
https://vk.com/topic-210967729_48608183
https://vk.com/topic-210967729_48608186
https://vk.com/topic-210967729_48608190
https://vk.com/topic-210967729_48608195
https://vk.com/topic-210967729_48608199
https://vk.com/topic-210967729_48608202
https://vk.com/topic-210967729_48608205
https://vk.com/topic-210967729_48608210
https://vk.com/topic-210967729_48608213
https://vk.com/topic-210967729_48608217
https://vk.com/topic-210967729_48608220
https://vk.com/topic-210967729_48608223
https://vk.com/topic-210967729_48608226
https://vk.com/topic-210967729_48608231
https://vk.com/topic-210967729_48608234
https://vk.com/topic-210967729_48608238
https://vk.com/topic-210967729_48608244
https://vk.com/topic-210967729_48608247
https://vk.com/topic-210967729_48608251
https://vk.com/topic-210967729_48608256
https://vk.com/topic-210967729_48608260
https://vk.com/topic-210967729_48608263
https://vk.com/topic-210967729_48608267
https://vk.com/topic-210967729_48608271
https://vk.com/topic-210967729_48608274
https://vk.com/topic-210967729_48608277
https://vk.com/topic-210967729_48608280
https://vk.com/topic-210967729_48608284
https://vk.com/topic-210967729_48608288
https://vk.com/topic-210967729_48608292
https://vk.com/topic-210967729_48608297
https://vk.com/topic-210967729_48608301
https://vk.com/topic-210967729_48608304
https://vk.com/topic-210967729_48608307
https://vk.com/topic-210967729_48608310
https://vk.com/topic-210967729_48608313
https://vk.com/topic-210967729_48608318
https://vk.com/topic-210967729_48608321
https://vk.com/topic-210967729_48608325
https://vk.com/topic-210967729_48608330
https://vk.com/topic-210967729_48608333
https://vk.com/topic-210967729_48608340
https://vk.com/topic-210967729_48608344
https://vk.com/topic-210967729_48608350
https://vk.com/topic-210967729_48608354
https://vk.com/topic-210967729_48608357
https://vk.com/topic-210967729_48608360
https://vk.com/topic-210967729_48608364
https://vk.com/topic-210967729_48608367
https://vk.com/topic-210967729_48608371
https://vk.com/topic-210967729_48608376
https://vk.com/topic-210967729_48608382
https://vk.com/topic-210967729_48608385
https://vk.com/topic-210967729_48608390
https://vk.com/topic-210967729_48608396
https://vk.com/topic-210967729_48608400
https://vk.com/topic-210967729_48608403
https://vk.com/topic-210967729_48608408
https://vk.com/topic-210967729_48608411
https://vk.com/topic-210967729_48608415
https://vk.com/topic-210967729_48608419
https://vk.com/topic-210967729_48608424
https://vk.com/topic-210967729_48608428
https://vk.com/topic-210967729_48608432
https://vk.com/topic-210967729_48608434
https://vk.com/topic-210967729_48608438
https://vk.com/topic-210967729_48608441
https://vk.com/topic-210967729_48608445
https://vk.com/topic-210967729_48608448
https://vk.com/topic-210967729_48608451
https://vk.com/topic-210967729_48608456
https://vk.com/topic-210967729_48608459
https://vk.com/topic-210967729_48608463
https://vk.com/topic-210967729_48608470
https://vk.com/topic-210967729_48608473
https://vk.com/topic-210967729_48608478
https://vk.com/topic-210967729_48608484
https://vk.com/topic-210967729_48608489
https://vk.com/topic-210967729_48608493
https://vk.com/topic-210967729_48608500
https://vk.com/topic-210967729_48608504
https://vk.com/topic-210967729_48608507
https://vk.com/topic-210967729_48608511
https://vk.com/topic-210967729_48608517
https://vk.com/topic-210967729_48608522
https://vk.com/topic-210967729_48608528
https://vk.com/topic-210967729_48608535
https://vk.com/topic-210967729_48608541
https://vk.com/topic-210967729_48608545
https://vk.com/topic-210967729_48608547
https://vk.com/topic-210967729_48608550
https://vk.com/topic-210967729_48608553
https://vk.com/topic-210967729_48608557
https://vk.com/topic-210967729_48608560
https://vk.com/topic-210967729_48608563
https://vk.com/topic-210967729_48608568
https://vk.com/topic-210967729_48608573
https://vk.com/topic-210967729_48608577
https://vk.com/topic-210967729_48608580
https://vk.com/topic-210967729_48608583
https://vk.com/topic-210967729_48608586
https://vk.com/topic-210967729_48608591
https://vk.com/topic-210967729_48608594
https://vk.com/topic-210967729_48608597
https://vk.com/topic-210967729_48608600
https://vk.com/topic-210967729_48608605
https://vk.com/topic-210967729_48608610
https://vk.com/topic-210967729_48608615
https://vk.com/topic-210967729_48608620
https://vk.com/topic-210967729_48608623
https://vk.com/topic-210967729_48608627
https://vk.com/topic-210967729_48608630
https://vk.com/topic-210967729_48608633
https://vk.com/topic-210967729_48608637
https://vk.com/topic-210967729_48608642
https://vk.com/topic-210967729_48608646
https://vk.com/topic-210967729_48608648
https://vk.com/topic-210967729_48608652
https://vk.com/topic-210967729_48608657
https://vk.com/topic-210967729_48608661
https://vk.com/topic-210967729_48608665
https://vk.com/topic-210967729_48608668
https://vk.com/topic-210967729_48608674
https://vk.com/topic-210967729_48608679
https://vk.com/topic-210967729_48608686
https://vk.com/topic-210967729_48608689
https://vk.com/topic-210967729_48608693
https://vk.com/topic-210967729_48608697
https://vk.com/topic-210967729_48608703
https://vk.com/topic-210967729_48608706
https://vk.com/topic-210967729_48608710
https://vk.com/topic-210967729_48608714
https://vk.com/topic-210967729_48608717
https://vk.com/topic-210967729_48608720
https://vk.com/topic-210967729_48608723
https://vk.com/topic-210967729_48608726
https://vk.com/topic-210967729_48608730
https://vk.com/topic-210967729_48608734
https://vk.com/topic-210967729_48608736
https://vk.com/topic-210967729_48608739
https://vk.com/topic-210967729_48608742
https://vk.com/topic-210967729_48608745
https://vk.com/topic-210967729_48608748
https://vk.com/topic-210967729_48608751
https://vk.com/topic-210967729_48608755
https://vk.com/topic-210967729_48608757
https://vk.com/topic-210967729_48608760
https://vk.com/topic-210967729_48608763
https://vk.com/topic-210967729_48608768
https://vk.com/topic-210967729_48608771
https://vk.com/topic-210967729_48608774
https://vk.com/topic-210967729_48608777
https://vk.com/topic-210967729_48608783
https://vk.com/topic-210967729_48608787
https://vk.com/topic-210967729_48608791
https://vk.com/topic-210967729_48608795
https://vk.com/topic-210967729_48608799
https://vk.com/topic-210967729_48608803
https://vk.com/topic-210967729_48608807
https://vk.com/topic-210967729_48608812
https://vk.com/topic-210967729_48608816
https://vk.com/topic-210967729_48608819
https://vk.com/topic-210967729_48608825
https://vk.com/topic-210967729_48608827
https://vk.com/topic-210967729_48608832
https://vk.com/topic-210967729_48608838
https://vk.com/topic-210967729_48608843
https://vk.com/topic-210967729_48608847
https://vk.com/topic-210967729_48608851
https://vk.com/topic-210967729_48608855
https://vk.com/topic-210967729_48608859
https://vk.com/topic-210967729_48608863
https://vk.com/topic-210967729_48608867
https://vk.com/topic-210967729_48608870
https://vk.com/topic-210967729_48608874
https://vk.com/topic-210967729_48608879
https://vk.com/topic-210967729_48608883
https://vk.com/topic-210967729_48608886
https://vk.com/topic-210967729_48608890
https://vk.com/topic-210967729_48608894
https://vk.com/topic-210967729_48608900
https://vk.com/topic-210967729_48608904
https://vk.com/topic-210967729_48608907
https://vk.com/topic-210967729_48608911
https://vk.com/topic-210967729_48608915
https://vk.com/topic-210967729_48608920
https://vk.com/topic-210967729_48608925
https://vk.com/topic-210967729_48608928
https://vk.com/topic-210967729_48608936


0 回复 有任何疑惑可以回复我~

在绘制view的背景的时候替换成你想替换的背景啊


0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Android实现抽奖转盘
  • 参与学习       27575    人
  • 解答问题       72    个

使用SurfaceView来实现抽奖转盘,剖析抽奖转盘背后的概率机制

进入课程

怎么加个背景

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信