Skip to content

Commit

Permalink
[Delete/#109] qna appbar check 버튼 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ss99x2002 committed Aug 30, 2023
1 parent 8c2c693 commit 95bba02
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
3 changes: 1 addition & 2 deletions app/src/main/res/layout/activity_answer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:titleText="@{vm.section}"
app:visibleCheck="@{false}" />
app:titleText="@{vm.section}" />

<TextView
android:id="@+id/tv_topic"
Expand Down
7 changes: 1 addition & 6 deletions app/src/main/res/layout/activity_question_answer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
name="titleText"
type="String" />

<variable
name="visibleCheck"
type="java.lang.Boolean" />

<variable
name="clickListener"
type="android.view.View.OnClickListener" />
Expand All @@ -32,8 +28,7 @@
android:id="@+id/layout_appbar"
layout="@layout/qna_appbar"
app:clickListener="@{clickListener}"
app:titleText="@{vm.isBeforeList ? vm.listQnaResponse.section : vm.qnaResponse.section}"
app:visibleCheck="@{false}" />
app:titleText="@{vm.isBeforeList ? vm.listQnaResponse.section : vm.qnaResponse.section}" />

<TextView
android:id="@+id/tv_topic"
Expand Down
16 changes: 0 additions & 16 deletions app/src/main/res/layout/qna_appbar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
name="titleText"
type="String" />

<variable
name="visibleCheck"
type="java.lang.Boolean" />

<variable
name="clickListener"
type="android.view.View.OnClickListener" />
Expand Down Expand Up @@ -68,18 +64,6 @@
tools:text="어린시절" />

</androidx.constraintlayout.widget.ConstraintLayout>

<ImageView
android:id="@+id/iv_check"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginEnd="16dp"
android:onClick="@{clickListener}"
android:src="@drawable/ic_check"
android:visibility="@{visibleCheck ? View.VISIBLE : View.GONE }"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
Expand Down

0 comments on commit 95bba02

Please sign in to comment.