How to tile small texture image onto page as its background?
来源:互联网 发布:什么是数据分析师 编辑:程序博客网 时间:2024/06/05 06:45
You don’t need to set a big size image as the background of pages if the image is texture or uniform color.
How to tile small texture image onto big page/area as its background?
First, define drawable xml in res/drawable,
bg_texture_image.xml:
<?xml version=”1.0″ encoding=”utf-8″?><bitmap xmlns:android=”http://schemas.android.com/apk/res/android” android:src=”@drawable/bg_image” android:tileMode=”repeat” />
Second, use it as the background,
android:background=”@drawable/bg_texture_image”
- How to tile small texture image onto page as its background?
- How to tile a background image in Android
- How To Convert HTML Page To Image
- how to set UITableViewCell background image
- UILabel How to set background image
- How to upgrade docker container after its image changed
- How to stretch a background image of a windows form
- How to set background image of a component in GWTEXT
- How to make android app’s background image repeat.
- How to make android app's background image repeat
- how to select a transparent background image in ms paint.
- How to save a web page as HTML or MHT
- How to implement scrolling image with javascript in web page
- How to do take snapshot image as binary data?
- use notifyicon to minimize the image onto the toolbar
- how to deploy webservice onto web application at websphere 6.1
- How to Cast Your Android Screen onto Your Linux Desktop
- Set image as background for a view
- AddressBook 地址簿 (电话簿) 访问与修改-IOS开发
- Java Socket实现HTTP客户端来理解Redirect和Forward区别
- ArcGIS Api For Flex 动态画点和线
- DBCP的配置参数
- cocos2d-x 中 CCMenu回调函数 调用父类的参数
- How to tile small texture image onto page as its background?
- Vbox 虚拟机不能显示桌面图标 解决方法
- NSDate相关
- 【代码】php 启动时报错的解决办法
- jquery 快速回到页首
- JavaWeb -- 文件上传下载示例
- CentOS 6网络DNS和IP图形和脚本配置
- sync、fsync、fdatasync三个函数以及O_SYNC标志位的区别
- navigation+tab bar