PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/WebVox/res/layout/add_new_bookmark.xml

http://eyes-free.googlecode.com/
XML | 59 lines | 44 code | 1 blank | 14 comment | 0 complexity | 0dc2666966a3d2fd12b59089ab574370 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
18        android:layout_width="fill_parent" 
19        android:layout_height="wrap_content"
20        android:minHeight="?android:attr/listPreferredItemHeight"
21        android:orientation="horizontal"
22        android:paddingRight="6dip"
23        android:paddingLeft="6dip"
24        android:paddingTop="5dip"
25        android:paddingBottom="5dip"
26        android:gravity="center_vertical"
27        >
28    <ImageView android:id="@+id/favicon"
29            android:layout_width="wrap_content"
30            android:layout_height="wrap_content"
31            android:layout_marginLeft="5dip"
32            android:layout_marginRight="11dip"
33            android:focusable="false"
34            android:src="@drawable/ic_list_bookmark"
35            android:scaleType="fitCenter"
36            />
37    <LinearLayout
38            android:layout_width="fill_parent"
39            android:layout_height="wrap_content"
40            android:orientation="vertical"
41            >
42        <TextView android:id="@+id/title" 
43                android:text="@string/add_new_bookmark"
44                android:textAppearance="?android:attr/textAppearanceMedium"
45                android:textStyle="bold" 
46                android:layout_width="wrap_content" 
47                android:layout_height="wrap_content"
48                android:layout_marginBottom="2dip"
49                />
50        <TextView android:id="@+id/url" 
51                android:textAppearance="?android:attr/textAppearanceSmall"
52                android:maxLines="1"
53                android:layout_width="wrap_content" 
54                android:layout_height="wrap_content"
55                android:singleLine="true"
56                android:ellipsize="end"
57                />
58    </LinearLayout>
59</LinearLayout>