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:
1 parent
1ede004545
commit
a04aa57f7a
2 files changed
+1
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user