Android app background fails to run on phone but works on android studio preview -


not sure why happening. first let me homework assignment (as open (we have learn somehow). not late or on due). error getting not part of assignment, assignment done, experimenting things. added background image app. in preview works fine. how previews in android studio

but when run in on samsung note 4 on note 4

here code...can tell me error be?

 <relativelayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingleft="@dimen/activity_horizontal_margin" android:paddingright="@dimen/activity_horizontal_margin" android:paddingtop="@dimen/activity_vertical_margin" android:paddingbottom="@dimen/activity_vertical_margin" tools:context=".mainactivity" android:background="@drawable/cool_red_and_black_desktop_wallpaper_hd_3"> 

your phone's resolution higher. need increase image's resolution , add in drawable-xxhdpi folder. try , see whether works.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -