diff options
author | Amith Yamasani <yamasani@google.com> | 2014-07-17 19:13:51 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-07-17 20:22:08 -0700 |
commit | c16b73e92b9cb776569b32e8dd616b1c46da9591 (patch) | |
tree | 54b5615b1a217a40c2d72c46e0ab05da6f74f779 /res | |
parent | c42d4059b59848bef7bea550522e29d4ef95e18b (diff) | |
download | packages_apps_Settings-c16b73e92b9cb776569b32e8dd616b1c46da9591.zip packages_apps_Settings-c16b73e92b9cb776569b32e8dd616b1c46da9591.tar.gz packages_apps_Settings-c16b73e92b9cb776569b32e8dd616b1c46da9591.tar.bz2 |
Improvements to user settings
Exiting guest mode from within guest user.
Updated assets and cleaned up/optimized some asset clipping code.
Bug: 15761851
Bug: 16355550
Change-Id: I431e92bac3cbedd46bd1e33cffc4d9f0c576ca69
Diffstat (limited to 'res')
64 files changed, 271 insertions, 0 deletions
diff --git a/res/drawable-hdpi/avatar_default_1.png b/res/drawable-hdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 39ffd73..0000000 --- a/res/drawable-hdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_2.png b/res/drawable-hdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index 79203c5..0000000 --- a/res/drawable-hdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_3.png b/res/drawable-hdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index 4d179b3..0000000 --- a/res/drawable-hdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_4.png b/res/drawable-hdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index 1a0332f..0000000 --- a/res/drawable-hdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_5.png b/res/drawable-hdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index 2487e66..0000000 --- a/res/drawable-hdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_6.png b/res/drawable-hdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index f57e1eb..0000000 --- a/res/drawable-hdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_7.png b/res/drawable-hdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index dc4b2ce..0000000 --- a/res/drawable-hdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-hdpi/avatar_default_8.png b/res/drawable-hdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index 64e7936..0000000 --- a/res/drawable-hdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-hdpi/ic_person_white.png b/res/drawable-hdpi/ic_person_white.png Binary files differnew file mode 100644 index 0000000..009524a --- /dev/null +++ b/res/drawable-hdpi/ic_person_white.png diff --git a/res/drawable-ldrtl-hdpi/avatar_default_1.png b/res/drawable-ldrtl-hdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 4ebe7fe..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_2.png b/res/drawable-ldrtl-hdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index 524e556..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_3.png b/res/drawable-ldrtl-hdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index ea0d69d..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_4.png b/res/drawable-ldrtl-hdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index 7387835..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_5.png b/res/drawable-ldrtl-hdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index 0bb455c..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_6.png b/res/drawable-ldrtl-hdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index fa42704..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_7.png b/res/drawable-ldrtl-hdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index 79c0fb7..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-ldrtl-hdpi/avatar_default_8.png b/res/drawable-ldrtl-hdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index a254b84..0000000 --- a/res/drawable-ldrtl-hdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_1.png b/res/drawable-ldrtl-mdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 2b2c00c..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_2.png b/res/drawable-ldrtl-mdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index fa05e11..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_3.png b/res/drawable-ldrtl-mdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index 91c7d5a..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_4.png b/res/drawable-ldrtl-mdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index 4638ac2..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_5.png b/res/drawable-ldrtl-mdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index 6d84a15..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_6.png b/res/drawable-ldrtl-mdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index c62ea5b..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_7.png b/res/drawable-ldrtl-mdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index fe0cbfe..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-ldrtl-mdpi/avatar_default_8.png b/res/drawable-ldrtl-mdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index 424ba3d..0000000 --- a/res/drawable-ldrtl-mdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_1.png b/res/drawable-ldrtl-xhdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 1fdbd46..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_2.png b/res/drawable-ldrtl-xhdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index 9d3d693..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_3.png b/res/drawable-ldrtl-xhdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index 3778914..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_4.png b/res/drawable-ldrtl-xhdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index a25b4f8..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_5.png b/res/drawable-ldrtl-xhdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index 2840f22..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_6.png b/res/drawable-ldrtl-xhdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index d438170..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_7.png b/res/drawable-ldrtl-xhdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index b155d9e..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-ldrtl-xhdpi/avatar_default_8.png b/res/drawable-ldrtl-xhdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index a17e3a4..0000000 --- a/res/drawable-ldrtl-xhdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_1.png b/res/drawable-mdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 0d8e3a2..0000000 --- a/res/drawable-mdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_2.png b/res/drawable-mdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index 0cc4c3d..0000000 --- a/res/drawable-mdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_3.png b/res/drawable-mdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index c43ad6f..0000000 --- a/res/drawable-mdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_4.png b/res/drawable-mdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index 6906489..0000000 --- a/res/drawable-mdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_5.png b/res/drawable-mdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index 857f277..0000000 --- a/res/drawable-mdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_6.png b/res/drawable-mdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index 9d0f968..0000000 --- a/res/drawable-mdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_7.png b/res/drawable-mdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index 7db8864..0000000 --- a/res/drawable-mdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-mdpi/avatar_default_8.png b/res/drawable-mdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index 98d67d9..0000000 --- a/res/drawable-mdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-mdpi/ic_person_white.png b/res/drawable-mdpi/ic_person_white.png Binary files differnew file mode 100644 index 0000000..563f1d1 --- /dev/null +++ b/res/drawable-mdpi/ic_person_white.png diff --git a/res/drawable-xhdpi/avatar_default_1.png b/res/drawable-xhdpi/avatar_default_1.png Binary files differdeleted file mode 100644 index 6caa06a..0000000 --- a/res/drawable-xhdpi/avatar_default_1.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_2.png b/res/drawable-xhdpi/avatar_default_2.png Binary files differdeleted file mode 100644 index faf3b15..0000000 --- a/res/drawable-xhdpi/avatar_default_2.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_3.png b/res/drawable-xhdpi/avatar_default_3.png Binary files differdeleted file mode 100644 index 63a80ff..0000000 --- a/res/drawable-xhdpi/avatar_default_3.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_4.png b/res/drawable-xhdpi/avatar_default_4.png Binary files differdeleted file mode 100644 index d743dc6..0000000 --- a/res/drawable-xhdpi/avatar_default_4.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_5.png b/res/drawable-xhdpi/avatar_default_5.png Binary files differdeleted file mode 100644 index b7b822b..0000000 --- a/res/drawable-xhdpi/avatar_default_5.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_6.png b/res/drawable-xhdpi/avatar_default_6.png Binary files differdeleted file mode 100644 index f5b5e84..0000000 --- a/res/drawable-xhdpi/avatar_default_6.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_7.png b/res/drawable-xhdpi/avatar_default_7.png Binary files differdeleted file mode 100644 index 4271c0d..0000000 --- a/res/drawable-xhdpi/avatar_default_7.png +++ /dev/null diff --git a/res/drawable-xhdpi/avatar_default_8.png b/res/drawable-xhdpi/avatar_default_8.png Binary files differdeleted file mode 100644 index 27261a5..0000000 --- a/res/drawable-xhdpi/avatar_default_8.png +++ /dev/null diff --git a/res/drawable-xhdpi/ic_person_white.png b/res/drawable-xhdpi/ic_person_white.png Binary files differnew file mode 100644 index 0000000..0200ece --- /dev/null +++ b/res/drawable-xhdpi/ic_person_white.png diff --git a/res/drawable-xxhdpi/ic_person_white.png b/res/drawable-xxhdpi/ic_person_white.png Binary files differnew file mode 100644 index 0000000..6a6f033 --- /dev/null +++ b/res/drawable-xxhdpi/ic_person_white.png diff --git a/res/drawable-xxxhdpi/ic_person_white.png b/res/drawable-xxxhdpi/ic_person_white.png Binary files differnew file mode 100644 index 0000000..9092553 --- /dev/null +++ b/res/drawable-xxxhdpi/ic_person_white.png diff --git a/res/drawable/ic_avatar_default_1.xml b/res/drawable/ic_avatar_default_1.xml new file mode 100644 index 0000000..edd919a --- /dev/null +++ b/res/drawable/ic_avatar_default_1.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/pink_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_2.xml b/res/drawable/ic_avatar_default_2.xml new file mode 100644 index 0000000..77918a0 --- /dev/null +++ b/res/drawable/ic_avatar_default_2.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/indigo_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_3.xml b/res/drawable/ic_avatar_default_3.xml new file mode 100644 index 0000000..49fd6c4 --- /dev/null +++ b/res/drawable/ic_avatar_default_3.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/blue_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_4.xml b/res/drawable/ic_avatar_default_4.xml new file mode 100644 index 0000000..6992f90 --- /dev/null +++ b/res/drawable/ic_avatar_default_4.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/teal_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_5.xml b/res/drawable/ic_avatar_default_5.xml new file mode 100644 index 0000000..2aa0db2 --- /dev/null +++ b/res/drawable/ic_avatar_default_5.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/green_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_6.xml b/res/drawable/ic_avatar_default_6.xml new file mode 100644 index 0000000..7f9bb32 --- /dev/null +++ b/res/drawable/ic_avatar_default_6.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/light_green_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_7.xml b/res/drawable/ic_avatar_default_7.xml new file mode 100644 index 0000000..1c1c5f3 --- /dev/null +++ b/res/drawable/ic_avatar_default_7.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/orange_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_default_8.xml b/res/drawable/ic_avatar_default_8.xml new file mode 100644 index 0000000..478454e --- /dev/null +++ b/res/drawable/ic_avatar_default_8.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/deep_orange_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/drawable/ic_avatar_guest.xml b/res/drawable/ic_avatar_guest.xml new file mode 100644 index 0000000..f81fe89 --- /dev/null +++ b/res/drawable/ic_avatar_guest.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 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. +--> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <shape android:shape="oval"> + <size android:width="40dp" android:height="40dp" /> + <solid android:color="@color/grey_500" /> + </shape> + </item> + <item android:top="8dp" android:bottom="8dp" android:left="8dp" android:right="8dp" + android:drawable="@drawable/ic_person_white" /> +</layer-list> + diff --git a/res/values/colors.xml b/res/values/colors.xml index b523801..ee9c4c4 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -67,4 +67,17 @@ <color name="default_preference_background_color">@android:color/white</color> <color name="preference_list_fragment_background_color">@color/default_preference_background_color</color> <color name="search_panel_list_background_color">@color/default_preference_background_color</color> + + <!-- Default avatar colors --> + <color name="pink_500">#ffe91e63</color> + <color name="indigo_500">#ff3f51b5</color> + <color name="blue_500">@*android:color/material_blue_500</color> + <color name="teal_500">@*android:color/material_teal_500</color> + <color name="green_500">@*android:color/material_green_500</color> + <color name="light_green_500">#ff8bc34a</color> + <color name="orange_500">@*android:color/material_orange_500</color> + <color name="deep_orange_500">@*android:color/material_deep_orange_500</color> + <!-- Avatar color used for guest --> + <color name="grey_500">@*android:color/material_grey_500</color> + </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index ec4e13c..d938772 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5171,6 +5171,12 @@ <string name="user_delete_button">Delete</string> <!-- Title for Guest user [CHAR LIMIT=35] --> <string name="user_guest">Guest</string> + <!-- Label for item to exit guest mode [CHAR LIMIT=35] --> + <string name="user_exit_guest_title">Exit guest</string> + <!-- Title of dialog to user to confirm exiting guest. [CHAR LIMIT=50] --> + <string name="user_exit_guest_confirm_title">Exiting guest session?</string> + <!-- Message to user to confirm exiting guest. [CHAR LIMIT=none] --> + <string name="user_exit_guest_confirm_message">Ending the guest session will remove local data.</string> <!-- Title of preference to enable calling[CHAR LIMIT=35] --> <string name="user_enable_calling">Enable phone calls?</string> |