Adding copy right signature
This commit is contained in:
parent
8efadd9a79
commit
6b492c039c
3 changed files with 1 additions and 26 deletions
|
@ -160,7 +160,7 @@ class LrcView @JvmOverloads constructor(context: Context, attrs: AttributeSet? =
|
||||||
mIconWidth = typedArray.getDimension(R.styleable.LrcView_playIconWidth, dp2px(context, 20f).toFloat())
|
mIconWidth = typedArray.getDimension(R.styleable.LrcView_playIconWidth, dp2px(context, 20f).toFloat())
|
||||||
mIconHeight = typedArray.getDimension(R.styleable.LrcView_playIconHeight, dp2px(context, 20f).toFloat())
|
mIconHeight = typedArray.getDimension(R.styleable.LrcView_playIconHeight, dp2px(context, 20f).toFloat())
|
||||||
mPlayDrawable = typedArray.getDrawable(R.styleable.LrcView_playIcon)
|
mPlayDrawable = typedArray.getDrawable(R.styleable.LrcView_playIcon)
|
||||||
mPlayDrawable = if (mPlayDrawable == null) ContextCompat.getDrawable(context, R.drawable.play_icon) else mPlayDrawable
|
mPlayDrawable = if (mPlayDrawable == null) ContextCompat.getDrawable(context, R.drawable.ic_play_arrow_white_24dp) else mPlayDrawable
|
||||||
typedArray.recycle()
|
typedArray.recycle()
|
||||||
|
|
||||||
setupConfigs(context)
|
setupConfigs(context)
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 50 KiB |
|
@ -1,25 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?><!--
|
|
||||||
~ Copyright (c) 2019 Hemanth Savarala.
|
|
||||||
~
|
|
||||||
~ Licensed under the GNU General Public License v3
|
|
||||||
~
|
|
||||||
~ This is free software: you can redistribute it and/or modify it under
|
|
||||||
~ the terms of the GNU General Public License as published by
|
|
||||||
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
|
|
||||||
~
|
|
||||||
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
|
|
||||||
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
~ See the GNU General Public License for more details.
|
|
||||||
-->
|
|
||||||
|
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
|
||||||
|
|
||||||
<item android:drawable="?colorPrimary" />
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<bitmap
|
|
||||||
android:gravity="center"
|
|
||||||
android:src="@drawable/retro_icon" />
|
|
||||||
</item>
|
|
||||||
|
|
||||||
</layer-list>
|
|
Loading…
Reference in a new issue