版权声明:转发请注明链接 https://blog.csdn.net/qq_27512319/article/details/81571217
vendor/mediatek/proprietary/packages/apps/Launcher3/res/layout/search_container_workspace.xml
<com.android.launcher3.qsb.QsbContainerView
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="0dp"
android:id="@id/search_container_workspace"
android:padding="0dp" >
<fragment
android:name="com.android.launcher3.qsb.QsbContainerView$QsbFragment"
扫描二维码关注公众号,回复:
4500979 查看本文章
android:layout_width="match_parent"
android:tag="qsb_view"
- android:layout_height="match_parent"/>
+ android:layout_height="80dp"/> <!-- huacao modify:Google Search location -->
</com.android.launcher3.qsb.QsbContainerView>
如果要去掉,把 android:layout_height 改为0。