add getContentView -- since I can never remember how to do it

This commit is contained in:
Eric House 2014-04-06 06:37:51 -07:00
parent 6b59093d84
commit 7e16d7abc5

View file

@ -465,6 +465,11 @@ public class Utils {
return result;
}
public static View getContentView( Activity activity )
{
return activity.findViewById( android.R.id.content );
}
public static boolean isGooglePlayApp( Context context )
{
PackageManager pm = context.getPackageManager();