<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (C) 2025 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.
  -->
<SystemBar defaultVariant="@id/variant1" id="bottom" barZOrder="0" type="navigation" hideForKeyboard="true">
    <Variant id="@+id/base">
        <Corner radius="10dp" />
        <Bounds width="100%" bottom="100%" height="50"/>
    </Variant>
    <Variant id="@+id/variant1" parent="@id/base">
        <Visibility isVisible="true"/>
        <Alpha alpha="0.8" />
    </Variant>

    <Variant id="@+id/variant2" parent="@id/base">
        <Visibility isVisible="false"/>
        <Alpha alpha="1.0" />
        <Insets left="0" top="0" right="20" bottom="30" />
    </Variant>

    <Transitions>
        <Transition onEvent="event1" toVariant="@id/variant1"/>
        <Transition onEvent="event1" toVariant="@id/variant2"/>
    </Transitions>
</SystemBar>
