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
This commit is contained in:
28
res/drawable/ic_avatar_default_1.xml
Normal file
28
res/drawable/ic_avatar_default_1.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_2.xml
Normal file
28
res/drawable/ic_avatar_default_2.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_3.xml
Normal file
28
res/drawable/ic_avatar_default_3.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_4.xml
Normal file
28
res/drawable/ic_avatar_default_4.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_5.xml
Normal file
28
res/drawable/ic_avatar_default_5.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_6.xml
Normal file
28
res/drawable/ic_avatar_default_6.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_7.xml
Normal file
28
res/drawable/ic_avatar_default_7.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_default_8.xml
Normal file
28
res/drawable/ic_avatar_default_8.xml
Normal file
@@ -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>
|
||||
|
28
res/drawable/ic_avatar_guest.xml
Normal file
28
res/drawable/ic_avatar_guest.xml
Normal file
@@ -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>
|
||||
|
Reference in New Issue
Block a user