<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 2019, 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.
*/
-->

<resources>

  <style name="KeyboardArea">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">wrap_content</item>
    <item name="android:layout_gravity">bottom</item>
    <item name="android:orientation">vertical</item>
    <item name="android:gravity">bottom</item>
  </style>

  <style name="KeyboardRow">
    <item name="android:layout_width">match_parent</item>
    <item name="android:layout_height">@dimen/keyboard_row_height</item>
    <item name="android:orientation">horizontal</item>
    <item name="android:background">#FFFFFFFF</item>
  </style>

  <style name="PinnedSuggestionArea">
    <item name="android:layout_width">wrap_content</item>
    <item name="android:layout_height">@dimen/keyboard_header_height</item>
    <item name="android:layout_weight">0</item>
    <item name="android:background">@color/suggestion_strip_background</item>
  </style>

  <style name="KeyboardRow.Header">
    <item name="android:layout_height">@dimen/keyboard_header_height</item>
    <item name="android:background">@android:color/transparent</item>
  </style>

  <style name="SoftKey">
    <item name="android:layout_width">0dp</item>
    <item name="android:layout_height">match_parent</item>
    <item name="android:layout_weight">1</item>
    <item name="android:gravity">center</item>
    <item name="android:textColor">#FF000000</item>
    <item name="android:textSize">@dimen/text_size_normal</item>
  </style>

  <style name="SoftKey.Function">
    <item name="android:textColor">#FF333333</item>
  </style>

  <style name="SoftKey.Function.Text">
    <item name="android:textColor">#FF333333</item>
    <item name="android:textSize">@dimen/text_size_symbol</item>
  </style>

  <style name="SoftKey.Space">
    <item name="android:layout_weight">5</item>
    <item name="android:textColor">#FF333333</item>
  </style>

  <style name="YellowText" parent="@android:style/TextAppearance">
    <item name="android:textColor">#FFFF00</item>
    <item name="android:background">#88FF00FF</item>
    <!-- This theme will be invalid -->
    <item name="android:fontFamily">@font/just_another_hand</item>
  </style>
  <style name="GreenText" parent="@android:style/TextAppearance">
    <item name="android:textColor">#00FF00</item>
    <item name="android:fontFamily">monospace</item>
  </style>
  <style name="PinkBackground">
    <item name="android:background">#33FF00FF</item>
  </style>
  <style name="YellowTheme" parent="@style/Theme.AutofillInlineSuggestion">
    <item name="autofillInlineSuggestionTitle">@style/YellowText</item>
    <item name="autofillInlineSuggestionSubtitle">@style/YellowText</item>
  </style>
  <style name="GreenTheme" parent="@style/Theme.AutofillInlineSuggestion">
    <item name="autofillInlineSuggestionChip">@style/PinkBackground</item>
    <item name="autofillInlineSuggestionTitle">@style/GreenText</item>
    <item name="autofillInlineSuggestionSubtitle">@style/GreenText</item>
  </style>
</resources>
