1. 程式人生 > >GO平臺Launcher3 GO部分修改

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"