git-svn-id: http://192.168.1.226/svn/proxy@457 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | import com.facebook.drawee.view.SimpleDraweeView;
|
| | |
|
| | | import cn.com.basic.face.base.MainActivity;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | | import cn.com.basic.face.discern.query.item.CheckInQueryItem;
|
| | | import cn.com.basic.face.util.AppApi;
|
| | |
|
| | |
| | |
|
| | | @Override
|
| | | public int[] getItemLayouts() {
|
| | | return new int[]{R.layout.fragment_check_in_left_visitor_row, R.layout.fragment_check_in_left_first_letter_row};
|
| | | return new int[]{R.layout.fragment_check_in_left_visitor_row, R.layout.fragment_check_in_left_first_letter_row,R.layout.load_more, R.layout.no_more, R.layout.reach_bottom};
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void onBindRecycleViewHolder(EasyRecyclerViewHolder viewHolder, final int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | TextView load_more_text_view = viewHolder.findViewById(R.id.load_more_text_view);
|
| | | load_more_text_view.setOnClickListener(new View.OnClickListener() {
|
| | | @Override
|
| | | public void onClick(View v) {
|
| | | cn.com.basic.face.fragment.CheckInFragment.getInstance().addPageNum();
|
| | | cn.com.basic.face.fragment.CheckInFragment.getInstance().append();
|
| | | }
|
| | | });
|
| | | return;
|
| | | }
|
| | | if (!(getItem(position) instanceof CheckInQueryItem)) {
|
| | | TextView fragment_phone_call_left_row_first_letter_name = viewHolder.findViewById(R.id.fragment_check_in_left_row_first_letter_name);
|
| | | fragment_phone_call_left_row_first_letter_name.setText(getItem(position)+"".toUpperCase());
|
| | |
| | |
|
| | | @Override
|
| | | public int getRecycleViewItemType(int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return 4;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return 3;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | return 2;
|
| | | }
|
| | | if (!(getItem(position) instanceof CheckInQueryItem)) {
|
| | | return 1;
|
| | | }
|
| | |
| | |
|
| | | @Override
|
| | | public int[] getItemLayouts() {
|
| | | return new int[]{R.layout.fragment_check_in_left_interviewee_row, R.layout.fragment_check_in_left_first_letter_row};
|
| | | return new int[]{R.layout.fragment_check_in_left_interviewee_row, R.layout.fragment_check_in_left_first_letter_row,R.layout.load_more, R.layout.no_more, R.layout.reach_bottom};
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void onBindRecycleViewHolder(EasyRecyclerViewHolder viewHolder, final int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | TextView load_more_text_view = viewHolder.findViewById(R.id.load_more_text_view);
|
| | | load_more_text_view.setOnClickListener(new View.OnClickListener() {
|
| | | @Override
|
| | | public void onClick(View v) {
|
| | | cn.com.basic.face.fragment.CheckInFragment.getInstance().addPageNum();
|
| | | cn.com.basic.face.fragment.CheckInFragment.getInstance().append();
|
| | | }
|
| | | });
|
| | | return;
|
| | | }
|
| | | if (!(getItem(position) instanceof CheckInQueryItem)) {
|
| | | TextView fragment_phone_call_left_row_first_letter_name = viewHolder.findViewById(R.id.fragment_check_in_left_row_first_letter_name);
|
| | | fragment_phone_call_left_row_first_letter_name.setText(getItem(position)+"".toUpperCase());
|
| | |
| | |
|
| | | @Override
|
| | | public int getRecycleViewItemType(int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return 4;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return 3;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | return 2;
|
| | | }
|
| | | if (!(getItem(position) instanceof CheckInQueryItem)) {
|
| | | return 1;
|
| | | }
|
| | |
| | |
|
| | |
|
| | | import cn.com.basic.face.base.MainActivity;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | | import cn.com.basic.face.discern.query.item.PhoneCallQueryItem;
|
| | | import cn.com.basic.face.util.AppApi;
|
| | |
|
| | |
| | |
|
| | | @Override
|
| | | public int[] getItemLayouts() {
|
| | | return new int[]{R.layout.fragment_phone_call_left_row, R.layout.fragment_phone_call_left_first_letter_row};
|
| | | return new int[]{R.layout.fragment_phone_call_left_row, R.layout.fragment_phone_call_left_first_letter_row,R.layout.load_more, R.layout.no_more, R.layout.reach_bottom};
|
| | | }
|
| | |
|
| | | @Override
|
| | | public void onBindRecycleViewHolder(EasyRecyclerViewHolder viewHolder, int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | TextView load_more_text_view = viewHolder.findViewById(R.id.load_more_text_view);
|
| | | load_more_text_view.setOnClickListener(new View.OnClickListener() {
|
| | | @Override
|
| | | public void onClick(View v) {
|
| | | cn.com.basic.face.fragment.VisitFragment.getInstance().addPageNum();
|
| | | cn.com.basic.face.fragment.VisitFragment.getInstance().append();
|
| | | }
|
| | | });
|
| | | return;
|
| | | }
|
| | | if (!(getItem(position) instanceof PhoneCallQueryItem)) {
|
| | | TextView fragment_phone_call_left_row_first_letter_name = viewHolder.findViewById(R.id.fragment_phone_call_left_row_first_letter_name);
|
| | | fragment_phone_call_left_row_first_letter_name.setText(getItem(position)+"".toUpperCase());
|
| | |
| | |
|
| | | @Override
|
| | | public int getRecycleViewItemType(int position) {
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.reachBottom) {
|
| | | return 4;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.noMorePage) {
|
| | | return 3;
|
| | | }
|
| | | if (getItem(position) instanceof Integer && ((int)getItem(position))== CommonVariables.Page.hasMorePages) {
|
| | | return 2;
|
| | | }
|
| | | if (!(getItem(position) instanceof PhoneCallQueryItem)) {
|
| | | return 1;
|
| | | }
|
| | |
| | | @ViewInject(R.id.fragment_check_in_left_interviewee_radio)
|
| | | private RadioButton fragment_check_in_left_interviewee_radio;
|
| | |
|
| | | private int pageNum = 1;
|
| | |
|
| | | private CheckInMng manager = CheckInMng.getInstance();
|
| | |
|
| | | @Override
|
| | |
| | |
|
| | | }
|
| | |
|
| | | private void reloadCheckInLeftList() {
|
| | | public void append() {
|
| | | fragment_check_in_left_sort_type_linear_layout.setVisibility(!fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | fragment_check_in_left_interviewee.setVisibility(!fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | fragment_check_in_left_visitor.setVisibility(fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | manager.findCheckInLeftList(fragment_check_in_left_visitor_radio.isChecked(),
|
| | | fragment_check_in_left_sort_by_dept_radio_button.isChecked(),
|
| | | fragment_check_in_left_search_edit_text.getText().toString());
|
| | | fragment_check_in_left_search_edit_text.getText().toString(), pageNum, true);
|
| | | }
|
| | |
|
| | | public void addPageNum() {
|
| | | pageNum++;
|
| | | }
|
| | |
|
| | | private void reloadCheckInLeftList() {
|
| | | pageNum = 1;
|
| | | fragment_check_in_left_sort_type_linear_layout.setVisibility(!fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | fragment_check_in_left_interviewee.setVisibility(!fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | fragment_check_in_left_visitor.setVisibility(fragment_check_in_left_visitor_radio.isChecked()?View.VISIBLE:View.GONE);
|
| | | manager.findCheckInLeftList(fragment_check_in_left_visitor_radio.isChecked(),
|
| | | fragment_check_in_left_sort_by_dept_radio_button.isChecked(),
|
| | | fragment_check_in_left_search_edit_text.getText().toString(), pageNum, false);
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | @ViewInject(R.id.fragment_phone_call_left_search)
|
| | | private EditText fragment_phone_call_left_search;
|
| | |
|
| | | private int pageNum = 1;
|
| | |
|
| | | public int[] getLeftRightLayoutIds() {
|
| | | return new int[]{R.layout.fragment_phone_call_left, R.layout.fragment_phone_call_right};
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void loadLeftList() {
|
| | | public void append() {
|
| | | PhoneCallMng.getInstance().findPhoneCallLeftList(!fragment_phone_call_left_sort_by_name_radio_button.isChecked(),
|
| | | fragment_phone_call_left_search.getText().toString());
|
| | | fragment_phone_call_left_search.getText().toString(), pageNum, true);
|
| | | }
|
| | |
|
| | | public void addPageNum() {
|
| | | pageNum++;
|
| | | }
|
| | |
|
| | | public void loadLeftList() {
|
| | | pageNum = 1;
|
| | | PhoneCallMng.getInstance().findPhoneCallLeftList(!fragment_phone_call_left_sort_by_name_radio_button.isChecked(),
|
| | | fragment_phone_call_left_search.getText().toString(), pageNum, false);
|
| | | }
|
| | |
|
| | | @OnClick(R.id.fragment_phone_call_left_back)
|
| | |
| | | package cn.com.basic.face.fragment; |
| | | |
| | | import android.os.Bundle; |
| | | import android.view.Surface; |
| | | import android.view.SurfaceView; |
| | | import android.view.View; |
| | | import android.widget.RadioButton; |
| | | import android.widget.RadioGroup; |
| | |
| | | @ViewInject(R.id.fragment_supervisory_bottom_attendance_list_view) |
| | | private SurveillanceBottomListView fragment_supervisory_bottom_attendance_list_view; |
| | | @ViewInject(R.id.fragment_supervisory_enter_camera) |
| | | VideoView fragment_supervisory_enter_camera; |
| | | SurfaceView fragment_supervisory_enter_camera; |
| | | @ViewInject(R.id.fragment_supervisory_exit_camera) |
| | | VideoView fragment_supervisory_exit_camera; |
| | | SurfaceView fragment_supervisory_exit_camera; |
| | | |
| | | static boolean useNative = false; |
| | | |
| | |
| | | import android.widget.Toast;
|
| | |
|
| | | import cn.com.basic.face.base.BaseApplication;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | | import cn.com.basic.face.discern.query.condition.CheckInQueryCondition;
|
| | | import cn.com.basic.face.discern.query.item.PhoneCallQueryItem;
|
| | | import cn.com.basic.face.fragment.CheckInFragment;
|
| | |
| | | });
|
| | | }
|
| | |
|
| | | public void findCheckInLeftList(final boolean isVisitorList, final boolean isSortByDept, String searchText) {
|
| | | public void findCheckInLeftList(final boolean isVisitorList, final boolean isSortByDept, String searchText, final int pageNum, final boolean append) {
|
| | | RequestParams params = new RequestParams(AppApi.BASE_URL +AppApi.Query.CHECK_IN_QUERY);
|
| | | if (isVisitorList) {
|
| | | params.addBodyParameter(CheckInQueryCondition.FieldNames.visitorCompanyId, BaseApplication.getInstance().getDevice().getCompanyId());
|
| | |
| | | params.addBodyParameter(CheckInQueryCondition.FieldNames.employeeCompanyId, BaseApplication.getInstance().getDevice().getCompanyId());
|
| | | }
|
| | | params.addBodyParameter(CheckInQueryCondition.FieldNames.username, searchText);
|
| | | params.addBodyParameter(CommonVariables.Page.PAGE_NUM, pageNum+"");
|
| | | params.addBodyParameter(CommonVariables.Page.PAGE_SIZE, "5");
|
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | | public void success() {
|
| | | List<CheckInQueryItem> list = getList(CheckInQueryItem.class);
|
| | |
| | | allItems.add(item);
|
| | | prev = name;
|
| | | }
|
| | | if (isVisitorList) {
|
| | | CheckInFragment.getInstance().get_fragment_check_in_left_visitor().show(allItems);
|
| | | if (hasMorePages()) {
|
| | | allItems.add(CommonVariables.Page.hasMorePages);
|
| | | } else {
|
| | | CheckInFragment.getInstance().get_fragment_check_in_left_interviewee().show(allItems, isSortByDept);
|
| | | if (getPageNum() > 1) {
|
| | | allItems.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | if (allItems.size() > 0) {
|
| | | allItems.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | allItems.add(CommonVariables.Page.noMorePage);
|
| | | }
|
| | | }
|
| | | }
|
| | | if (isVisitorList) {
|
| | | CheckInFragment.getInstance().get_fragment_check_in_left_visitor().show(allItems, append);
|
| | | } else {
|
| | | CheckInFragment.getInstance().get_fragment_check_in_left_interviewee().show(allItems, isSortByDept, append);
|
| | | }
|
| | | }
|
| | | });
|
| | |
| | | import java.util.List;
|
| | |
|
| | | import cn.com.basic.face.discern.common.BaseCommonCallBack;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | | import cn.com.basic.face.discern.query.condition.PhoneCallQueryCondition;
|
| | | import cn.com.basic.face.discern.query.item.PhoneCallQueryItem;
|
| | | import cn.com.basic.face.fragment.PhoneCallFragment;
|
| | |
| | | return instance;
|
| | | }
|
| | |
|
| | | public void findPhoneCallLeftList(final boolean isSortByDept, String searchText) {
|
| | | public void findPhoneCallLeftList(final boolean isSortByDept, String searchText, final int pageNum, final boolean append) {
|
| | | RequestParams params = new RequestParams(AppApi.BASE_URL +AppApi.Query.PHONE_CALL_QUERY);
|
| | | params.addBodyParameter(PhoneCallQueryCondition.FieldNames.username, searchText);
|
| | | x.http().post(params, new BaseCommonCallBack() {
|
| | |
| | | allItems.add(item);
|
| | | prev = name;
|
| | | }
|
| | | PhoneCallFragment.getInstance().get_fragment_phone_call_left_list_view().show(isSortByDept, allItems);
|
| | | if (hasMorePages()) {
|
| | | allItems.add(CommonVariables.Page.hasMorePages);
|
| | | } else {
|
| | | if (getPageNum() > 1) {
|
| | | allItems.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | if (allItems.size() > 0) {
|
| | | allItems.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | allItems.add(CommonVariables.Page.noMorePage);
|
| | | }
|
| | | }
|
| | | }
|
| | | PhoneCallFragment.getInstance().get_fragment_phone_call_left_list_view().show(isSortByDept, allItems, append);
|
| | | }
|
| | | });
|
| | | }
|
| | |
| | | import java.util.List;
|
| | |
|
| | | import cn.com.basic.face.adapter.CheckInFragment;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | | import cn.com.basic.face.util.Constant;
|
| | |
|
| | | public class CheckInLeftInterviewee extends EasyRecyclerView {
|
| | |
|
| | | private CheckInFragment.CheckInLeftIntervieweeAdapter mAdapter = new CheckInFragment.CheckInLeftIntervieweeAdapter();
|
| | | private CheckInFragment.CheckInLeftIntervieweeAdapter adapter = new CheckInFragment.CheckInLeftIntervieweeAdapter();
|
| | | private List list = new ArrayList();
|
| | |
|
| | | public void setAdapter(Context context) {
|
| | | setAdapter(mAdapter);
|
| | | setAdapter(adapter);
|
| | | }
|
| | |
|
| | | public CheckInLeftInterviewee(Context context) {
|
| | |
| | | setAdapter(context);
|
| | | }
|
| | |
|
| | | public void show(List list, boolean isSortByDept) {
|
| | | refresh(list, isSortByDept);
|
| | | public void show(List list, boolean isSortByDept, boolean append) {
|
| | | refresh(list, isSortByDept, append);
|
| | | }
|
| | |
|
| | | public void refresh(List list, boolean isSortByDept) {
|
| | | this.list.clear();
|
| | | this.list.addAll(list);
|
| | | mAdapter.setList(this.list);
|
| | | mAdapter.setSortByDept(isSortByDept);
|
| | | this.setAdapter(mAdapter);
|
| | | public void refresh(List list, boolean isSortByDept, boolean append) {
|
| | | if (append) {
|
| | | List newList = new ArrayList();
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.hasMorePages) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof
|
| | | Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.noMorePage) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | newList.addAll(adapter.getList());
|
| | | newList.addAll(list);
|
| | | adapter.setList(newList);
|
| | | } else {
|
| | | adapter.setList(list);
|
| | | }
|
| | | adapter.setSortByDept(isSortByDept);
|
| | | this.setAdapter(adapter);
|
| | | }
|
| | |
|
| | | }
|
| | |
| | | import java.util.List;
|
| | |
|
| | | import cn.com.basic.face.adapter.CheckInFragment;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | |
|
| | | public class CheckInLeftVisitor extends EasyRecyclerView {
|
| | |
|
| | | private CheckInFragment.CheckInLeftVisitorAdapter mAdapter = new CheckInFragment.CheckInLeftVisitorAdapter();
|
| | | private CheckInFragment.CheckInLeftVisitorAdapter adapter = new CheckInFragment.CheckInLeftVisitorAdapter();
|
| | | private List list = new ArrayList();
|
| | |
|
| | | public void setAdapter(Context context) {
|
| | | setAdapter(mAdapter);
|
| | | setAdapter(adapter);
|
| | | }
|
| | |
|
| | | public CheckInLeftVisitor(Context context) {
|
| | |
| | | setAdapter(context);
|
| | | }
|
| | |
|
| | | public void show(List list) {
|
| | | refresh(list);
|
| | | public void show(List list, boolean append) {
|
| | | refresh(list, append);
|
| | | }
|
| | |
|
| | | public void refresh(List list) {
|
| | | this.list.clear();
|
| | | this.list.addAll(list);
|
| | | mAdapter.setList(this.list);
|
| | | this.setAdapter(mAdapter);
|
| | | public void refresh(List list, boolean append) {
|
| | | if (append) {
|
| | | List newList = new ArrayList();
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.hasMorePages) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof
|
| | | Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.noMorePage) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | newList.addAll(adapter.getList());
|
| | | newList.addAll(list);
|
| | | adapter.setList(newList);
|
| | | } else {
|
| | | adapter.setList(list);
|
| | | }
|
| | | this.setAdapter(adapter);
|
| | | }
|
| | |
|
| | |
|
| | |
| | | import com.camnter.easyrecyclerview.widget.EasyRecyclerView;
|
| | |
|
| | | import cn.com.basic.face.adapter.PhoneCallFragment.PhoneCallLeftAdapter;
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | |
|
| | | import java.util.ArrayList;
|
| | | import java.util.List;
|
| | |
|
| | | public class PhoneCallLeftListView extends EasyRecyclerView {
|
| | |
| | | initView();
|
| | | }
|
| | |
|
| | | public void show(boolean isSortByDept, List list) {
|
| | | adapter.setList(list);
|
| | | public void show(boolean isSortByDept, List list, boolean append) {
|
| | | if (append) {
|
| | | List newList = new ArrayList();
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.hasMorePages) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | if (adapter.getList().size() > 0 && adapter.getList().get(adapter.getList().size()-1) instanceof
|
| | | Integer && ((int)adapter.getList().get(adapter.getList().size()-1))== CommonVariables.Page.noMorePage) {
|
| | | adapter.getList().remove(adapter.getList().size() - 1);
|
| | | }
|
| | | newList.addAll(adapter.getList());
|
| | | newList.addAll(list);
|
| | | adapter.setList(newList);
|
| | | } else {
|
| | | adapter.setList(list);
|
| | | }
|
| | | setAdapter(adapter);
|
| | | adapter.setSortByDept(isSortByDept);
|
| | | }
|
| | |
| | | android:layout_height="match_parent" |
| | | android:layout_weight="1" |
| | | > |
| | | <VideoView |
| | | <SurfaceView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:id="@+id/fragment_supervisory_enter_camera" /> |
| | |
| | | android:layout_weight="1" |
| | | android:layout_marginLeft="2dp" |
| | | > |
| | | <VideoView |
| | | <SurfaceView |
| | | android:id="@+id/fragment_supervisory_exit_camera" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent"/> |