Is need to make a slider as on the layout.
(需要在布局上制作一个滑块。)
If there are many categories, arrows appear.
(如果类别很多,则会出现箭头。)
If the list of categories fits in width, the arrows must disappear.(如果类别列表适合宽度,则箭头必须消失。)
When resizing, if the categories do not fit, then arrows should appear.(调整大小时,如果类别不合适,则应该出现箭头。)
If there are less categories than the width, then the slider will not slide.(如果类别少于宽度,则滑块将不会滑动。)
How to do that.(怎么做。)
Maybe there is a ready-made plugin for this?(也许为此有一个现成的插件?)
ask by Denis translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…