Package 

Class StyleTransparent

  • All Implemented Interfaces:
    com.liecoder.framework.titlebar.ITitleBarStyleService

    
    public class StyleTransparent
     implements ITitleBarStyleService
                        

    Author: lieco(liecoder@163.com) Date: 2024/8/18 Version: 1.0

    • Method Summary

      Modifier and Type Method Description
      Drawable getTitleBarBackground(Context context) 获取标题栏背景的 Drawable 对象。
      Drawable getLeftTitleBackground(Context context) 获取标题栏左侧背景的 Drawable 对象。
      Drawable getRightTitleBackground(Context context) 获取标题栏右侧背景的 Drawable 对象。
      Drawable getBackButtonDrawable(Context context) 获取返回按钮的 Drawable 对象。
      ColorStateList getLeftTitleColor(Context context) 获取左侧标题文本颜色的状态列表。
      ColorStateList getTitleColor(Context context) 获取中间标题文本颜色的状态列表。
      ColorStateList getRightTitleColor(Context context) 获取右侧标题文本颜色的状态列表。
      Drawable getLineDrawable(Context context) 获取标题栏底部的线条背景的 Drawable 对象。
      • Methods inherited from class com.liecoder.framework.titlebar.StyleTransparent

        createLeftView, createLineView, createRightView, createTitleView, getChildVerticalPadding, getLeftHorizontalPadding, getLeftIconGravity, getLeftIconHeight, getLeftIconPadding, getLeftIconWidth, getLeftTitle, getLeftTitleForeground, getLeftTitleOverflowMode, getLeftTitleSize, getLeftTitleStyle, getLeftTitleTypeface, getLineSize, getRightHorizontalPadding, getRightIconGravity, getRightIconHeight, getRightIconPadding, getRightIconWidth, getRightTitle, getRightTitleForeground, getRightTitleOverflowMode, getRightTitleSize, getRightTitleStyle, getRightTitleTypeface, getTitle, getTitleHorizontalPadding, getTitleIconGravity, getTitleIconHeight, getTitleIconPadding, getTitleIconWidth, getTitleOverflowMode, getTitleSize, getTitleStyle, getTitleTypeface, isLineVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StyleTransparent

        StyleTransparent()
    • Method Detail

      • getTitleBarBackground

         Drawable getTitleBarBackground(Context context)

        获取标题栏背景的 Drawable 对象。

        Parameters:
        context - 上下文对象。
      • getLeftTitleBackground

         Drawable getLeftTitleBackground(Context context)

        获取标题栏左侧背景的 Drawable 对象。

        Parameters:
        context - 上下文对象。
      • getRightTitleBackground

         Drawable getRightTitleBackground(Context context)

        获取标题栏右侧背景的 Drawable 对象。

        Parameters:
        context - 上下文对象。
      • getBackButtonDrawable

         Drawable getBackButtonDrawable(Context context)

        获取返回按钮的 Drawable 对象。

        Parameters:
        context - 上下文对象。
      • getLeftTitleColor

         ColorStateList getLeftTitleColor(Context context)

        获取左侧标题文本颜色的状态列表。

        Parameters:
        context - 上下文对象。
      • getTitleColor

         ColorStateList getTitleColor(Context context)

        获取中间标题文本颜色的状态列表。

        Parameters:
        context - 上下文对象。
      • getRightTitleColor

         ColorStateList getRightTitleColor(Context context)

        获取右侧标题文本颜色的状态列表。

        Parameters:
        context - 上下文对象。
      • getLineDrawable

         Drawable getLineDrawable(Context context)

        获取标题栏底部的线条背景的 Drawable 对象。

        Parameters:
        context - 上下文对象。