E
E
Eugene2016-12-30 22:18:17
Android
Eugene, 2016-12-30 22:18:17

android images?

Android images, you need to make a button, on the left there should be an icon, on the right is text. How to load PNG images on a button so that the image takes up 1/4 of the left side of the button and that this button fits all screens and looks the same everywhere? Tried in drawble. Also tried in drawble-hhdpi etc. That is, I uploaded pictures of sizes 512x512, 32x32, 64x64, that is, I tried different resolutions. If it is possible to throw off the link where it is laid out on the shelves how to implement it. The vector won't work. It's not very clear on android.developer.com

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2016-12-30
@zagayevskiy

Make a LinearLayout with weights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question