mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
20 lines
545 B
Kotlin
20 lines
545 B
Kotlin
package com.github.libretube.views
|
|
|
|
import android.content.Context
|
|
import android.util.AttributeSet
|
|
import android.view.LayoutInflater
|
|
import android.widget.LinearLayout
|
|
import com.github.libretube.databinding.DoubleTapOverlayBinding
|
|
|
|
class DoubleTapOverlay(
|
|
context: Context,
|
|
attrs: AttributeSet? = null
|
|
) : LinearLayout(context, attrs) {
|
|
var binding: DoubleTapOverlayBinding
|
|
|
|
init {
|
|
val layoutInflater = LayoutInflater.from(context)
|
|
binding = DoubleTapOverlayBinding.inflate(layoutInflater, this, true)
|
|
}
|
|
}
|