Skip to content

Commit 30f5b27

Browse files
committed
refactor(#328): 불필요한 undo 버튼 제거
1 parent 737ca5a commit 30f5b27

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

AOS/app/src/main/res/layout/fragment_mind_map.xml

+3-15
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
android:layout_width="0dp"
2929
android:layout_height="0dp"
3030
android:visibility="@{vm.selectedNode != null ? View.VISIBLE : View.GONE}"
31-
app:constraint_referenced_ids="imgbtn_mind_map_add,imgbtn_mind_map_back,imgbtn_mind_map_remove,imgbtn_mind_map_edit,view_mind_map_side_bar"
31+
app:constraint_referenced_ids="imgbtn_mind_map_add,imgbtn_mind_map_remove,imgbtn_mind_map_edit,view_mind_map_side_bar"
3232
app:layout_constraintBottom_toBottomOf="@id/view_mind_map_side_bar"
3333
app:layout_constraintEnd_toEndOf="@id/view_mind_map_side_bar"
3434
app:layout_constraintStart_toStartOf="@id/view_mind_map_side_bar"
@@ -74,23 +74,11 @@
7474
android:background="@android:color/transparent"
7575
android:src="@drawable/ic_outlined_drawing"
7676
app:layout_constraintBottom_toBottomOf="@id/view_mind_map_side_bar"
77-
app:layout_constraintEnd_toStartOf="@id/imgbtn_mind_map_back"
77+
app:layout_constraintEnd_toEndOf="parent"
7878
app:layout_constraintHorizontal_chainStyle="spread"
7979
app:layout_constraintStart_toEndOf="@id/imgbtn_mind_map_remove"
8080
app:layout_constraintTop_toTopOf="@id/view_mind_map_side_bar" />
8181

82-
<ImageButton
83-
android:id="@+id/imgbtn_mind_map_back"
84-
android:layout_width="25dp"
85-
android:layout_height="25dp"
86-
android:background="@android:color/transparent"
87-
android:src="@drawable/ic_undo"
88-
app:layout_constraintBottom_toBottomOf="@id/view_mind_map_side_bar"
89-
app:layout_constraintEnd_toEndOf="@id/view_mind_map_side_bar"
90-
app:layout_constraintHorizontal_chainStyle="spread"
91-
app:layout_constraintStart_toEndOf="@id/imgbtn_mind_map_edit"
92-
app:layout_constraintTop_toTopOf="@id/view_mind_map_side_bar" />
93-
9482

9583
</androidx.constraintlayout.widget.ConstraintLayout>
96-
</layout>
84+
</layout>

0 commit comments

Comments
 (0)