Class Overview
This is a concrete card class that can display a title and body text.
 
Summary
| Nested Classes | 
|---|
  
    
      | class | TextCard.Builder |  | 
    
    
| Protected Methods | 
|---|
	 
    
        | final
            
            
            void | onBindView(View view) Called when an inflated card view should be populated with data for display. | 
	 
    
        | final
            
            
            View | onCreateView(ViewGroup parent) Called when a view should be inflated to display the card contents. | 
| [Expand] Inherited Methods | 
|---|
|  From class
  com.usebutton.sdk.checkout.Card | 
|  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() |  | 
Public Methods
 
    
      
        public 
         
         
         
         
        int
      
      getBackgroundColor
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        int
      
      getBodyColor
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        float
      
      getBodySize
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        Typeface
      
      getBodyTypeface
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        String
      
      getTitle
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        int
      
      getTitleColor
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        float
      
      getTitleSize
      ()
    
      
    
 
 
    
      
        public 
         
         
         
         
        Typeface
      
      getTitleTypeface
      ()
    
      
    
 
Protected Methods
 
    
      
        protected 
         
        final 
         
         
        void
      
      onBindView
      (View view)
    
      
    
      
  Called when an inflated card view should be populated with data for display.
 
 
 
    
      
        protected 
         
        final 
         
         
        View
      
      onCreateView
      (ViewGroup parent)
    
      
    
      
  Called when a view should be inflated to display the card contents. Subclasses should
 override this method
      Parameters
      
        
          | parent | ViewGroupwhere newly inflated view should be attached. | 
      
   
  
      Returns
      - the newly inflated view that can display the card contents.