url);. android:singleLine="true". Creating a Service. return(items.size());. 3. TheLoremSearch activity is set to haveandroid:launchMode="singleTop", which means at most one instance of this activity will be open at any time so we don’t wind up with a whole bunch of little search activities cluttering up the activity stack.. Getting Your News Fix.