Hello. The screen contains views broken down by weight. WeightSum = 100. Weight at EditText = 40. Now the text is written in one line. And it is necessary to write in the entire block height. I know that there is an attribute lines but I can not count them. Because of the weight on different screens will be different heights. How to be?

  • can help - TimurVI
  • Nope, I already managed) - Flippy

1 answer 1

Just added

 android:layout_height="0dp" android:minHeight="0dp" android:maxHeight="0dp"