• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Image not Getting displayed on emulator as well as on device

 
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to make a splash screen which will be displayed for 5 sec then another activity will start. i am unable to set background and also use image view to view the image on xml file.
but when i Run the apk on emulator or Android device its not displaying the image
the HomeScreen code is

public class HomeActivity extends Activity {



activity_home.xml is



AndroidManifest.xml is



the image welcombls is present in
Bluelagon\res\drawable-hdpi - Dimentions= 480X800
Bluelagon\res\drawable-ldpi-Dimentions =240X320
drawable-mdpi -Dimentions =320X480

but still its not displaying image on Emulator as well as any device ( tried it on 4.1 android version && 5.0 android version device)


Please let me whats going wrong as this never happened before

Thanks and please reply soon
 
reply
    Bookmark Topic Watch Topic
  • New Topic