<?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.
*/
-->

<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/KeyboardArea">

  <LinearLayout
      android:id="@+id/suggestion_strip"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content">

    <LinearLayout
        android:id="@+id/pinned_suggestions_start"
        style="@style/PinnedSuggestionArea">
    </LinearLayout>

    <com.example.android.autofillkeyboard.InlineContentClipView
        android:id="@+id/scrollable_suggestions_clip"
        android:layout_width="wrap_content"
        android:layout_height="fill_parent"
        android:layout_weight="1">

      <HorizontalScrollView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content">

        <LinearLayout
            android:id="@+id/scrollable_suggestions"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            style="@style/KeyboardRow.Header">
        </LinearLayout>

      </HorizontalScrollView>

    </com.example.android.autofillkeyboard.InlineContentClipView>

    <LinearLayout
        android:id="@+id/pinned_suggestions_end"
        style="@style/PinnedSuggestionArea">
    </LinearLayout>

  </LinearLayout>

  <LinearLayout style="@style/KeyboardRow">
    <TextView
        android:id="@+id/key_pos_0_0"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_1"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_2"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_3"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_4"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_5"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_6"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_7"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_8"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_0_9"
        style="@style/SoftKey"/>
  </LinearLayout>

  <LinearLayout style="@style/KeyboardRow">
    <TextView
        android:id="@+id/key_pos_1_0"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_1"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_2"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_3"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_4"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_5"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_6"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_7"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_1_8"
        style="@style/SoftKey"/>
  </LinearLayout>

  <LinearLayout style="@style/KeyboardRow">
    <TextView
        android:id="@+id/key_pos_shift"
        style="@style/SoftKey.Function"/>
    <TextView
        android:id="@+id/key_pos_2_0"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_1"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_2"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_3"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_4"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_5"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_2_6"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_del"
        style="@style/SoftKey.Function"/>
  </LinearLayout>

  <LinearLayout style="@style/KeyboardRow">
    <TextView
        android:id="@+id/key_pos_symbol"
        style="@style/SoftKey.Function.Text"/>
    <TextView
        android:id="@+id/key_pos_bottom_0"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_space"
        style="@style/SoftKey.Space"/>
    <TextView
        android:id="@+id/key_pos_bottom_1"
        style="@style/SoftKey"/>
    <TextView
        android:id="@+id/key_pos_enter"
        style="@style/SoftKey.Function"/>
  </LinearLayout>

</LinearLayout>
