|
5 | 5 | android:id="@+id/track_frame" |
6 | 6 | android:layout_width="match_parent" |
7 | 7 | android:layout_height="wrap_content" |
8 | | - android:background="?attr/selectableItemBackground" |
9 | | - android:clickable="true" |
10 | | - android:focusable="true" |
11 | | - android:foreground="@drawable/selector" |
| 8 | + android:layout_marginBottom="@dimen/tiny_margin" |
12 | 9 | android:paddingStart="@dimen/medium_margin" |
13 | 10 | android:paddingTop="@dimen/activity_margin" |
14 | 11 | android:paddingEnd="@dimen/medium_margin" |
|
18 | 15 | android:layout_width="match_parent" |
19 | 16 | android:layout_height="match_parent" |
20 | 17 | android:layout_marginStart="@dimen/small_margin" |
21 | | - app:layout_constraintEnd_toEndOf="parent" > |
| 18 | + app:layout_constraintEnd_toEndOf="parent"> |
22 | 19 |
|
23 | 20 | <ImageView |
24 | 21 | android:id="@+id/track_image" |
|
31 | 28 | android:id="@+id/track_id" |
32 | 29 | android:layout_width="wrap_content" |
33 | 30 | android:layout_height="wrap_content" |
| 31 | + android:layout_centerVertical="true" |
| 32 | + android:layout_toEndOf="@id/track_image" |
34 | 33 | android:ems="2" |
35 | 34 | android:gravity="end" |
36 | 35 | android:paddingEnd="@dimen/small_margin" |
37 | 36 | android:textSize="@dimen/bigger_text_size" |
38 | | - android:layout_toEndOf="@id/track_image" |
39 | | - android:layout_centerVertical="true" |
40 | 37 | tools:text="1" /> |
41 | 38 |
|
42 | 39 | <androidx.constraintlayout.widget.ConstraintLayout |
43 | 40 | android:layout_width="match_parent" |
44 | 41 | android:layout_height="wrap_content" |
45 | | - android:paddingStart="@dimen/normal_margin" |
46 | | - android:paddingEnd="@dimen/normal_margin" |
47 | | - android:layout_toEndOf="@id/track_id" |
| 42 | + android:layout_centerVertical="true" |
48 | 43 | android:layout_toStartOf="@id/layout_duration_handle" |
49 | | - android:layout_centerVertical="true"> |
| 44 | + android:layout_toEndOf="@id/track_id" |
| 45 | + android:paddingStart="@dimen/normal_margin" |
| 46 | + android:paddingEnd="@dimen/normal_margin"> |
50 | 47 |
|
51 | 48 | <com.simplemobiletools.commons.views.MyTextView |
52 | 49 | android:id="@+id/track_title" |
|
65 | 62 | android:layout_width="0dp" |
66 | 63 | android:layout_height="wrap_content" |
67 | 64 | android:alpha="0.6" |
68 | | - android:maxLines="1" |
69 | | - android:textSize="@dimen/medium_text_size" |
70 | 65 | android:ellipsize="end" |
| 66 | + android:maxLines="1" |
| 67 | + android:textSize="@dimen/normal_text_size" |
71 | 68 | app:layout_constraintBottom_toBottomOf="parent" |
72 | 69 | app:layout_constraintEnd_toEndOf="parent" |
73 | 70 | app:layout_constraintStart_toStartOf="parent" |
|
90 | 87 | android:paddingStart="@dimen/normal_margin" |
91 | 88 | android:paddingEnd="@dimen/medium_margin" |
92 | 89 | android:textSize="@dimen/bigger_text_size" |
| 90 | + app:layout_constraintBottom_toBottomOf="parent" |
93 | 91 | app:layout_constraintEnd_toStartOf="@id/track_drag_handle" |
94 | 92 | app:layout_constraintTop_toTopOf="parent" |
95 | | - app:layout_constraintBottom_toBottomOf="parent" |
96 | 93 | tools:text="3:45" /> |
97 | 94 |
|
98 | 95 | <ImageView |
|
102 | 99 | android:padding="@dimen/medium_margin" |
103 | 100 | android:src="@drawable/ic_drag_handle_vector" |
104 | 101 | android:visibility="gone" |
| 102 | + app:layout_constraintBottom_toBottomOf="parent" |
105 | 103 | app:layout_constraintEnd_toEndOf="parent" |
106 | | - app:layout_constraintTop_toTopOf="parent" |
107 | | - app:layout_constraintBottom_toBottomOf="parent" /> |
| 104 | + app:layout_constraintTop_toTopOf="parent" /> |
108 | 105 |
|
109 | 106 | </androidx.constraintlayout.widget.ConstraintLayout> |
110 | | - |
111 | 107 | </RelativeLayout> |
112 | | - |
113 | 108 | </androidx.constraintlayout.widget.ConstraintLayout> |
0 commit comments