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.
but when run in on samsung 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
Post a Comment