Main issue: text is squished so hard by View, so it gets cut. Key moments:
- TableRow is a child of LinearLayout so weight is supported.
- TableRow contains one
TextViewwithandroid:layout_width="wrap_content"other are"0dp" - All TableRow child views have
android:weight="1" - TableLayout android:isScrollContainer="true" is present
Text cut issue photo

full code here: https://gist.github.com/Sukhobrusov/af5608c520056e114743215eca1631f0
- android:isScrollContainer="true"
- TextView.android:layout_gravity="fill"
- Placing everything inside HorizontalScrollView won't work, as width is not working "0dp"
view hierarchy:
Table
- Row
- - Text wrap_content
- - Text 0dp
- - Text 0dp
.
.
~
Expected behaviour: View is squished to the limit until it's impossible to surpass the minWidth = 1 symbol. WRAP_CONTENT TextView shouldn't push more as the limit is reached.
Well. It's impossible to stretch the TableLayout from XML the way I wanted to. So the answer will be to just set the
android:layout_widthto some number and REMOVE THE WEIGHTS