PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/WebVox/res/layout/tabitem.xml

http://eyes-free.googlecode.com/
XML | 53 lines | 34 code | 5 blank | 14 comment | 0 complexity | 5c706d1f998ab20ce0b886a33475ab1a MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<!-- Copyright (C) 2008 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<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="fill_parent"
19    android:orientation="vertical"
20    android:padding="4dip"
21    android:background="@color/white">
22
23    <com.marvin.webvox.FakeWebView android:id="@+id/icon"
24        android:background="@color/black"
25        android:layout_width="fill_parent"
26        android:layout_height="fill_parent" />
27
28    <TextView android:id="@+id/label"
29        android:layout_width="fill_parent"
30        android:layout_height="wrap_content"
31        android:layout_gravity="bottom"
32        android:textAppearance="?android:attr/textAppearanceMedium"
33        android:textColor="@color/white"
34        android:maxLines="1"
35        android:paddingTop="3dip"
36        android:paddingBottom="3dip"
37        android:paddingLeft="2dip"
38        android:paddingRight="2dip"
39        android:scrollHorizontally="true"
40        android:background="#CC000000"/>
41
42    <ImageView android:id="@+id/close"
43        android:focusable="false"
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:layout_gravity="bottom|right"
47        android:paddingTop="14dip"
48        android:paddingBottom="12dip"
49        android:paddingLeft="12dip"
50        android:paddingRight="12dip"
51        android:src="@android:drawable/btn_dialog" />
52
53</FrameLayout>