Header android 9patch

nonfollaset

New Member
I would like to create a full screen header for Android.I created the image that is 70 * 480 px (& 9patch).how can I do?I tried using the galaxy tab .. but it does not fill the screen horizontally.This is the code:\[code\]<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:foo="http://schemas.android.com/apk/res/aaa.bbb" android:id="@+id/db1_root" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/background"> <ImageView android:src="http://stackoverflow.com/questions/10634541/@drawable/header" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="top" ></ImageView>\[/code\]thanks in advance.
 
Back
Top