1234567891011121314151617181920212223242526272829303132333435363738394041 |
- package com.edufound.reader.cusview;
- import android.content.Context;
- import android.view.LayoutInflater;
- import android.widget.FrameLayout;
- import android.widget.ImageView;
- import android.widget.SeekBar;
- import android.widget.TextView;
- import com.edufound.reader.R;
- public class FullScreenVideoController {
- FrameLayout mController;
- ImageView mControllerBack;
- TextView mControllerVideoName;
- ImageView mControllerLittleIcon;
- SeekBar mControllerSeekBar;
- TextView mControllerCurTime;
- ImageView mControllerCenterStatus;
- ImageView mControllerLoading;
- public FullScreenVideoController(Context context) {
- this.mController = (FrameLayout) LayoutInflater.from(context).inflate(R.layout.player_controller, null);
- initControllView();
- }
- void initControllView() {
- mControllerBack = mController.findViewById(R.id.player_controller_back);
- mControllerVideoName = mController.findViewById(R.id.player_controller_videoname);
- mControllerLittleIcon = mController.findViewById(R.id.player_controller_little_icon);
- mControllerSeekBar = mController.findViewById(R.id.player_controller_seekbar);
- mControllerSeekBar = mController.findViewById(R.id.player_controller_seekbar);
- mControllerCurTime = mController.findViewById(R.id.player_controller_current);
- mControllerCenterStatus = mController.findViewById(R.id.player_controller_status);
- mControllerLoading = mController.findViewById(R.id.player_controller_loading);
- }
- public FrameLayout getController() {
- return this.mController;
- }
- }
|