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
| class CustomView @JvmOverloads constructor( | |
| context: Context, | |
| attrs: AttributeSet? = null, | |
| defStyleAttr: Int = 0 | |
| ) : ConstraintLayout(context, attrs, defStyleAttr) { | |
| private var cornerRadiusTopLeft = 0f | |
| private var cornerRadiusTopRight = 0f | |
| private var cornerRadiusBottomLeft = 0f | |
| private var cornerRadiusBottomRight = 0f | |
| private var strokeWidth = 0 |
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
| import android.app.PendingIntent; | |
| import android.app.RecoverableSecurityException; | |
| import android.content.ContentResolver; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.content.IntentSender; | |
| import android.database.Cursor; | |
| import android.net.Uri; | |
| import android.os.Build; | |
| import android.provider.MediaStore; |