From d3ec5f3d6e3f4b1b0c88a275e48e8e3ec1ab9711 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 8 Oct 2021 12:59:07 +0200 Subject: [PATCH 1/2] Make search bar fully circular rounded Signed-off-by: Andy Scherzinger --- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/search_layout.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 6cf978353..b0497fff0 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -49,7 +49,7 @@ android:layout_marginEnd="16dp" android:layout_marginBottom="1dp" android:visibility="gone" - app:cardCornerRadius="8dp" + app:cardCornerRadius="25dp" app:cardElevation="2dp" app:strokeWidth="0dp" tools:visibility="visible"> diff --git a/app/src/main/res/layout/search_layout.xml b/app/src/main/res/layout/search_layout.xml index 759a86922..98c0942b7 100644 --- a/app/src/main/res/layout/search_layout.xml +++ b/app/src/main/res/layout/search_layout.xml @@ -37,7 +37,7 @@ android:layout_marginEnd="16dp" android:layout_marginBottom="1dp" android:visibility="gone" - app:cardCornerRadius="8dp" + app:cardCornerRadius="25dp" app:cardElevation="2dp" app:strokeWidth="0dp" tools:visibility="visible"> From 561a0bf80949f581db00a27ff56b3f1c44e45aaa Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Mon, 11 Oct 2021 10:49:32 +0200 Subject: [PATCH 2/2] align search box text with avatars Signed-off-by: Andy Scherzinger --- app/src/main/res/layout/activity_main.xml | 2 +- app/src/main/res/layout/search_layout.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index b0497fff0..c83a17e8a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -77,7 +77,7 @@ android:id="@+id/search_text" android:layout_width="0dp" android:layout_height="48dp" - android:layout_marginStart="13dp" + android:layout_marginStart="20dp" android:layout_marginEnd="18dp" android:ellipsize="end" android:gravity="start|center_vertical" diff --git a/app/src/main/res/layout/search_layout.xml b/app/src/main/res/layout/search_layout.xml index 98c0942b7..13e48d9de 100644 --- a/app/src/main/res/layout/search_layout.xml +++ b/app/src/main/res/layout/search_layout.xml @@ -65,7 +65,7 @@ android:id="@+id/search_text" android:layout_width="0dp" android:layout_height="48dp" - android:layout_marginStart="13dp" + android:layout_marginStart="20dp" android:layout_marginEnd="18dp" android:ellipsize="end" android:gravity="start|center_vertical"