This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.brainx.drivemouse.CustomClass; | |
| import android.content.Context; | |
| import android.content.res.TypedArray; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.ColorFilter; | |
| import android.graphics.Paint; | |
| import android.graphics.PixelFormat; | |
| import android.graphics.RadialGradient; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | package com.brainx.drivemouse.CustomClass; | |
| import android.content.Context; | |
| import android.util.AttributeSet; | |
| import android.widget.LinearLayout; | |
| /** | |
| * Created by soban on 07/09/2017. | |
| * Company BrainX Technologies | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 1. First add Ads sdk into build.gradle file | |
| compile 'com.google.android.gms:play-services-ads:10.2.0' | |
| 2. Add this into Application tag in Manifest file | |
| <meta-data android:name="com.google.android.gms.version" | |
| android:value="@integer/google_play_services_version" /> | |
| 3. Build Gradle |