1afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu/*
2afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * Copyright (C) 2017 The Android Open Source Project
3afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu *
4afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * Licensed under the Apache License, Version 2.0 (the "License");
5afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * you may not use this file except in compliance with the License.
6afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * You may obtain a copy of the License at
7afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu *
8afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu *      http://www.apache.org/licenses/LICENSE-2.0
9afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu *
10afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * Unless required by applicable law or agreed to in writing, software
11afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * distributed under the License is distributed on an "AS IS" BASIS,
12afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * See the License for the specific language governing permissions and
14afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * limitations under the License.
15afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu */
16afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu
17ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikaspackage androidx.appcompat.widget;
18afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu
19ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikasimport androidx.appcompat.test.R;
20ac5fe7c617c66850fff75a9fce9979c6e5674b0fAurimas Liutikasimport androidx.appcompat.testutils.BaseTestActivity;
21afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu
22afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu/**
23afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * This activity is used to test the auto-size feature of the {@link AppCompatButton}
24afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu * class.
25afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu */
26afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanupublic class AppCompatButtonAutoSizeActivity extends BaseTestActivity {
27afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu    @Override
28afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu    protected int getContentViewLayoutResId() {
29afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu        return R.layout.appcompat_button_autosize_activity;
30afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu    }
31afa3ba7dc20d194934eb17a5151fe41f42bfc309Andrei Stingaceanu}
32