Saturday, July 11, 2015

// //

Making Android Kid's Zoo app (part 1)

I want to show how to make this simple app (Android Animal Sounds) and after we finished this lesson you can edit it and use it whatever you want...

When the user click the animal photo the animal sound played. (Isn't it cool :) ! haha





 Make a folder and name it(drawable) and copy and paste this code:


repeatbar.xml




headbar_repeat.png


 repeatbottombackground.xml



bottom_bar_repeat.png


drop_shadow.xml

    


 copy this code into your Activity_main.xml in layout folder:

Activity_main.xml

    
        
        
    
    
    
     
        
        
             
            
    
     
    
    
        
        
    
    
    
     
        
    
    
    
    
    



In values folder make an xml and name it ids:
 ids.xml

    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false
    false


Copy this code to string.xml in values folder:
 string.xml


    CapstoneAnimalsounds
    Hello world!
    Settings
     Photos
      Developer
      More Apps
Here's what we've done:

kids zoo application android
That's it we're done in designing(part I),
 Now go to part II for coding......:)