开发者

how to show all of my component in the tab layout?

开发者 https://www.devze.com 2023-03-02 09:35 出处:网络
i am facing a problem and wish you help me.. i am using tabs in my code and and i added a lot of component in it (Buttons , ImageButtons, etc..) and i put this layout in the center of the screen and

i am facing a problem and wish you help me..

i am using tabs in my code and and i added a lot of component in it (Buttons , ImageButtons, etc..) and i put this layout in the center of the screen and here is the problem because not all my component appear in my layout (some buttons appears and others not and i can't see it or deal with it).

So can i shrink the component 开发者_开发问答or customize it to appear fine?

iam using TableLayout to manage the component then i added this layout in the corresponding tab ..

can you help me in that? thnaxx in advance.


Give same weight to component in xml file . i.e.

android:layout_weight="1"

Hope it will solve the problem

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号