Im trying to make a drawable xml resource to use as background for an activity. The background need to have a image at the top and one at the bottom. My problem is that the images doesn't keep aspect ratio and get stretch by height. How do I make them keep aspect ratio?
The popup_activity_background.xml
<?xml version="1.0" encoding="utf-8"?>
I use the background for the root view in my activity layout
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)