• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Gallery2


Commit MetaInfo

修订版e1febea9aa87724be78e3a24e8fe2d4ee1354c51 (tree)
时间2017-08-16 03:32:56
作者Hyunyoung Song <hyunyoungs@goog...>
CommiterHyunyoung Song

Log Message

Adaptive icon for Gallery2 AOSP
Bug: 64333648
Test: manual

Change-Id: Ifec26c6e5598ab31a73e4e7f090a843f10f63fef

更改概述

差异

--- /dev/null
+++ b/res/mipmap-anydpi/ic_launcher_gallery.xml
@@ -0,0 +1,19 @@
1+<?xml version="1.0" encoding="utf-8"?>
2+<!-- Copyright (C) 2017 The Android Open Source Project
3+
4+ Licensed under the Apache License, Version 2.0 (the "License");
5+ you may not use this file except in compliance with the License.
6+ You may obtain a copy of the License at
7+
8+ http://www.apache.org/licenses/LICENSE-2.0
9+
10+ Unless required by applicable law or agreed to in writing, software
11+ distributed under the License is distributed on an "AS IS" BASIS,
12+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ See the License for the specific language governing permissions and
14+ limitations under the License.
15+-->
16+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
17+ <background android:drawable="@color/ic_launcher_gallery_background"/>
18+ <foreground android:drawable="@mipmap/ic_launcher_gallery_foreground"/>
19+</adaptive-icon>
\ No newline at end of file
Binary files a/res/mipmap-hdpi/ic_launcher_gallery.png and /dev/null differ
Binary files a/res/mipmap-mdpi/ic_launcher_gallery.png and /dev/null differ
Binary files a/res/mipmap-xhdpi/ic_launcher_gallery.png and /dev/null differ
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -15,6 +15,7 @@
1515 -->
1616 <resources>
1717 <color name="default_background">#000</color>
18+ <color name="ic_launcher_gallery_background">#4285f4</color>
1819
1920 <!-- configuration for album set page -->
2021 <color name="albumset_background">#1A1A1A</color>