public class

EnhancedColorAppBar

extends StandardAppBar
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ com.droidux.pack.action.widget.StandardAppBar
           ↳ com.droidux.pack.action.widget.EnhancedColorAppBar

Class Overview

An enhanced application/action bar with support to colorize the background drawable (see setTintColor(int)). Application/action bar can be used to replace the default Android title bar, following guideline and design pattern explained here, here and here. The application/action bar is a host/container of ActionInterfaces.Item.ActionItem.

Summary

XML Attributes
Attribute Name Related Method Description
dux_color setTintColor(int) Specifies a color. 
[Expand]
Inherited XML Attributes
From class com.droidux.pack.action.widget.StandardAppBar
[Expand]
Inherited Constants
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class com.droidux.pack.action.widget.StandardAppBar
From class android.view.View
Public Constructors
EnhancedColorAppBar(Context context)
EnhancedColorAppBar(Context context, AttributeSet attrs)
Public Methods
void setTintColor(int color)
Sets the tint color used to colorize the background drawable and the separator drawable (if any).
[Expand]
Inherited Methods
From class com.droidux.pack.action.widget.StandardAppBar
From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

XML Attributes

dux_color

Since: API Level

Specifies a color.

May be a reference to another resource, in the form "@[+][package:]type:name" or to a theme attribute in the form "?[package:][type:]name".

May be a color value, in the form of "#rgb", "#argb", "#rrggbb", or "#aarrggbb".

Related Methods

Public Constructors

public EnhancedColorAppBar (Context context)

Since: API Level 2.5

public EnhancedColorAppBar (Context context, AttributeSet attrs)

Since: API Level 2.5

Public Methods

public void setTintColor (int color)

Since: API Level 2.5

Sets the tint color used to colorize the background drawable and the separator drawable (if any).

Related XML Attributes
Parameters
color The tint color.