Supporting multiple screen is most important thing is android i think.We are doing some view different size.I know it is basic but i am curious about that.
For example i do a Edittext and i give width 200 dip for 480X800 screen.When i run this project 240X320 screen it will seen too big.We can fix this problem image with the drawable folder but how can we fix it view this problem?I know we can give wrap_content but when we give dip it is bad? When we give dip what is best effort from scale?
THX.
Just like with
drawables, you can create different folders with layouts for different screen sizes.As long as you keep the names of the files consistent across the folders, Android will manage picking the right one automatically.
Just create folders such as:
However, this does mean you will need to manually make adjustments for all screen sizes. Like in your example of the
EditText, you will need to manually set the size to100dpfor example in the small screen layout.