mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
add getContentView -- since I can never remember how to do it
This commit is contained in:
parent
6b59093d84
commit
7e16d7abc5
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue