1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2017 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
19             android:layout_width="match_parent"
20             android:layout_height="match_parent"
21             android:paddingLeft="@dimen/spacing_normal"
22             android:paddingRight="@dimen/spacing_normal">
23
24    <ScrollView
25        android:id="@+id/scroll"
26        android:layout_width="match_parent"
27        android:layout_height="match_parent">
28
29        <LinearLayout
30            android:id="@+id/container"
31            android:layout_width="match_parent"
32            android:layout_height="wrap_content"
33            android:orientation="vertical"
34            android:padding="@dimen/spacing_normal">
35
36            <com.example.android.support.text.emoji.ConfigLayout
37                android:layout_width="match_parent"
38                android:layout_height="wrap_content"
39                android:layout_marginBottom="@dimen/spacing_small"/>
40
41            <android.support.text.emoji.widget.EmojiTextView
42                android:id="@+id/emoji_text_view"
43                android:layout_width="match_parent"
44                android:layout_height="wrap_content"
45                android:layout_marginBottom="@dimen/spacing_small"/>
46
47            <android.support.text.emoji.widget.EmojiAppCompatEditText
48                android:id="@+id/emoji_edit_text"
49                android:layout_width="match_parent"
50                android:layout_height="wrap_content"
51                android:layout_marginBottom="@dimen/spacing_small"
52                android:textSize="@dimen/text_size"/>
53
54            <android.support.text.emoji.widget.EmojiAppCompatButton
55                android:id="@+id/emoji_button"
56                android:layout_width="match_parent"
57                android:layout_height="wrap_content"
58                android:layout_marginBottom="@dimen/spacing_small"
59                android:textSize="@dimen/text_size"/>
60
61            <TextView
62                android:id="@+id/regular_text_view"
63                android:layout_width="match_parent"
64                android:layout_height="wrap_content"
65                android:layout_marginBottom="@dimen/spacing_small"
66                android:textSize="@dimen/text_size"/>
67
68            <com.example.android.support.text.emoji.CustomTextView
69                android:id="@+id/emoji_custom_text_view"
70                android:layout_width="match_parent"
71                android:layout_height="wrap_content"
72                android:textSize="@dimen/text_size"/>
73
74            <android.support.text.emoji.widget.EmojiAppCompatButton
75                android:id="@+id/emoji_list_button"
76                android:layout_width="match_parent"
77                android:layout_height="wrap_content"
78                android:layout_marginBottom="@dimen/spacing_small"
79                android:textSize="@dimen/text_size"
80                android:text="Show all emojis"/>
81
82        </LinearLayout>
83
84    </ScrollView>
85
86</FrameLayout>