Home > Mobile >  Android development key is missing
Android development key is missing

Time:10-03

As shown in figure, when I was in building interface has five buttons, but in the end can only display two,
Five buttons are visible, don't know why,
The Ide is Android studio

CodePudding user response:

You are execution on the true, the general UI adapter needs to be done

CodePudding user response:

The rational use of warp_content, match_parent
As far as possible is to use RelativeLayout
According to different models, the use of different layout files in the corresponding directory, android will automatically match,
As far as possible use PNG images,
Use dp has nothing to do with the density of pixel unit, sp
The introduction of the percentage of the android layout,
Cut cut big resolution figure, when applied to the layout of the small resolution also can have very good display effect on your mobile phone,

CodePudding user response:

It's all right to put the layout file code
  • Related