2012-07-11から1日間の記事一覧

残念なBitmapDrawable

AndroidではBitmapDrawableなXMLで画像の繰り返しの表現が可能です。例えば、とある画像bg.pngがdrawableのどこかに入れあるとし、 <bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/bg" android:tileMode="repeat" /> のようなbg_repeat.xmlをdrawableに作成します。 その上で、何らかのViewのbackgroun…</bitmap>