ListView修改快速滑动的滑块

1:如图

ListView修改快速滑动的滑块_第1张图片

2: ListView加入快速滑动属性

 

 3:修改activity的主题

   

 4:如果是fragment则

   4.1:

 

  4.2:

      ctxWithTheme = new ContextThemeWrapper(getActivity().getApplicationContext(), R.style.FragmentTheme1);
        localLayoutInflater = inflater.cloneInContext(ctxWithTheme);
        rootView = (ViewGroup) localLayoutInflater.inflate(R.layout.fragment_song, null, false);

  

转载于:https://www.cnblogs.com/galibujianbusana/p/8432342.html

你可能感兴趣的:(ListView修改快速滑动的滑块)