diff options
author | calderwoodra <calderwoodra@google.com> | 2018-02-24 11:37:28 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-02-24 11:38:19 -0800 |
commit | 35ecd12f1617f36d8d22fecdabf9c63cbf92599d (patch) | |
tree | 716006ff47663e8741ab609b4cfc153df8348183 /java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml | |
parent | a39e732c6326f6265a213024bbb6899aea04f10a (diff) |
Cancel Old SpeedDial contact loaders when they are reset.
This prevents to many loaders running at the same time and crashing the
application for using too many threads at once.
Also made a few UI changes:
- Change Android nav bar color to #FFF
- Move badges down 2dp
- Limit badges to 9+ (instead of 99+, added flag to configure this)
- search bar no longer has rounded corners when expanded
Bug: 72525324
Test: MainActivityOldPeerTest
PiperOrigin-RevId: 186894920
Change-Id: I36fc5d8794440b707184d54de427db5910ec5b8e
Diffstat (limited to 'java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml')
-rw-r--r-- | java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml b/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml new file mode 100644 index 000000000..8767057a5 --- /dev/null +++ b/java/com/android/dialer/main/impl/toolbar/res/drawable/search_bar_background.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2018 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 + --> +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="@color/background_dialer_white"/> +</shape> |