find Split ActionBar - Android User Interface

Android examples for User Interface:ActionBar

Description

find Split ActionBar

Demo Code


//package com.java2s;
import android.app.Activity;
import android.view.View;

public class Main {
    public static View findSplitActionBar(Activity activity) {
        int id = activity.getResources().getIdentifier("split_action_bar",
                "id", "android");
        return activity.findViewById(id);
    }//from w ww  .j  a va  2s.  co  m
}

Related Tutorials