Skip to content

Commit 03320fc

Browse files
committed
Reference download asset through intermediate.
Instead of referencing PNG directly, use an intermediate <bitmap> to handle density resolution. Bug: 5366540 Change-Id: I233e292d88ac33995eab0e15804bb38607de73a3
1 parent 1302d32 commit 03320fc

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Copyright (C) 2011 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+
17+
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:src="@drawable/stat_sys_download_anim0" />

core/res/res/values/colors.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<color name="suggestion_highlight_text">#177bbd</color>
6262

6363
<drawable name="stat_notify_sync_noanim">@drawable/stat_notify_sync_anim0</drawable>
64-
<drawable name="stat_sys_download_done">@drawable/stat_sys_download_anim0</drawable>
64+
<drawable name="stat_sys_download_done">@drawable/stat_sys_download_done_static</drawable>
6565
<drawable name="stat_sys_upload_done">@drawable/stat_sys_upload_anim0</drawable>
6666
<drawable name="dialog_frame">@drawable/panel_background</drawable>
6767
<drawable name="alert_dark_frame">@drawable/popup_full_dark</drawable>

0 commit comments

Comments
 (0)