1 /* 2 * Copyright (C) 2009 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package android.text.method.cts; 18 19 import android.app.Activity; 20 import android.os.Bundle; 21 import android.text.cts.R; 22 import android.text.method.BaseKeyListener; 23 import android.text.method.DateKeyListener; 24 import android.text.method.DateTimeKeyListener; 25 import android.text.method.DigitsKeyListener; 26 import android.text.method.MultiTapKeyListener; 27 import android.text.method.NumberKeyListener; 28 import android.text.method.QwertyKeyListener; 29 import android.text.method.TextKeyListener; 30 import android.text.method.TimeKeyListener; 31 32 /** 33 * This Activity is used for testing: 34 * {@link DigitsKeyListener} 35 * {@link BaseKeyListener} 36 * {@link MultiTapKeyListener} 37 * {@link NumberKeyListener} 38 * {@link QwertyKeyListener} 39 * {@link TextKeyListener} 40 * {@link DateKeyListener} 41 * {@link DateTimeKeyListener} 42 * {@link TimeKeyListener} 43 * 44 * @see DigitsKeyListener 45 * @see BaseKeyListener 46 * @see MultiTapKeyListener 47 * @see NumberKeyListener 48 * @see QwertyKeyListener 49 * @see TextKeyListener 50 * @see DateKeyListener 51 * @see DateTimeKeyListener 52 * @see TimeKeyListener 53 */ 54 55 public class KeyListenerCtsActivity extends Activity { 56 @Override 57 protected void onCreate(Bundle savedInstanceState) { 58 super.onCreate(savedInstanceState); 59 setContentView(R.layout.keylistener_layout); 60 } 61 } 62