Android - stretch image partially

前端 未结 3 2010
予麋鹿
予麋鹿 2021-01-16 10:54

Is there any way to stretch image partially in android? Something like this

\"enter

3条回答
  •  执笔经年
    2021-01-16 11:07

    What you're doing is built into android, actually. Turn that image into a 9-patch.

    http://developer.android.com/guide/developing/tools/draw9patch.html

提交回复
热议问题