Comment out the create a shared tag option when sharing tasks

pull/14/head
Sam Bosley 13 years ago
parent 90ea14f656
commit bb64099e3c

@ -452,8 +452,8 @@ public class EditPeopleControlSet extends PopupControlSet {
public void textChanged(String text) {
getSharedWithView().findViewById(R.id.share_additional).setVisibility(View.VISIBLE);
if(text.indexOf('@') > -1) {
getSharedWithView().findViewById(R.id.tag_label).setVisibility(View.VISIBLE);
getSharedWithView().findViewById(R.id.tag_name).setVisibility(View.VISIBLE);
// getSharedWithView().findViewById(R.id.tag_label).setVisibility(View.VISIBLE);
// getSharedWithView().findViewById(R.id.tag_name).setVisibility(View.VISIBLE);
}
}
});
@ -693,11 +693,11 @@ public class EditPeopleControlSet extends PopupControlSet {
values.add(message);
}
String tag = ((TextView) getSharedWithView().findViewById(R.id.tag_name)).getText().toString();
if(!TextUtils.isEmpty(tag)) {
values.add("tag");
values.add(tag);
}
// String tag = ((TextView) getSharedWithView().findViewById(R.id.tag_name)).getText().toString();
// if(!TextUtils.isEmpty(tag)) {
// values.add("tag");
// values.add(tag);
// }
return values.toArray(new Object[values.size()]);
}

@ -54,7 +54,7 @@
android:autoText="true"
android:capitalize="sentences"
android:singleLine="false" />
<TextView
<!-- <TextView
android:id="@+id/tag_label"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
@ -66,7 +66,7 @@
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:visibility="gone"
android:hint="@string/actfm_EPA_tag_hint" />
android:hint="@string/actfm_EPA_tag_hint" /> -->
<View
android:layout_width="fill_parent"
android:layout_height="1px"

Loading…
Cancel
Save