Android xml ,2 button use minheight in a LinearLayout and 2 button is not in a line -


छवि दर्ज करें एंड्रॉइड: layout_width =

मुझे आशा है कि दो बटन गठबंधन कर रहे हैं, लेकिन यह ऊपर की तस्वीर की तरह है।

और जब मैं minheight निकालता है यह काम करता है,

इसलिए किसी को भी पता नहीं क्यों minheight सही बटन नीचे थोड़ा कारण।

आप उपयोग कर रहे हैं सभी विचारों के लिए गलत गुण इस तरह से प्रयास करें, आशा करते हैं कि यह आपकी समस्या को हल करने में आपकी सहायता करेगा। & lt; LinearLayout एंड्रॉइड: layout_width = "match_parent" एंड्रॉइड: layout_height = "wrap_content" & gt; & Lt; बटन एंड्रॉइड: layout_height = "wrap_content" android: layout_width = "0dp" एंड्रॉइड: लेआउट_वेट = "1" एंड्रॉइड: minHeight = "40dp" / & gt; & Lt; बटन एंड्रॉइड: layout_height = "wrap_content" android: layout_width = "0dp" एंड्रॉइड: लेआउट_वेट = "1" एंड्रॉइड: minHeight = "40dp" / & gt; & Lt; / LinearLayout & gt;

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -