<?xml version="1.0" encoding="utf-8"?>
<!--
/*
* Copyright 2022, 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"
    android:width="@dimen/bouncer_user_switcher_icon_size_plus_margin"
    android:height="@dimen/bouncer_user_switcher_icon_size_plus_margin">
  <!-- The final layer is inset, so it needs this background -->
  <item>
    <shape android:shape="oval">
       <solid android:color="@color/user_switcher_fullscreen_bg" />
    </shape>
  </item>
  <!-- When an item is selected, this layer will show a ring around the icon -->
  <item android:id="@+id/ring">
    <shape android:shape="oval">
       <stroke
           android:width="@dimen/user_switcher_icon_selected_width"
           android:color="@android:color/transparent" />
    </shape>
  </item>
  <!-- Where the user drawable/bitmap will be placed -->
  <item android:id="@+id/user_avatar"
      android:drawable="@drawable/user_avatar_bg"
      android:width="@dimen/bouncer_user_switcher_icon_size"
      android:height="@dimen/bouncer_user_switcher_icon_size"
      android:top="@dimen/user_switcher_icon_large_margin"
      android:left="@dimen/user_switcher_icon_large_margin"
      android:right="@dimen/user_switcher_icon_large_margin"
      android:bottom="@dimen/user_switcher_icon_large_margin" />
</layer-list>
