Android Background
Untuk memperindah aplikasi dan menghindari kebosanan, kita bisa mengganti background emulator Android. Kita bisa menambahkan background color atau background image.
1. Background Color
Untuk menambahkan background color ini, caranya sangat mudah sekali. Anda hanya perlu menambahkan statement android:background di file xml.
main.xml <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#444aaa">
</LinearLayout>

| <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/background"> </LinearLayout> |

Posted at 10:18PM Jun 21, 2010 by nety ozora in General | Comments[0]