videoView自己就有带进度条;mediaplayer要自己添加呢

解决方案 »

  1.   

    自己做一个进度条,以popwindow的形式覆盖“在视频上就可以了啊。
      

  2.   

    android下window好像有好多种,请问各种window是怎么添加的?层次又是如何觉定的?
      

  3.   


    在view上新建一个popupwindow:
    PopupWindow pwindow =null;
     
     private void showPopWindow(){
      Log.d(TAG, "///showpopwindow/////");
      LayoutInflater infalter = this.getLayoutInflater();
      View v = infalter.inflate(R.layout.popmessage,(ViewGroup)this.findViewById(R.id.toast_layout_root));
      pwindow = new PopupWindow(v,200,200);
      pwindow.setFocusable(true);
      pwindow.setBackgroundDrawable(getResources().getDrawable(R.drawable.icon));
      pwindow.showAtLocation(flayout , Gravity.CENTER, 0, 0);
      

  4.   

    android中有很多种类的window,eg:Application windows、Sub_windows、System windows,这些window都在Z轴上从上到下排列,请问怎样能不显示某一种类型的window呢?