Questions tagged [layout-optimization]

6 questions
3
votes
2 answers

Meaning of layoutopt tool output

I use layoutopt like 'layoutopt layout.xml' And I get this message: 9:18 This tag and its children can be replaced by one and a compound drawable 28:78 Use an android:layout_height of 0dip instead of wrap_content for better…
Lukap
  • 31,523
  • 64
  • 157
  • 244
2
votes
1 answer

What vim errorformat to use for Android's layoutopt tool?

What vim errorformat do you use when running Android's layoutopt tool? (So you can load the results in Vim's quickfix window.) Sample layoutopt output: res/layout/main.xml 31:31 Use an android:layout_height of 0dip instead of fill_parent for…
idbrii
  • 10,975
  • 5
  • 66
  • 107
1
vote
1 answer

Display many views efficiently in a FlexboxLayout

My goal is to efficiently display a lot of TextViews (with background) in a FlexboxLayout (or something similar). I want to display information about actors and crew members from a movie in a kind of 'tag'-layout style How the layout looks like (one…
1
vote
5 answers

Android - Want to optimize Layout

I have created the below layout using Linear Layout , its running fine but i have one doubt that it can be optimized because i have created this UI using nested Linear Layout , i think its not well. So Can you please help me to optimize this Linear…
Paresh Mayani
  • 127,700
  • 71
  • 241
  • 295
1
vote
2 answers

How to optimize window layout for full screen view? WPF

I have a WPF window that hosts a simple layout of a home button, top row of buttons and a video feed but when I maximise the window. the layout is out of sync with the standard view. I have tried to remedy some of the layout by setting the image…
Brian Var
  • 6,029
  • 25
  • 114
  • 212
0
votes
0 answers

Creating a dynamic UI based on server response efficiently

I have an app where the UI elements are decided in the backend. Whenever the app opens it makes a call to server and server returns a json containing the settings and data based on which the UI will be updated. The current approach we are following…