Skip to content

Commit 1609e96

Browse files
committed
Try to fix lint issues
1 parent 03ac243 commit 1609e96

6 files changed

+12
-33
lines changed

vector/src/main/res/drawable/ic_composer_bullet_list.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

vector/src/main/res/drawable/ic_composer_numbered_list.xml

Lines changed: 0 additions & 13 deletions
This file was deleted.

vector/src/main/res/layout/composer_rich_text_layout.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@
128128
app:layout_constraintTop_toTopOf="@id/sendButton"
129129
app:layout_constraintStart_toEndOf="@id/attachmentButton"
130130
app:layout_constraintEnd_toStartOf="@id/sendButton"
131-
app:layout_constraintBottom_toBottomOf="parent">
131+
app:layout_constraintBottom_toBottomOf="parent"
132+
android:fillViewport="true">
132133

133134
<LinearLayout
134135
android:id="@+id/richTextMenu"
135-
android:layout_width="match_parent"
136+
android:layout_width="wrap_content"
136137
android:layout_height="wrap_content"
137138
android:orientation="horizontal">
138139

vector/src/main/res/layout/composer_rich_text_layout_constraint_set_compact.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,12 @@
170170
app:layout_constraintTop_toTopOf="@id/sendButton"
171171
app:layout_constraintStart_toEndOf="@id/attachmentButton"
172172
app:layout_constraintEnd_toStartOf="@id/sendButton"
173-
app:layout_constraintBottom_toBottomOf="parent">
173+
app:layout_constraintBottom_toBottomOf="parent"
174+
android:fillViewport="true">
174175

175176
<LinearLayout
176177
android:id="@+id/richTextMenu"
177-
android:layout_width="match_parent"
178+
android:layout_width="wrap_content"
178179
android:layout_height="wrap_content"
179180
android:orientation="horizontal">
180181

vector/src/main/res/layout/composer_rich_text_layout_constraint_set_expanded.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,12 @@
182182
app:layout_constraintTop_toTopOf="@id/sendButton"
183183
app:layout_constraintStart_toEndOf="@id/attachmentButton"
184184
app:layout_constraintEnd_toStartOf="@id/sendButton"
185-
app:layout_constraintBottom_toBottomOf="parent">
185+
app:layout_constraintBottom_toBottomOf="parent"
186+
android:fillViewport="true">
186187

187188
<LinearLayout
188189
android:id="@+id/richTextMenu"
189-
android:layout_width="match_parent"
190+
android:layout_width="wrap_content"
190191
android:layout_height="wrap_content"
191192
android:orientation="horizontal">
192193

vector/src/main/res/layout/view_rich_text_menu_button.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
android:layout_width="48dp"
44
android:layout_height="48dp"
55
android:layout_marginHorizontal="2dp"
6-
android:background="@android:color/transparent">
6+
android:background="@android:color/transparent"
7+
android:contentDescription="@string/app_name">
8+
<!-- The contentDescription attr is populated programmatically. This is just to fix lint issues. -->
79

810
</ImageButton>

0 commit comments

Comments
 (0)