8.1Launcher3 Google搜尋框 往上移或者去掉
阿新 • • 發佈:2018-12-14
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"
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。