| | |
| | | import android.widget.TextView;
|
| | |
|
| | | import com.bsk.zhangbo.demoforbsk.R;
|
| | | import cn.com.basic.face.base.MainUIBaseFragment;
|
| | | import cn.com.basic.face.base.LeftRightBaseFragment;
|
| | | import cn.com.basic.face.base.MainActivity;
|
| | |
|
| | | import com.lidroid.xutils.ViewUtils;
|
| | |
| | | * Created by Sinoe on 2017/2/23.
|
| | | */
|
| | |
|
| | | public class DeviceFragment extends MainUIBaseFragment implements View.OnClickListener{
|
| | | public class DeviceFragment extends LeftRightBaseFragment implements View.OnClickListener{
|
| | | private View mViewLeft,mViewRight;
|
| | | private RelativeLayout mLayoutWifi,mLayoutLandline,mLayoutSchool,mLayoutCamera1,mLayoutCamera2;
|
| | | private TextView mTvWifi,mTvLandline,mTvSchool,mTvCamera1,mTvCamera2;
|
| | |
| | | return new DeviceFragment();
|
| | | }
|
| | |
|
| | | @Override
|
| | | public View addLeftLayout() {
|
| | | mViewLeft = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_device_left,null);
|
| | | mLayoutWifi = (RelativeLayout) mViewLeft.findViewById(R.id.device_wifi);
|
| | |
| | | return mViewLeft;
|
| | | }
|
| | |
|
| | | @Override
|
| | | public View addRightLayout() {
|
| | | mViewRight = LayoutInflater.from(getActivity()).inflate(R.layout.fragment_device_right,null);
|
| | | return mViewRight;
|