|
|
@@ -16,6 +16,7 @@ import android.view.View;
|
|
|
import android.widget.AdapterView;
|
|
|
import android.widget.CheckBox;
|
|
|
import android.widget.CompoundButton;
|
|
|
+import android.widget.LinearLayout;
|
|
|
import android.widget.ListView;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
@@ -103,6 +104,8 @@ public class ContactsActivity extends OABaseActivity implements ContactsAdapter.
|
|
|
private boolean isSingleSelect = true;//true 单选 false 多选
|
|
|
private String searchKey;
|
|
|
private int allSelect = 0;
|
|
|
+
|
|
|
+ private LinearLayout include_tag;
|
|
|
|
|
|
|
|
|
@Override
|
|
|
@@ -136,13 +139,19 @@ public class ContactsActivity extends OABaseActivity implements ContactsAdapter.
|
|
|
mlist = (PullToRefreshListView) findViewById(R.id.mList);
|
|
|
all_sure_cb = (CheckBox) findViewById(R.id.all_sure_cb);
|
|
|
mumber_tv = (TextView) findViewById(R.id.mumber_tv);
|
|
|
-
|
|
|
+ include_tag= (LinearLayout) findViewById(R.id.include_tag);
|
|
|
|
|
|
voiceSearchView = (VoiceSearchView) findViewById(R.id.voiceSearchView);
|
|
|
if (getIntent() != null) {
|
|
|
type = getIntent().getIntExtra("type", 0);
|
|
|
String title = getIntent().getStringExtra("title");
|
|
|
isSingleSelect = getIntent().getBooleanExtra("isSingleSelect", true);
|
|
|
+ if(isSingleSelect){
|
|
|
+ include_tag.setVisibility(View.GONE);
|
|
|
+ }else{
|
|
|
+ include_tag.setVisibility(View.VISIBLE);
|
|
|
+
|
|
|
+ }
|
|
|
if (!StringUtil.isEmpty(title)) {
|
|
|
getSupportActionBar().setTitle(title);
|
|
|
} else {
|