diff options
| -rw-r--r-- | packages/DocumentsUI/res/drawable-hdpi/ic_root_sdcard_alpha.png | bin | 171 -> 0 bytes | |||
| -rw-r--r-- | packages/DocumentsUI/res/drawable-mdpi/ic_root_sdcard_alpha.png | bin | 139 -> 0 bytes | |||
| -rw-r--r-- | packages/DocumentsUI/res/drawable-xhdpi/ic_root_sdcard_alpha.png | bin | 209 -> 0 bytes | |||
| -rw-r--r-- | packages/DocumentsUI/res/drawable-xxhdpi/ic_root_sdcard_alpha.png | bin | 288 -> 0 bytes | |||
| -rw-r--r-- | packages/DocumentsUI/res/drawable-xxxhdpi/ic_root_sdcard_alpha.png | bin | 369 -> 0 bytes | |||
| -rw-r--r-- | packages/DocumentsUI/res/drawable/ic_root_sdcard.xml | 4 | ||||
| -rw-r--r-- | packages/DocumentsUI/res/drawable/ic_root_smartphone.xml | 24 | ||||
| -rw-r--r-- | packages/DocumentsUI/src/com/android/documentsui/model/RootInfo.java | 2 |
8 files changed, 25 insertions, 5 deletions
diff --git a/packages/DocumentsUI/res/drawable-hdpi/ic_root_sdcard_alpha.png b/packages/DocumentsUI/res/drawable-hdpi/ic_root_sdcard_alpha.png Binary files differdeleted file mode 100644 index 65e42aa4a196..000000000000 --- a/packages/DocumentsUI/res/drawable-hdpi/ic_root_sdcard_alpha.png +++ /dev/null diff --git a/packages/DocumentsUI/res/drawable-mdpi/ic_root_sdcard_alpha.png b/packages/DocumentsUI/res/drawable-mdpi/ic_root_sdcard_alpha.png Binary files differdeleted file mode 100644 index 1de8292c0721..000000000000 --- a/packages/DocumentsUI/res/drawable-mdpi/ic_root_sdcard_alpha.png +++ /dev/null diff --git a/packages/DocumentsUI/res/drawable-xhdpi/ic_root_sdcard_alpha.png b/packages/DocumentsUI/res/drawable-xhdpi/ic_root_sdcard_alpha.png Binary files differdeleted file mode 100644 index 00b8a8b719d8..000000000000 --- a/packages/DocumentsUI/res/drawable-xhdpi/ic_root_sdcard_alpha.png +++ /dev/null diff --git a/packages/DocumentsUI/res/drawable-xxhdpi/ic_root_sdcard_alpha.png b/packages/DocumentsUI/res/drawable-xxhdpi/ic_root_sdcard_alpha.png Binary files differdeleted file mode 100644 index 52367749f8d4..000000000000 --- a/packages/DocumentsUI/res/drawable-xxhdpi/ic_root_sdcard_alpha.png +++ /dev/null diff --git a/packages/DocumentsUI/res/drawable-xxxhdpi/ic_root_sdcard_alpha.png b/packages/DocumentsUI/res/drawable-xxxhdpi/ic_root_sdcard_alpha.png Binary files differdeleted file mode 100644 index c7daa2a6fcaf..000000000000 --- a/packages/DocumentsUI/res/drawable-xxxhdpi/ic_root_sdcard_alpha.png +++ /dev/null diff --git a/packages/DocumentsUI/res/drawable/ic_root_sdcard.xml b/packages/DocumentsUI/res/drawable/ic_root_sdcard.xml deleted file mode 100644 index 27cfa81dd847..000000000000 --- a/packages/DocumentsUI/res/drawable/ic_root_sdcard.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:src="@drawable/ic_root_sdcard_alpha" - android:tint="?android:attr/colorControlNormal" /> diff --git a/packages/DocumentsUI/res/drawable/ic_root_smartphone.xml b/packages/DocumentsUI/res/drawable/ic_root_smartphone.xml new file mode 100644 index 000000000000..3021b16371ad --- /dev/null +++ b/packages/DocumentsUI/res/drawable/ic_root_smartphone.xml @@ -0,0 +1,24 @@ +<!-- +Copyright (C) 2015 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:fillColor="#FF000000" + android:pathData="M17 1.01L7 1c-1.1 0,-2 .9,-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2,-.9 2,-2V3c0,-1.1,-.9,-1.99,-2,-1.99zM17 19H7V5h10v14z"/> +</vector> diff --git a/packages/DocumentsUI/src/com/android/documentsui/model/RootInfo.java b/packages/DocumentsUI/src/com/android/documentsui/model/RootInfo.java index 4caa891fa24e..12c0b8fcd228 100644 --- a/packages/DocumentsUI/src/com/android/documentsui/model/RootInfo.java +++ b/packages/DocumentsUI/src/com/android/documentsui/model/RootInfo.java @@ -174,7 +174,7 @@ public class RootInfo implements Durable, Parcelable { derivedIcon = R.drawable.ic_root_home; derivedType = TYPE_LOCAL; } else if (isExternalStorage()) { - derivedIcon = R.drawable.ic_root_sdcard; + derivedIcon = R.drawable.ic_root_smartphone; derivedType = TYPE_LOCAL; } else if (isDownloads()) { derivedIcon = R.drawable.ic_root_download; |