How to animate the imageview outside of its parent layout?

In Android, I want to equally divide the whole activity into 3 text views. How can I do this?

  • in parernt layout , i gave weightsum=3 and i  put 3 textviews each inside each layouts and i assigned layout_weight =1 for them. its working fine but ,if i include a imageview in middle layout the design got damaged. i dont't want it. how can i fix this error?

  • Answer:

    Give weights to the text view instead of giving to the layout containing then.

Lokesh Gurram at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.