Hey I have a search toolbar > <?xml version...
# android
c
Hey I have a search toolbar
<?xml version=“1.0” encoding=“utf-8"?>
<com.google.android.material.appbar.AppBarLayout xmlns:android=“http://schemas.android.com/apk/res/android
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:background=“@null”>
<FrameLayout
android:layout_width=“match_parent”
android:layout_height=“wrap_content”>
<com.comapny.apps.view.custom.ui.MyToolbar
android:id=“@+id/toolbar”
style=“@style/AppTheme.Toolbar”
android:layout_width=“match_parent”/>
<com.comapny.apps.view.custom.SearchView
android:id=“@+id/search_view”
android:layout_width=“match_parent”
android:layout_height=“wrap_content”
android:layout_gravity=“bottom”
android:visibility=“invisible”/>
</FrameLayout>
</com.google.android.material.appbar.AppBarLayout>
It seems like I can only see the shadow under my search view when I
include
the layout in other views. When I use it as a custom ui component (
<com.company.apps.view.custom.ui.SearchToolbar/>
), it does not show the shadow. Any idea as to why?
😶 6
It looks like this workspace is getting stricter on kotlin only topics. Is there another workspace I can join to ask these kinds of questions?
k
See channel description
c
You could always try out Android-United workspace. android-united.slack.com