28 lines
781 B
Kotlin
28 lines
781 B
Kotlin
|
package org.thoughtcrime.securesms.conversation.v2.input_bar
|
||
|
|
||
|
import android.content.Context
|
||
|
import android.util.AttributeSet
|
||
|
import android.view.LayoutInflater
|
||
|
import android.widget.LinearLayout
|
||
|
import network.loki.messenger.R
|
||
|
|
||
|
class InputBar : LinearLayout {
|
||
|
|
||
|
// region Lifecycle
|
||
|
constructor(context: Context) : super(context) {
|
||
|
setUpViewHierarchy()
|
||
|
}
|
||
|
|
||
|
constructor(context: Context, attrs: AttributeSet) : super(context, attrs) {
|
||
|
setUpViewHierarchy()
|
||
|
}
|
||
|
|
||
|
constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int) : super(context, attrs, defStyleAttr) {
|
||
|
setUpViewHierarchy()
|
||
|
}
|
||
|
|
||
|
private fun setUpViewHierarchy() {
|
||
|
LayoutInflater.from(context).inflate(R.layout.view_input_bar, this)
|
||
|
}
|
||
|
// endregion
|
||
|
}
|