GO平台Launcher3 GO部分修改

1、修改All App背景颜色为黑色

==>修改All App为背景颜色为黑色:

Path:alps/packages/apps/Launcher3/res/values/styles.xml
修改所有为:<item name="allAppsScrimColor">#000000</item>

==>修改Search App字体颜色为白色:

Path:alps/packages/apps/Launcher3/res/layout/all_apps_empty_search.xml
修改为:android:textColor="@android:color/white"

Path:alps/packages/apps/Launcher3/res/layout/search_container_all_apps.xml
修改为:android:textColor="@android:color/white"

==>修改Folder中的App字体颜色为白色:

Path:alps/packages/apps/Launcher3/res/values/styles.xml
新建样式:
<style name="BaseFolderIcon">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">match_parent</item>
    <item name="android:layout_gravity">center</item>
    <item name="android:focusable">true</item>
    <item name="android:gravity">center_horizontal</item>
    <item name="android:singleLine">true</item>
    <item name="android:ellipsize">marquee</item>
    <item name="android:textColor">?android:attr/textColorSecondary</item>
    <item name="android:fontFamily">sans-serif-condensed</item>

    <!-- No shadows in the base theme -->
    <item name="android:shadowRadius">0</item>
</style>

Path:alps/packages/apps/Launcher3/res/layout/folder_application.xml
修改为:style="@style/BaseFolderIcon"

猜你喜欢

转载自blog.csdn.net/qq_32869123/article/details/84834651
今日推荐