diff options
author | Tony Wickham <twickham@google.com> | 2017-02-24 15:08:13 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-03-02 11:27:16 -0800 |
commit | 9407d4ab57a0c3500647f1f5f9a9a44b51d222b4 (patch) | |
tree | f71d04a0f8abead00df1762ad83abe8b4e61148c /res/drawable | |
parent | f2db25398a029b6f13afccbec331e35c8007dde6 (diff) | |
download | android_packages_apps_Trebuchet-9407d4ab57a0c3500647f1f5f9a9a44b51d222b4.tar.gz android_packages_apps_Trebuchet-9407d4ab57a0c3500647f1f5f9a9a44b51d222b4.tar.bz2 android_packages_apps_Trebuchet-9407d4ab57a0c3500647f1f5f9a9a44b51d222b4.zip |
Update notification visuals (part 2)
- Background is now white, and color beneath and divider color
updated accordingly (not from color extraction)
- Removed overflow text ("+6") and added it to a header
("6 Notifications"). Use "..." instead if there is an overflow.
- Even spaced out icons in notification footer between the
far right icon and the ellipsis
- Remove code to change arrow tint, since it is always white
now. This also fixes the issue where it was drawn as a rect.
Bug: 35766387
Change-Id: I03bfda4ff029f23dd8b3dd1b72f534ea0e2c0816
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/horizontal_ellipsis.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/res/drawable/horizontal_ellipsis.xml b/res/drawable/horizontal_ellipsis.xml new file mode 100644 index 000000000..ad0852901 --- /dev/null +++ b/res/drawable/horizontal_ellipsis.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- 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. +--> + +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="@dimen/horizontal_ellipsis_size" + android:height="@dimen/horizontal_ellipsis_size" + android:viewportWidth="24.0" + android:viewportHeight="24.0" + android:tint="?android:attr/textColorSecondary" > + + <path + android:pathData="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" + android:fillColor="@android:color/white" /> +</vector>
\ No newline at end of file |