1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:padding="15dp"
    android:focusable="true"
    android:focusableInTouchMode="true"
    xmlns:app="http://schemas.android.com/apk/res-auto">
 
    <android.support.design.widget.TextInputLayout
        android:id="@+id/setView"
        android:layout_width="100dp"
        android:layout_height="match_parent"
        app:layout_constraintHorizontal_weight="1"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toLeftOf="@id/weightView"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
 
        <android.support.design.widget.TextInputEditText
            android:id="@+id/set"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:enabled="false"
            android:textColor="#000000"
            android:hint="세 트"/>
    </android.support.design.widget.TextInputLayout>
 
    <android.support.design.widget.TextInputLayout
        android:id="@+id/weightView"
        android:layout_width="100dp"
        android:layout_height="match_parent"
        app:layout_constraintHorizontal_weight="1"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toLeftOf="@+id/imageView"
        app:layout_constraintLeft_toRightOf="@+id/setView"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
 
        <android.support.design.widget.TextInputEditText
            android:id="@+id/weight"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:enabled="false"
            android:textColor="#000000"
            android:hint="무 게"/>
    </android.support.design.widget.TextInputLayout>
 
    <ImageView
        android:id="@+id/imageView"
        android:layout_width="50dp"
        android:layout_height="60dp"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintLeft_toRightOf="@+id/weightView"
        app:layout_constraintRight_toLeftOf="@+id/numView"
        app:srcCompat="@drawable/icon_x" />
 
    <android.support.design.widget.TextInputLayout
        android:id="@+id/numView"
        android:layout_width="100dp"
        android:layout_height="match_parent"
        app:layout_constraintHorizontal_weight="1"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintLeft_toRightOf="@+id/imageView"
        style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox">
 
        <android.support.design.widget.TextInputEditText
            android:id="@+id/num"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:enabled="false"
            android:textColor="#000000"
            android:hint="횟 수"/>
    </android.support.design.widget.TextInputLayout>
 
</LinearLayout>
cs


지금 사진처럼 빨간색 빈공간을 길게 클릭해야만 저런 수정/편집 메뉴가 뜹니다..저 빨간색 빈공간은 딱 리니어레이아웃의 패딩공간쯤 되는 공간인데

도대체 왜 이런건줄 모르겠어요..다른분이 이러이러한 문제때문이다라고는 하셔서 코드를 자꾸봐도

분명 TextInputLayout이랑 EditText 둘다 뷰로 등록했는데 왜 길게 클릭해도 안뜨는지 모르겠습니다..