android - what size to use for background? -


i want use image of backgrounds, not know size must set different size android, there several specification can tell me need use size in pixels . application

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/your_selected_background_image"  > 

android:layout_width="fill_parent" , android:layout_height="fill_parent" attributes in main layout fill background of app image have selected on device.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -