You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
489 B
17 lines
489 B
package com.keylesspalace.tusky.view
|
|
|
|
import android.content.Context
|
|
import android.util.AttributeSet
|
|
import androidx.recyclerview.widget.GridLayoutManager
|
|
import androidx.recyclerview.widget.RecyclerView
|
|
|
|
class EmojiPicker @JvmOverloads constructor(
|
|
context: Context,
|
|
attrs: AttributeSet? = null
|
|
) : RecyclerView(context, attrs) {
|
|
|
|
init {
|
|
clipToPadding = false
|
|
layoutManager = GridLayoutManager(context, 3, GridLayoutManager.HORIZONTAL, false)
|
|
}
|
|
}
|
|
|