Skip to content

Commit

Permalink
HierarchyListItemView should extend FrameLayout
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Jan 9, 2024
1 parent b76310a commit 405ace3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package org.odk.collect.android.formhierarchy
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import androidx.constraintlayout.widget.ConstraintLayout
import android.widget.FrameLayout
import com.google.android.material.textview.MaterialTextView
import org.odk.collect.android.R
import org.odk.collect.android.utilities.HtmlUtils

class HierarchyListItemView(context: Context, viewType: Int) : ConstraintLayout(context) {
class HierarchyListItemView(context: Context, viewType: Int) : FrameLayout(context) {
init {
when (viewType) {
HierarchyItemType.QUESTION.id -> LayoutInflater.from(context).inflate(R.layout.hierarchy_question_item, this, true)
Expand Down

0 comments on commit 405ace3

Please sign in to comment.