Arison 8 سال پیش
والد
کامیت
66149a7e9e

+ 3 - 1
app_modular/appbooking/src/main/res/layout/activity_shares_list.xml

@@ -8,5 +8,7 @@
     <com.handmark.pulltorefresh.library.PullToRefreshListView
         android:id="@+id/shareList"
         android:layout_width="match_parent"
-        android:layout_height="match_parent" />
+        android:layout_height="match_parent"
+        android:divider="@color/item_line"
+        android:dividerHeight="2px"/>
 </android.support.constraint.ConstraintLayout>

+ 10 - 1
app_modular/appcontact/src/main/java/com/uas/appcontact/ui/activity/ContactsActivity.java

@@ -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 {