get App Content View - Android User Interface

Android examples for User Interface:View

Description

get App Content View

Demo Code


//package com.java2s;

import android.app.Activity;

import android.view.View;

public class Main {
    public static View getAppContentView(Activity activity) {
        final View appView = activity.findViewById(android.R.id.content);
        return appView;

    }/* ww w. j a v  a2  s.co m*/
}

Related Tutorials