![](https://csdnimg.cn/release/download_crawler_static/9713261/bg13.jpg)
■ Contents
xix
6-18. Supporting Restricted Profiles ............................................................................ 570
Problem .............................................................................................................................................. 570
Solution...............................................................................................................................................570
How It Works ....................................................................................................................................... 571
Summary ...................................................................................................................... 584
■Chapter 7: Graphics and Drawing ���������������������������������������������������������������������� 585
7-1. Creating Drawables as Backgrounds .................................................................... 585
Problem .............................................................................................................................................. 585
Solution...............................................................................................................................................585
How It Works ....................................................................................................................................... 586
7-2. Creating Custom State Drawables ........................................................................ 593
Problem .............................................................................................................................................. 593
Solution...............................................................................................................................................593
How It Works ....................................................................................................................................... 593
7-3. Applying Masks to Images .................................................................................... 598
Problem .............................................................................................................................................. 598
Solution...............................................................................................................................................598
How It Works ....................................................................................................................................... 599
7-4. Drawing over View Content ................................................................................... 609
Problem .............................................................................................................................................. 609
Solution...............................................................................................................................................609
How It Works ....................................................................................................................................... 610
7-5. High-Performance Drawing .................................................................................. 625
Problem .............................................................................................................................................. 625
Solution...............................................................................................................................................626
How It Works ....................................................................................................................................... 626
7-6. Custom Drawables ................................................................................................ 637
Problem .............................................................................................................................................. 637
Solution...............................................................................................................................................637
How It Works ....................................................................................................................................... 637