If you add any files,it will delete all existing files related to this question- questions only answer remains unchanged. Your request will be Queued. We will review the question and remove. It may take some days. If you add any files,it will delete all existing files related to this answer- only this answer. Tech Community Register Log in. Ask Question. Asked 5 years, 3 months ago. Active 5 years, 3 months ago. Viewed 4k times. Improve this question. Add a comment. Active Oldest Votes. LayoutParams view.
Improve this answer. Jahnold Jahnold 7, 2 2 gold badges 32 32 silver badges 29 29 bronze badges. Kunal Kunal 1 1 1 bronze badge. Your second phrase is not comprehensible. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. WilliamJockusch I found this out the hard way myself. The solution best sofar is to use LinearLayout whenever it is possible and it usually is , and to nest RelativeLayouts inside of LinearLayouts.
I had a table view which I made with relative layout with nested RelativeLayouts - on changing only the top view to LinearLayout, I got a normal execution time. I would speculate that you could hack an "AbsoluteLayout" by creating a LinearLayout with RelativeLayout inside of it, but the sound of that is terrible.
Use RelativeLayout and set left and right margins like RelativeLayout. LayoutParams LayoutParams. Lavanya 3, 6 6 gold badges 29 29 silver badges 56 56 bronze badges. Ganesh Kanna Ganesh Kanna 2, 18 18 silver badges 29 29 bronze badges. Stoycho Andreev Stoycho Andreev 5, 1 1 gold badge 23 23 silver badges 27 27 bronze badges. Andrew Andrew 3 3 gold badges 9 9 silver badges 27 27 bronze badges. I think the only way would be in effect if not technically an absolute layout. Then I could do ones for various buckets but as it is I'm expecting a pain in the ass with it.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete?
Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta. Now live: A fully responsive profile.
0コメント