From de51cd844486cea329a9613b5fffeceb3e603f39 Mon Sep 17 00:00:00 2001 From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 05 四月 2017 12:10:49 +0800 Subject: [PATCH] --- VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java | 22 ---------------------- VisitFace/DemoForBsk/app/src/main/res/layout/fragment_phone_call_left.xml | 31 ------------------------------- 2 files changed, 0 insertions(+), 53 deletions(-) diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java index 4ab8853..e9017ab 100644 --- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java +++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/fragment/PhoneCallFragment.java @@ -31,8 +31,6 @@ private View fragment_phone_call_left; private View mViewRight; - @ViewInject(R.id.fragment_phone_call_left_radio_group) - private RadioGroup fragment_phone_call_left_radio_group; @ViewInject(R.id.fragment_phone_call_left_sort_radio_group) private RadioGroup fragment_phone_call_left_sort_radio_group; @ViewInject(R.id.fragment_phone_call_left_sort_type_linear_layout) @@ -67,26 +65,6 @@ } protected void initListeners() { - fragment_phone_call_left_radio_group.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { - @Override - public void onCheckedChanged(RadioGroup radioGroup, int i) { - switch (radioGroup.getCheckedRadioButtonId()){ - case R.id.fragment_phone_call_left_visitor_radio: - fragment_phone_call_left_sort_type_linear_layout.setVisibility(View.GONE); - mAdapter = new CheckInLeftListViewAdapter(getActivity(), Constant.CheckIn.VISITOR_ROW); - mAdapter.setList(mList); - fragment_phone_call_left_list_view.setAdapter(mAdapter); - break; - case R.id.fragment_phone_call_left_interviewee_radio: - fragment_phone_call_left_sort_type_linear_layout.setVisibility(View.VISIBLE); - mAdapter = new CheckInLeftListViewAdapter(getActivity(), Constant.CheckIn.INTERVIEWEE_ROW); - mAdapter.set_fragment_check_in_left_sort_radio_group_type(CheckInLeftListViewAdapter.TYPE_NAME); - mAdapter.setList(mList); - fragment_phone_call_left_list_view.setAdapter(mAdapter); - break; - } - } - }); fragment_phone_call_left_sort_radio_group.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() { @Override public void onCheckedChanged(RadioGroup radioGroup, int i) { diff --git a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_phone_call_left.xml b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_phone_call_left.xml index 2e71ac7..c7c683a 100644 --- a/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_phone_call_left.xml +++ b/VisitFace/DemoForBsk/app/src/main/res/layout/fragment_phone_call_left.xml @@ -2,7 +2,6 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> - <TextView android:id="@+id/fragment_phone_call_left_back" android:layout_width="wrap_content" @@ -13,36 +12,6 @@ android:layout_centerVertical="true" android:textColor="#8BD2F6" /> - <RelativeLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="gone"> - - <RadioGroup - android:id="@+id/fragment_phone_call_left_radio_group" - android:layout_width="match_parent" - android:layout_height="51dp" - android:gravity="center" - android:orientation="horizontal"> - <RadioButton - android:id="@+id/fragment_phone_call_left_visitor_radio" - android:button="@null" - android:text="鏉ヨ浜哄憳" - android:textColor="@color/tab_visitor_register" - android:background="@drawable/visitor_register_rb_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - <RadioButton - android:id="@+id/fragment_phone_call_left_interviewee_radio" - android:button="@null" - android:text="琚浜哄憳" - android:checked="true" - android:textColor="@color/tab_visitor_register" - android:background="@drawable/visitor_register_rb_right" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - </RadioGroup> - </RelativeLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" -- Gitblit v1.8.0