Open saffull opened 7 years ago
Um... May I pardon me? What is the 400,600?
Anyway, ScalableLayout must have just one 'match_parent' between width and height of its LayoutParams. Because ScalableLayout has the aspect ratio of width, height (ex. 400,200).
ScalableLayout sl = new ScalableLayout(this, 400, 200);
here how can i make the 400,600 to match parent if the scalable layout is inside a linear Layout..?