diff --git a/Android.mk b/Android.mk index ad8ce02477..713d0828ad 100644 --- a/Android.mk +++ b/Android.mk @@ -35,12 +35,14 @@ LOCAL_SRC_FILES := \ LOCAL_RESOURCE_DIR := \ $(LOCAL_PATH)/res \ - frameworks/support/v7/recyclerview/res + prebuilts/sdk/current/support/v7/recyclerview/res \ LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_PROTOC_OPTIMIZE_TYPE := nano LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ +LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java + LOCAL_AAPT_FLAGS := \ --auto-add-overlay \ --extra-packages android.support.v7.recyclerview \ @@ -48,6 +50,7 @@ LOCAL_AAPT_FLAGS := \ LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 21 LOCAL_PACKAGE_NAME := Launcher3 +LOCAL_PRIVILEGED_MODULE := true LOCAL_OVERRIDES_PACKAGES := Home Launcher2 LOCAL_FULL_LIBS_MANIFEST_FILES := $(LOCAL_PATH)/AndroidManifest-common.xml @@ -65,6 +68,7 @@ LOCAL_SRC_FILES := $(call all-proto-files-under, protos) LOCAL_PROTOC_OPTIMIZE_TYPE := nano LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/ +LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java LOCAL_MODULE_TAGS := optional LOCAL_MODULE := launcher_proto_lib diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml index bbe1f4a88d..3a60a9878f 100644 --- a/AndroidManifest-common.xml +++ b/AndroidManifest-common.xml @@ -49,7 +49,7 @@ android:fullBackupOnly="true" android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" - android:icon="@mipmap/ic_launcher_home" + android:icon="@drawable/ic_launcher_home" android:label="@string/derived_app_name" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" @@ -58,12 +58,21 @@ + android:permission="com.android.launcher.permission.INSTALL_SHORTCUT" + android:enabled="@bool/enable_install_shortcut_api" > + + + + + + + @@ -76,8 +85,35 @@ android:process=":wallpaper_chooser"> + + + + + + + + + + + + + + + + diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6c5990d1b2..bcb522b21f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -54,8 +54,9 @@ android:fullBackupOnly="true" android:fullBackupContent="@xml/backupscheme" android:hardwareAccelerated="true" - android:icon="@mipmap/ic_launcher_home" + android:icon="@drawable/ic_launcher_home" android:label="@string/derived_app_name" + android:theme="@style/LauncherTheme" android:largeHeap="@bool/config_largeHeap" android:restoreAnyVersion="true" android:supportsRtl="true" > @@ -69,10 +70,10 @@ android:launchMode="singleTask" android:clearTaskOnLaunch="true" android:stateNotNeeded="true" - android:theme="@style/LauncherTheme" - android:windowSoftInputMode="adjustPan" + android:windowSoftInputMode="adjustPan|stateUnchanged" android:screenOrientation="nosensor" android:configChanges="keyboard|keyboardHidden|navigation" + android:resizeableActivity="true" android:resumeWhilePausing="true" android:taskAffinity="" android:enabled="true"> @@ -90,6 +91,7 @@ @@ -133,7 +135,7 @@ android:theme="@android:style/Theme.NoDisplay" android:label="* HPROF" android:excludeFromRecents="true" - android:icon="@mipmap/ic_launcher_home" + android:icon="@drawable/ic_launcher_home" > @@ -145,7 +147,7 @@ + android:icon="@drawable/ic_launcher_home"> diff --git a/build.gradle b/build.gradle index e103d792f6..9c71693f74 100644 --- a/build.gradle +++ b/build.gradle @@ -1,9 +1,10 @@ buildscript { repositories { mavenCentral() + jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.1.3' + classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.0' } } @@ -12,12 +13,12 @@ apply plugin: 'com.android.application' apply plugin: 'com.google.protobuf' android { - compileSdkVersion 25 - buildToolsVersion '24.0.0' + compileSdkVersion 26 + buildToolsVersion '26.0.0' defaultConfig { minSdkVersion 21 - targetSdkVersion 25 + targetSdkVersion 26 versionCode 1 versionName "1.0" @@ -45,29 +46,39 @@ android { androidTest { java.srcDirs = ['tests/src'] - manifest.srcFile "tests/AndroidManifest.xml" + res.srcDirs = ['tests/res'] + manifest.srcFile "tests/AndroidManifest-common.xml" } aosp { manifest.srcFile "AndroidManifest.xml" } + + aospAndroidTest { + manifest.srcFile "tests/AndroidManifest.xml" + } } } repositories { mavenCentral() + jcenter() } +final String SUPPORT_LIBS_VERSION = '26.0.0-SNAPSHOT' dependencies { - compile 'com.android.support:support-v4:23.1.1' - compile 'com.android.support:recyclerview-v7:23.1.1' - compile 'com.android.support:palette-v7:23.2.0' + compile "com.android.support:support-v4:${SUPPORT_LIBS_VERSION}" + compile "com.android.support:recyclerview-v7:${SUPPORT_LIBS_VERSION}" + compile "com.android.support:palette-v7:${SUPPORT_LIBS_VERSION}" compile 'com.google.protobuf.nano:protobuf-javanano:3.0.0-alpha-2' testCompile 'junit:junit:4.12' + androidTestCompile "org.mockito:mockito-core:1.+" + androidTestCompile 'com.google.dexmaker:dexmaker:1.2' + androidTestCompile 'com.google.dexmaker:dexmaker-mockito:1.2' androidTestCompile 'com.android.support.test:runner:0.5' androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' - androidTestCompile 'com.android.support:support-annotations:23.2.0' + androidTestCompile "com.android.support:support-annotations:${SUPPORT_LIBS_VERSION}" } protobuf { @@ -80,7 +91,8 @@ protobuf { task.builtins { remove java javanano { - option 'ignore_services=false' + option "java_package=launcher_log.proto|com.android.launcher3.userevent.nano" + option "enum_style=java" } } } diff --git a/proguard.flags b/proguard.flags index c5e9db1f04..6cbab08e2c 100644 --- a/proguard.flags +++ b/proguard.flags @@ -82,3 +82,15 @@ *; } +# Proguard will strip methods required for talkback to properly scroll to +# next row when focus is on the last item of last row when using a RecyclerView +# Keep optimized and shrunk proguard to prevent issues like this when using +# support jar. +#-keep,allowoptimization,allowshrinking class android.support.** { +# *; +#} +-keep class android.support.v7.widget.RecyclerView { *; } + +-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** { + *; +} diff --git a/protos/launcher_dump.proto b/protos/launcher_dump.proto new file mode 100644 index 0000000000..dc8fbda250 --- /dev/null +++ b/protos/launcher_dump.proto @@ -0,0 +1,75 @@ +/* + * Copyright (C) 2017 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +syntax = "proto2"; + +option java_package = "com.android.launcher3.model"; +option java_outer_classname = "LauncherDumpProto"; + +package model; + +message DumpTarget { + enum Type { + NONE = 0; + ITEM = 1; + CONTAINER = 2; + } + + optional Type type = 1; + optional int32 page_id = 2; + optional int32 grid_x = 3; + optional int32 grid_y = 4; + + // For container types only + optional ContainerType container_type = 5; + + // For item types only + optional ItemType item_type = 6; + + optional string package_name = 7; // All ItemTypes except UNKNOWN type + optional string component = 8; // All ItemTypes except UNKNOWN type + optional string item_id = 9; // For Pinned Shortcuts and appWidgetId + + optional int32 span_x = 10 [default = 1];// Used for ItemType.WIDGET + optional int32 span_y = 11 [default = 1];// Used for ItemType.WIDGET + optional UserType user_type = 12; +} + +// Used to define what type of item a Target would represent. +enum ItemType { + UNKNOWN_ITEMTYPE = 0; // Launcher specific items + APP_ICON = 1; // Regular app icons + WIDGET = 2; // Elements from AppWidgetManager + SHORTCUT = 3; // ShortcutManager +} + +// Used to define what type of container a Target would represent. +enum ContainerType { + UNKNOWN_CONTAINERTYPE = 0; + WORKSPACE = 1; + HOTSEAT = 2; + FOLDER = 3; +} + +// Used to define what type of control a Target would represent. +enum UserType { + DEFAULT = 0; + WORK = 1; +} + +// Main message; +message LauncherImpression { + repeated DumpTarget targets = 1; +} diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto index 6b27559534..909a42987e 100644 --- a/protos/launcher_log.proto +++ b/protos/launcher_log.proto @@ -63,6 +63,8 @@ enum ItemType { FOLDER_ICON = 4; DEEPSHORTCUT = 5; SEARCHBOX = 6; + EDITTEXT = 7; + NOTIFICATION = 8; } // Used to define what type of container a Target would represent. @@ -77,6 +79,7 @@ enum ContainerType { PREDICTION = 7; SEARCHRESULT = 8; DEEPSHORTCUTS = 9; + PINITEM = 10; // confirmation screen } // Used to define what type of control a Target would represent. @@ -91,7 +94,9 @@ enum ControlType { APPINFO_TARGET = 7; RESIZE_HANDLE = 8; VERTICAL_SCROLL = 9; - // HOME, BACK, GO_TO_PLAYSTORE + HOME_INTENT = 10; // Deprecated, use enum Command instead + BACK_BUTTON = 11; // Deprecated, use enum Command instead + // GO_TO_PLAYSTORE } // Used to define the action component of the LauncherEvent. @@ -99,6 +104,7 @@ message Action { enum Type { TOUCH = 0; AUTOMATED = 1; + COMMAND = 2; // SOFT_KEYBOARD, HARD_KEYBOARD, ASSIST } enum Touch { @@ -116,9 +122,20 @@ message Action { LEFT = 3; RIGHT = 4; } + enum Command { + HOME_INTENT = 0; + BACK = 1; + ENTRY = 2; // Indicates entry to one of Launcher container type target + // not using the HOME_INTENT + CANCEL = 3; // Indicates that a confirmation screen was cancelled + CONFIRM = 4; // Indicates thata confirmation screen was accepted + } optional Type type = 1; optional Touch touch = 2; optional Direction dir = 3; + optional Command command = 4; + // Log if the action was performed on outside of the container + optional bool is_outside = 5; } // @@ -137,4 +154,6 @@ message LauncherEvent { optional int64 action_duration_millis = 4; optional int64 elapsed_container_millis = 5; optional int64 elapsed_session_millis = 6; + + optional bool is_in_multi_window_mode = 7; } diff --git a/res/animator/all_apps_fastscroll_icon_anim.xml b/res/animator/all_apps_fastscroll_icon_anim.xml new file mode 100644 index 0000000000..380b009a6a --- /dev/null +++ b/res/animator/all_apps_fastscroll_icon_anim.xml @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/animator-v21/overview_button_anim.xml b/res/animator/overview_button_anim.xml similarity index 81% rename from res/animator-v21/overview_button_anim.xml rename to res/animator/overview_button_anim.xml index aac3d26555..585f165b1e 100644 --- a/res/animator-v21/overview_button_anim.xml +++ b/res/animator/overview_button_anim.xml @@ -24,13 +24,6 @@ android:valueType="floatType" /> - - - - - diff --git a/res/drawable-v21/quantum_panel_dark.xml b/res/drawable-v21/quantum_panel_dark.xml deleted file mode 100644 index 405ad51735..0000000000 --- a/res/drawable-v21/quantum_panel_dark.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - diff --git a/res/drawable/quantum_panel_shape.xml b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml similarity index 66% rename from res/drawable/quantum_panel_shape.xml rename to res/drawable-v26/adaptive_icon_drawable_wrapper.xml index 1083615768..2d78b699f4 100644 --- a/res/drawable/quantum_panel_shape.xml +++ b/res/drawable-v26/adaptive_icon_drawable_wrapper.xml @@ -1,6 +1,6 @@ - - - - \ No newline at end of file + + + + + + diff --git a/res/drawable-v26/ic_launcher_home.xml b/res/drawable-v26/ic_launcher_home.xml new file mode 100644 index 0000000000..7038775f35 --- /dev/null +++ b/res/drawable-v26/ic_launcher_home.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/drawable-xhdpi/ic_all_apps_bg_hand.png b/res/drawable-xhdpi/ic_all_apps_bg_hand.png index e727d3785a..1acb378ba8 100644 Binary files a/res/drawable-xhdpi/ic_all_apps_bg_hand.png and b/res/drawable-xhdpi/ic_all_apps_bg_hand.png differ diff --git a/res/drawable-xhdpi/page_hover_left.9.png b/res/drawable-xhdpi/page_hover_left.9.png deleted file mode 100644 index dbcc0abd2d..0000000000 Binary files a/res/drawable-xhdpi/page_hover_left.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/page_hover_left_active.9.png b/res/drawable-xhdpi/page_hover_left_active.9.png deleted file mode 100644 index 3233efe281..0000000000 Binary files a/res/drawable-xhdpi/page_hover_left_active.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/page_hover_right.9.png b/res/drawable-xhdpi/page_hover_right.9.png deleted file mode 100644 index d82f809bfd..0000000000 Binary files a/res/drawable-xhdpi/page_hover_right.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/page_hover_right_active.9.png b/res/drawable-xhdpi/page_hover_right_active.9.png deleted file mode 100644 index 819ea195ce..0000000000 Binary files a/res/drawable-xhdpi/page_hover_right_active.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/quantum_panel_bitmap.9.png b/res/drawable-xhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index b89e8b4103..0000000000 Binary files a/res/drawable-xhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 1d17136036..0000000000 Binary files a/res/drawable-xhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/screenpanel.9.png b/res/drawable-xhdpi/screenpanel.9.png deleted file mode 100644 index 75343f78db..0000000000 Binary files a/res/drawable-xhdpi/screenpanel.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/screenpanel_hover.9.png b/res/drawable-xhdpi/screenpanel_hover.9.png deleted file mode 100644 index 55b4d6ed25..0000000000 Binary files a/res/drawable-xhdpi/screenpanel_hover.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/virtual_preload.9.png b/res/drawable-xhdpi/virtual_preload.9.png deleted file mode 100644 index 2afade1b25..0000000000 Binary files a/res/drawable-xhdpi/virtual_preload.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/virtual_preload_folder.9.png b/res/drawable-xhdpi/virtual_preload_folder.9.png deleted file mode 100644 index cb3fdca4e5..0000000000 Binary files a/res/drawable-xhdpi/virtual_preload_folder.9.png and /dev/null differ diff --git a/res/drawable-xhdpi/widget_tile.png b/res/drawable-xhdpi/widget_tile.png deleted file mode 100644 index be1748d024..0000000000 Binary files a/res/drawable-xhdpi/widget_tile.png and /dev/null differ diff --git a/res/drawable-xxhdpi/ic_all_apps_bg_hand.png b/res/drawable-xxhdpi/ic_all_apps_bg_hand.png index fffcc6bb69..09c6c8d52d 100644 Binary files a/res/drawable-xxhdpi/ic_all_apps_bg_hand.png and b/res/drawable-xxhdpi/ic_all_apps_bg_hand.png differ diff --git a/res/drawable-xxhdpi/page_hover_left.9.png b/res/drawable-xxhdpi/page_hover_left.9.png deleted file mode 100644 index c81f86c023..0000000000 Binary files a/res/drawable-xxhdpi/page_hover_left.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/page_hover_left_active.9.png b/res/drawable-xxhdpi/page_hover_left_active.9.png deleted file mode 100644 index 858a3b2ab0..0000000000 Binary files a/res/drawable-xxhdpi/page_hover_left_active.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/page_hover_right.9.png b/res/drawable-xxhdpi/page_hover_right.9.png deleted file mode 100644 index c5297703e0..0000000000 Binary files a/res/drawable-xxhdpi/page_hover_right.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/page_hover_right_active.9.png b/res/drawable-xxhdpi/page_hover_right_active.9.png deleted file mode 100644 index 99005536b2..0000000000 Binary files a/res/drawable-xxhdpi/page_hover_right_active.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/quantum_panel_bitmap.9.png b/res/drawable-xxhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index 1dd1f6db85..0000000000 Binary files a/res/drawable-xxhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 48d584b95b..0000000000 Binary files a/res/drawable-xxhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/screenpanel.9.png b/res/drawable-xxhdpi/screenpanel.9.png deleted file mode 100644 index b221b378fc..0000000000 Binary files a/res/drawable-xxhdpi/screenpanel.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/screenpanel_hover.9.png b/res/drawable-xxhdpi/screenpanel_hover.9.png deleted file mode 100644 index 418cf0a627..0000000000 Binary files a/res/drawable-xxhdpi/screenpanel_hover.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/virtual_preload.9.png b/res/drawable-xxhdpi/virtual_preload.9.png deleted file mode 100644 index 03c6e7f7d9..0000000000 Binary files a/res/drawable-xxhdpi/virtual_preload.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/virtual_preload_folder.9.png b/res/drawable-xxhdpi/virtual_preload_folder.9.png deleted file mode 100644 index 052a72e072..0000000000 Binary files a/res/drawable-xxhdpi/virtual_preload_folder.9.png and /dev/null differ diff --git a/res/drawable-xxhdpi/widget_tile.png b/res/drawable-xxhdpi/widget_tile.png deleted file mode 100644 index c6237db303..0000000000 Binary files a/res/drawable-xxhdpi/widget_tile.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/ic_all_apps_bg_hand.png b/res/drawable-xxxhdpi/ic_all_apps_bg_hand.png index 4d065d806c..49c004dba4 100644 Binary files a/res/drawable-xxxhdpi/ic_all_apps_bg_hand.png and b/res/drawable-xxxhdpi/ic_all_apps_bg_hand.png differ diff --git a/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png b/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png deleted file mode 100644 index 915177d78d..0000000000 Binary files a/res/drawable-xxxhdpi/quantum_panel_bitmap.9.png and /dev/null differ diff --git a/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png b/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png deleted file mode 100644 index 27b8466527..0000000000 Binary files a/res/drawable-xxxhdpi/quantum_panel_dark_bitmap.9.png and /dev/null differ diff --git a/res/drawable/all_apps_divider.xml b/res/drawable/all_apps_divider.xml index 3fe5295566..4bd274dd4b 100644 --- a/res/drawable/all_apps_divider.xml +++ b/res/drawable/all_apps_divider.xml @@ -15,6 +15,6 @@ --> - + \ No newline at end of file diff --git a/res/drawable/bg_celllayout.xml b/res/drawable/bg_celllayout.xml index d2219b36cf..b81b37f06f 100644 --- a/res/drawable/bg_celllayout.xml +++ b/res/drawable/bg_celllayout.xml @@ -18,20 +18,18 @@ */ --> - - - - + + + + - - - + + - - \ No newline at end of file + diff --git a/res/drawable/bg_white_pill.xml b/res/drawable/bg_white_round_rect.xml similarity index 85% rename from res/drawable/bg_white_pill.xml rename to res/drawable/bg_white_round_rect.xml index f92f7394e5..c7f786ff61 100644 --- a/res/drawable/bg_white_pill.xml +++ b/res/drawable/bg_white_round_rect.xml @@ -1,5 +1,5 @@ - - + - - - - \ No newline at end of file + + \ No newline at end of file diff --git a/res/drawable/ic_info_no_shadow.xml b/res/drawable/ic_info_no_shadow.xml new file mode 100644 index 0000000000..3d0c6d6e47 --- /dev/null +++ b/res/drawable/ic_info_no_shadow.xml @@ -0,0 +1,24 @@ + + + + + diff --git a/res/drawable/quantum_panel.xml b/res/drawable/ic_launcher_home.xml similarity index 70% rename from res/drawable/quantum_panel.xml rename to res/drawable/ic_launcher_home.xml index 1f4fb711bb..a6f2519954 100644 --- a/res/drawable/quantum_panel.xml +++ b/res/drawable/ic_launcher_home.xml @@ -1,12 +1,11 @@ - - + diff --git a/res/drawable/ic_setting.xml b/res/drawable/ic_setting.xml index 8a50c0c789..e89c158c8b 100644 --- a/res/drawable/ic_setting.xml +++ b/res/drawable/ic_setting.xml @@ -19,6 +19,6 @@ Copyright (C) 2016 The Android Open Source Project android:viewportWidth="48.0" android:viewportHeight="48.0"> diff --git a/res/drawable/ic_star_rating.xml b/res/drawable/ic_star_rating.xml new file mode 100644 index 0000000000..4e34fa33e8 --- /dev/null +++ b/res/drawable/ic_star_rating.xml @@ -0,0 +1,27 @@ + + + + + + \ No newline at end of file diff --git a/res/drawable/ic_wallpaper.xml b/res/drawable/ic_wallpaper.xml index 7af4b2afc5..b7fcfbf55b 100644 --- a/res/drawable/ic_wallpaper.xml +++ b/res/drawable/ic_wallpaper.xml @@ -19,6 +19,6 @@ Copyright (C) 2016 The Android Open Source Project android:viewportWidth="48.0" android:viewportHeight="48.0"> diff --git a/res/drawable/ic_widget.xml b/res/drawable/ic_widget.xml index 3e7bd7b51d..97706e36d7 100644 --- a/res/drawable/ic_widget.xml +++ b/res/drawable/ic_widget.xml @@ -19,6 +19,6 @@ Copyright (C) 2016 The Android Open Source Project android:viewportWidth="48.0" android:viewportHeight="48.0"> diff --git a/res/drawable/quantum_panel_dark.xml b/res/drawable/pending_widget_bg.xml similarity index 72% rename from res/drawable/quantum_panel_dark.xml rename to res/drawable/pending_widget_bg.xml index 6642e78ac7..cf29f90cc1 100644 --- a/res/drawable/quantum_panel_dark.xml +++ b/res/drawable/pending_widget_bg.xml @@ -1,6 +1,6 @@ - + diff --git a/res/drawable/quantum_panel_shape_dark.xml b/res/drawable/round_rect_primary.xml similarity index 89% rename from res/drawable/quantum_panel_shape_dark.xml rename to res/drawable/round_rect_primary.xml index b299eb8047..2c47e06536 100644 --- a/res/drawable/quantum_panel_shape_dark.xml +++ b/res/drawable/round_rect_primary.xml @@ -16,7 +16,6 @@ --> - - + + diff --git a/res/drawable/widgets_row_divider.xml b/res/drawable/widgets_row_divider.xml deleted file mode 100644 index 2c3c7a2553..0000000000 --- a/res/drawable/widgets_row_divider.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index a2e2f9bbab..dd981dd20e 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -77,8 +77,7 @@ android:id="@+id/apps_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:visibility="invisible" - launcher:layout_ignoreInsets="true" /> + android:visibility="invisible" /> diff --git a/res/layout-sw720dp/launcher.xml b/res/layout-sw720dp/launcher.xml index 12c01b77d9..06cb550403 100644 --- a/res/layout-sw720dp/launcher.xml +++ b/res/layout-sw720dp/launcher.xml @@ -76,8 +76,7 @@ android:id="@+id/apps_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:visibility="invisible" - launcher:layout_ignoreInsets="true" /> + android:visibility="invisible" /> diff --git a/res/layout/add_item_confirmation_activity.xml b/res/layout/add_item_confirmation_activity.xml new file mode 100644 index 0000000000..35bcac3893 --- /dev/null +++ b/res/layout/add_item_confirmation_activity.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + +