Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
    
  
  
   
  
    
     
    
  
  
    
    
   
  
R.attr 
This package is part of the
Android support library  which
is no longer maintained.
The support library has been superseded by AndroidX 
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating  existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings . 
 
  public
  static
  final
  
  class
  R.attr
 
  
    extends Object
  
  
  
  
  
  
  
    
    java.lang.Object
     
   
  
  
    
         ↳ 
    
    android.support.wear.R.attr
     
   
  
  
    
 
Summary 
Inherited methods  
  
     
   From
class
  
    java.lang.Object
  
  
  
  
    
      
  
  
  
  
    
        
        
        
        
        
        Object
     
  
    
      
      clone()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        boolean
     
  
    
      
      equals(Object arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        void
     
  
    
      
      finalize()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        Class<?>
     
  
    
      
      getClass()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        int
     
  
    
      
      hashCode()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      notify()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      notifyAll()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        String
     
  
    
      
      toString()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait(long arg0, int arg1)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait(long arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait()
      
      
     
   
  
    
   
 
  
Fields 
 
 
    backgroundColor 
    
      
      
  
    
int backgroundColor  
    
    
    
  
    
 
 
    background_border_cap 
    
      
      
  
    
int background_border_cap  
    
    
    
  
    
 
 
    background_border_color 
    
      
      
  
    
int background_border_color  
    
    
    
  
    
 
 
    background_border_width 
    
      
      
  
    
int background_border_width  
    
    
    
  
    
 
 
    background_color 
    
      
      
  
    
int background_color  
    
    
    
  
    
 
 
    background_radius 
    
      
      
  
    
int background_radius  
    
    
    
  
    
 
 
    background_radius_percent 
    
      
      
  
    
int background_radius_percent  
    
    
    
  
    
 
 
    background_radius_pressed 
    
      
      
  
    
int background_radius_pressed  
    
    
    
  
    
 
 
    background_radius_pressed_percent 
    
      
      
  
    
int background_radius_pressed_percent  
    
    
    
  
    
 
 
    background_shadow_width 
    
      
      
  
    
int background_shadow_width  
    
    
    
  
    
 
 
    bezelWidth 
    
      
      
  
    
int bezelWidth  
    
    
    
  
    
 
 
    boxedEdges 
    
      
      
  
    
int boxedEdges  
    
    
    
  
    
 
 
    
    
      
      
  
    
int circularScrollingGestureEnabled  
    
    
    
  
    
 
 
    clipEnabled 
    
      
      
  
    
int clipEnabled  
    
    
    
  
    
 
 
    clip_dimen 
    
      
      
  
    
int clip_dimen  
    
    
    
  
    
 
 
    colorSchemeColors 
    
      
      
  
    
int colorSchemeColors  
    
    
    
  
    
 
 
    constraintSet 
    
      
      
  
    
int constraintSet  
    
    
    
  
    
 
 
    coordinatorLayoutStyle 
    
      
      
  
    
int coordinatorLayoutStyle  
    
    
    
  
    
 
 
    drawerContent 
    
      
      
  
    
int drawerContent  
    
    
    
  
    
 
 
    drawerTitle 
    
      
      
  
    
int drawerTitle  
    
    
    
  
    
 
 
    enableAutoPeek 
    
      
      
  
    
int enableAutoPeek  
    
    
    
  
    
 
 
 
    
    
      
      
  
    
int fastScrollHorizontalThumbDrawable  
    
    
    
  
    
 
 
    
    
      
      
  
    
int fastScrollHorizontalTrackDrawable  
    
    
    
  
    
 
 
    
    
      
      
  
    
int fastScrollVerticalThumbDrawable  
    
    
    
  
    
 
 
    
    
      
      
  
    
int fastScrollVerticalTrackDrawable  
    
    
    
  
    
 
 
 
    fontProviderAuthority 
    
      
      
  
    
int fontProviderAuthority  
    
    
    
  
    
 
 
    fontProviderCerts 
    
      
      
  
    
int fontProviderCerts  
    
    
    
  
    
 
 
    fontProviderFetchStrategy 
    
      
      
  
    
int fontProviderFetchStrategy  
    
    
    
  
    
 
 
    fontProviderFetchTimeout 
    
      
      
  
    
int fontProviderFetchTimeout  
    
    
    
  
    
 
 
    fontProviderPackage 
    
      
      
  
    
int fontProviderPackage  
    
    
    
  
    
 
 
    fontProviderQuery 
    
      
      
  
    
int fontProviderQuery  
    
    
    
  
    
 
 
 
    fontVariationSettings 
    
      
      
  
    
int fontVariationSettings  
    
    
    
  
    
 
 
    fontWeight 
    
      
      
  
    
int fontWeight  
    
    
    
  
    
 
 
    img_circle_percentage 
    
      
      
  
    
int img_circle_percentage  
    
    
    
  
    
 
 
    img_horizontal_offset_percentage 
    
      
      
  
    
int img_horizontal_offset_percentage  
    
    
    
  
    
 
 
    img_padding 
    
      
      
  
    
int img_padding  
    
    
    
  
    
 
 
 
    indeterminate 
    
      
      
  
    
int indeterminate  
    
    
    
  
    
 
 
 
    layoutManager 
    
      
      
  
    
int layoutManager  
    
    
    
  
    
 
 
    layout_anchor 
    
      
      
  
    
int layout_anchor  
    
    
    
  
    
 
 
    layout_anchorGravity 
    
      
      
  
    
int layout_anchorGravity  
    
    
    
  
    
 
 
    layout_behavior 
    
      
      
  
    
int layout_behavior  
    
    
    
  
    
 
 
    layout_constraintBaseline_creator 
    
      
      
  
    
int layout_constraintBaseline_creator  
    
    
    
  
    
 
 
    layout_constraintBaseline_toBaselineOf 
    
      
      
  
    
int layout_constraintBaseline_toBaselineOf  
    
    
    
  
    
 
 
    layout_constraintBottom_creator 
    
      
      
  
    
int layout_constraintBottom_creator  
    
    
    
  
    
 
 
    layout_constraintBottom_toBottomOf 
    
      
      
  
    
int layout_constraintBottom_toBottomOf  
    
    
    
  
    
 
 
    layout_constraintBottom_toTopOf 
    
      
      
  
    
int layout_constraintBottom_toTopOf  
    
    
    
  
    
 
 
    layout_constraintDimensionRatio 
    
      
      
  
    
int layout_constraintDimensionRatio  
    
    
    
  
    
 
 
    layout_constraintEnd_toEndOf 
    
      
      
  
    
int layout_constraintEnd_toEndOf  
    
    
    
  
    
 
 
    layout_constraintEnd_toStartOf 
    
      
      
  
    
int layout_constraintEnd_toStartOf  
    
    
    
  
    
 
 
    layout_constraintGuide_begin 
    
      
      
  
    
int layout_constraintGuide_begin  
    
    
    
  
    
 
 
    layout_constraintGuide_end 
    
      
      
  
    
int layout_constraintGuide_end  
    
    
    
  
    
 
 
    layout_constraintGuide_percent 
    
      
      
  
    
int layout_constraintGuide_percent  
    
    
    
  
    
 
 
    layout_constraintHeight_default 
    
      
      
  
    
int layout_constraintHeight_default  
    
    
    
  
    
 
 
    layout_constraintHeight_max 
    
      
      
  
    
int layout_constraintHeight_max  
    
    
    
  
    
 
 
    layout_constraintHeight_min 
    
      
      
  
    
int layout_constraintHeight_min  
    
    
    
  
    
 
 
    layout_constraintHorizontal_bias 
    
      
      
  
    
int layout_constraintHorizontal_bias  
    
    
    
  
    
 
 
    layout_constraintHorizontal_chainStyle 
    
      
      
  
    
int layout_constraintHorizontal_chainStyle  
    
    
    
  
    
 
 
    layout_constraintHorizontal_weight 
    
      
      
  
    
int layout_constraintHorizontal_weight  
    
    
    
  
    
 
 
    layout_constraintLeft_creator 
    
      
      
  
    
int layout_constraintLeft_creator  
    
    
    
  
    
 
 
    layout_constraintLeft_toLeftOf 
    
      
      
  
    
int layout_constraintLeft_toLeftOf  
    
    
    
  
    
 
 
    layout_constraintLeft_toRightOf 
    
      
      
  
    
int layout_constraintLeft_toRightOf  
    
    
    
  
    
 
 
    layout_constraintRight_creator 
    
      
      
  
    
int layout_constraintRight_creator  
    
    
    
  
    
 
 
    layout_constraintRight_toLeftOf 
    
      
      
  
    
int layout_constraintRight_toLeftOf  
    
    
    
  
    
 
 
    layout_constraintRight_toRightOf 
    
      
      
  
    
int layout_constraintRight_toRightOf  
    
    
    
  
    
 
 
    layout_constraintStart_toEndOf 
    
      
      
  
    
int layout_constraintStart_toEndOf  
    
    
    
  
    
 
 
    layout_constraintStart_toStartOf 
    
      
      
  
    
int layout_constraintStart_toStartOf  
    
    
    
  
    
 
 
    layout_constraintTop_creator 
    
      
      
  
    
int layout_constraintTop_creator  
    
    
    
  
    
 
 
    layout_constraintTop_toBottomOf 
    
      
      
  
    
int layout_constraintTop_toBottomOf  
    
    
    
  
    
 
 
    layout_constraintTop_toTopOf 
    
      
      
  
    
int layout_constraintTop_toTopOf  
    
    
    
  
    
 
 
    layout_constraintVertical_bias 
    
      
      
  
    
int layout_constraintVertical_bias  
    
    
    
  
    
 
 
    layout_constraintVertical_chainStyle 
    
      
      
  
    
int layout_constraintVertical_chainStyle  
    
    
    
  
    
 
 
    layout_constraintVertical_weight 
    
      
      
  
    
int layout_constraintVertical_weight  
    
    
    
  
    
 
 
    layout_constraintWidth_default 
    
      
      
  
    
int layout_constraintWidth_default  
    
    
    
  
    
 
 
    layout_constraintWidth_max 
    
      
      
  
    
int layout_constraintWidth_max  
    
    
    
  
    
 
 
    layout_constraintWidth_min 
    
      
      
  
    
int layout_constraintWidth_min  
    
    
    
  
    
 
 
    layout_dodgeInsetEdges 
    
      
      
  
    
int layout_dodgeInsetEdges  
    
    
    
  
    
 
 
    layout_editor_absoluteX 
    
      
      
  
    
int layout_editor_absoluteX  
    
    
    
  
    
 
 
    layout_editor_absoluteY 
    
      
      
  
    
int layout_editor_absoluteY  
    
    
    
  
    
 
 
    layout_goneMarginBottom 
    
      
      
  
    
int layout_goneMarginBottom  
    
    
    
  
    
 
 
    layout_goneMarginEnd 
    
      
      
  
    
int layout_goneMarginEnd  
    
    
    
  
    
 
 
    layout_goneMarginLeft 
    
      
      
  
    
int layout_goneMarginLeft  
    
    
    
  
    
 
 
    layout_goneMarginRight 
    
      
      
  
    
int layout_goneMarginRight  
    
    
    
  
    
 
 
    layout_goneMarginStart 
    
      
      
  
    
int layout_goneMarginStart  
    
    
    
  
    
 
 
    layout_goneMarginTop 
    
      
      
  
    
int layout_goneMarginTop  
    
    
    
  
    
 
 
    layout_insetEdge 
    
      
      
  
    
int layout_insetEdge  
    
    
    
  
    
 
 
    layout_keyline 
    
      
      
  
    
int layout_keyline  
    
    
    
  
    
 
 
    layout_optimizationLevel 
    
      
      
  
    
int layout_optimizationLevel  
    
    
    
  
    
 
 
    navigationStyle 
    
      
      
  
    
int navigationStyle  
    
    
    
  
    
 
 
 
 
    reverseLayout 
    
      
      
  
    
int reverseLayout  
    
    
    
  
    
 
 
    
    
      
      
  
    
int scrollDegreesPerScreen  
    
    
    
  
    
 
 
    showOverflowInPeek 
    
      
      
  
    
int showOverflowInPeek  
    
    
    
  
    
 
 
 
    stackFromEnd 
    
      
      
  
    
int stackFromEnd  
    
    
    
  
    
 
 
    statusBarBackground 
    
      
      
  
    
int statusBarBackground  
    
    
    
  
    
 
 
    strokeWidth 
    
      
      
  
    
int strokeWidth  
    
    
    
  
    
 
 
 
    wsPageIndicatorDotColor 
    
      
      
  
    
int wsPageIndicatorDotColor  
    
    
    
  
    
 
 
    wsPageIndicatorDotColorSelected 
    
      
      
  
    
int wsPageIndicatorDotColorSelected  
    
    
    
  
    
 
 
    wsPageIndicatorDotFadeInDuration 
    
      
      
  
    
int wsPageIndicatorDotFadeInDuration  
    
    
    
  
    
 
 
    wsPageIndicatorDotFadeOutDelay 
    
      
      
  
    
int wsPageIndicatorDotFadeOutDelay  
    
    
    
  
    
 
 
    wsPageIndicatorDotFadeOutDuration 
    
      
      
  
    
int wsPageIndicatorDotFadeOutDuration  
    
    
    
  
    
 
 
    wsPageIndicatorDotFadeWhenIdle 
    
      
      
  
    
int wsPageIndicatorDotFadeWhenIdle  
    
    
    
  
    
 
 
    wsPageIndicatorDotRadius 
    
      
      
  
    
int wsPageIndicatorDotRadius  
    
    
    
  
    
 
 
    wsPageIndicatorDotRadiusSelected 
    
      
      
  
    
int wsPageIndicatorDotRadiusSelected  
    
    
    
  
    
 
 
    wsPageIndicatorDotShadowColor 
    
      
      
  
    
int wsPageIndicatorDotShadowColor  
    
    
    
  
    
 
 
    wsPageIndicatorDotShadowDx 
    
      
      
  
    
int wsPageIndicatorDotShadowDx  
    
    
    
  
    
 
 
    wsPageIndicatorDotShadowDy 
    
      
      
  
    
int wsPageIndicatorDotShadowDy  
    
    
    
  
    
 
 
    wsPageIndicatorDotShadowRadius 
    
      
      
  
    
int wsPageIndicatorDotShadowRadius  
    
    
    
  
    
 
 
    wsPageIndicatorDotSpacing 
    
      
      
  
    
int wsPageIndicatorDotSpacing  
    
    
    
  
    
 
Public constructors 
 
 
 
  
  
     
  
 
  
    
      
       
    
    
      
    
     
  
       
    
    
       
    
  
  
 
  Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]