Skip to content

Commit b6ff154

Browse files
authored
Fix autocomplete spacing bug (Input Screen) (#6487)
Task/Issue URL: https://app.asana.com/1/137249556945/project/488551667048375/task/1210916405340681?focus=true ### Description - Removes the top margin and ensures the autocomplete list scrolls beneath the shadow of the Input Field. ### Steps to test this PR - [x] Scroll the autocomplete on the Input Screen - [x] Verify that the list scrolls under the Input Field + shadow
1 parent 85f724b commit b6ff154

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

duckchat/duckchat-impl/src/main/res/layout/fragment_input_screen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
android:layout_width="0dp"
2727
android:layout_height="wrap_content"
2828
android:layout_marginTop="@dimen/keyline_2"
29+
android:elevation="1dp"
2930
app:layout_constraintEnd_toEndOf="parent"
3031
app:layout_constraintStart_toStartOf="parent"
3132
app:layout_constraintTop_toTopOf="parent" />
@@ -34,7 +35,6 @@
3435
android:id="@+id/viewPager"
3536
android:layout_width="0dp"
3637
android:layout_height="0dp"
37-
android:layout_marginTop="@dimen/keyline_3"
3838
android:clipToPadding="false"
3939
app:layout_constraintBottom_toBottomOf="parent"
4040
app:layout_constraintEnd_toEndOf="parent"

duckchat/duckchat-impl/src/main/res/layout/fragment_search_tab.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
android:layout_height="match_parent"
5151
android:background="?attr/daxColorBrowserOverlay"
5252
android:clipToPadding="false"
53-
android:elevation="4dp"
53+
android:paddingTop="@dimen/keyline_3"
5454
android:paddingBottom="64dp"
5555
tools:itemCount="3"
5656
tools:listitem="@layout/item_autocomplete_search_suggestion"

0 commit comments

Comments
 (0)