call requestLayout() on mQueuePosView
Seems to fix the issue on Android 5.x, so we can get rid of the hint-hack
This commit is contained in:
parent
1ede004545
commit
a04aa57f7a
@ -49,7 +49,6 @@ THE SOFTWARE.
|
||||
<TextView
|
||||
android:id="@+id/queue_pos"
|
||||
android:singleLine="true"
|
||||
android:hint="00/00"
|
||||
android:gravity="right"
|
||||
android:layout_gravity="top" />
|
||||
</TableRow>
|
||||
|
@ -337,7 +337,7 @@ public class FullPlaybackActivity extends PlaybackActivity
|
||||
PlaybackService service = PlaybackService.get(this);
|
||||
mQueuePosView.setText((service.getTimelinePosition() + 1) + "/" + service.getTimelineLength());
|
||||
}
|
||||
mInfoTable.requestLayout(); // ensure queue pos column has enough room
|
||||
mQueuePosView.requestLayout(); // ensure queue pos column has enough room
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user