开发者

how to use image as a theme

开发者 https://www.devze.com 2023-01-25 07:06 出处:网络
I need to use perticular image as the theme f开发者_StackOverflowor my most of the activities in my application...

I need to use perticular image as the theme f开发者_StackOverflowor my most of the activities in my application... please help me how to do this..


Basic idea is to define and apply the custom style of your Activities in Res files. Tutorial here.


if your using XML display there is a field background

@drawable/custom_dialog_background

or

android:background in the XML anchors

setBackgroundResource(int) in your code

http://developer.android.com/reference/android/view/View.html#attr_android:background

0

精彩评论

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