summaryrefslogtreecommitdiffstats
path: root/res/layout/tabitem.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout/tabitem.xml')
-rw-r--r--res/layout/tabitem.xml54
1 files changed, 54 insertions, 0 deletions
diff --git a/res/layout/tabitem.xml b/res/layout/tabitem.xml
new file mode 100644
index 00000000..9edd6141
--- /dev/null
+++ b/res/layout/tabitem.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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.
+-->
+
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="fill_parent"
+ android:layout_height="198dip"
+ android:orientation="vertical"
+ android:padding="4dip"
+ android:background="@android:drawable/gallery_thumb">
+
+ <com.android.browser.FakeWebView android:id="@+id/icon"
+ android:background="@color/black"
+ android:layout_width="145dip"
+ android:layout_height="190dip" />
+
+ <TextView android:id="@+id/label"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="@color/white"
+ android:maxLines="1"
+ android:paddingTop="3dip"
+ android:paddingBottom="3dip"
+ android:paddingLeft="2dip"
+ android:paddingRight="2dip"
+ android:scrollHorizontally="true"
+ android:background="#CC000000"/>
+
+ <ImageView android:id="@+id/close"
+ android:focusable="false"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|right"
+ android:paddingTop="12dip"
+ android:paddingBottom="10dip"
+ android:paddingLeft="10dip"
+ android:paddingRight="10dip"
+ android:src="@android:drawable/btn_dialog" />
+
+</FrameLayout>