ActionBar Custom

final ActionBar actionBar = getActionBar();

actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_STANDARD);
LayoutInflater inflater = (LayoutInflater) this .getSystemService(Context.LAYOUT_INFLATER_SERVICE);

//add your own Layout R.layout.your

View view = inflater.inflate(R.layout.myview, null);

//find widget to be used in onClick

ImageView img = (ImageView) view.findViewById(R.id.imageview1);

//listener for widget

img.setOnClickListener(new View.OnClickListener(){
    public void onClick(View v){
        // add your  code inside this onClick bracket
    }
});
actionBar.setCustomView(view);
actionBar.setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM);

Komentar

Cara pembuatan Apps paling Populer

Create Stopwatch App in Android using Sketchware

TextInputLayout in Sketchware

How to find and​ highlight a word in a text field in Sketchware?

A Flash Light App in Sketchware

How to enable download in webview in Sketchware apps?

Intent - Open File By Type

Code for implementing Notifications in Sketchware

How to share an image from Drawable folder?

ActionBar back button

Animation Transtition Animation