summaryrefslogtreecommitdiffstats
path: root/tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2011-06-10 15:42:05 -0700
committerFabrice Di Meglio <fdimeglio@google.com>2011-06-10 18:20:47 -0700
commit7af05226b901f2b623ca5b3ca23d8586941ef54b (patch)
tree2d589f2bb159b51499264c2f7d2464185c3d5d75 /tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java
parentc0e9e4293a4739b40c85e91c0f72e610c87d119d (diff)
downloadframeworks_base-7af05226b901f2b623ca5b3ca23d8586941ef54b.zip
frameworks_base-7af05226b901f2b623ca5b3ca23d8586941ef54b.tar.gz
frameworks_base-7af05226b901f2b623ca5b3ca23d8586941ef54b.tar.bz2
Refactor BiDiTest unit tests app
- make it more extensible (suppress tabs in favor of a list selection and fragments) Change-Id: If6f6c3a33f7c03e00205edbeab2945024b477f0d
Diffstat (limited to 'tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java')
-rw-r--r--tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java b/tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java
new file mode 100644
index 0000000..dfe247f
--- /dev/null
+++ b/tests/BiDiTests/src/com/android/bidi/BiDiTestLinearLayoutRtl.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2011 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.
+ */
+
+package com.android.bidi;
+
+import android.app.Fragment;
+import android.os.Bundle;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+
+public class BiDiTestLinearLayoutRtl extends Fragment {
+
+ @Override
+ public View onCreateView(LayoutInflater inflater, ViewGroup container,
+ Bundle savedInstanceState) {
+ return inflater.inflate(R.layout.linear_layout_rtl, container, false);
+ }
+}