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

/CVox/res/layout/contacts_list_item.xml

http://eyes-free.googlecode.com/
XML | 52 lines | 35 code | 3 blank | 14 comment | 0 complexity | a6bf0dd373b8241875d442174f5d282c MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<!-- Copyright (C) 2007 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<RelativeLayout 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:paddingLeft="5dip"
22    android:orientation="vertical"
23>
24    <TextView android:id="@+id/name"
25        android:layout_width="wrap_content"
26        android:layout_height="wrap_content"
27        android:layout_marginTop="6dip"
28        android:singleLine="true"
29        android:textAppearance="?android:attr/textAppearanceLarge"
30        android:layout_alignParentTop="true"
31    />
32
33    <TextView android:id="@+id/label"
34        android:layout_width="wrap_content"
35        android:layout_height="wrap_content"
36        android:layout_marginTop="2dip"
37        android:singleLine="true"
38        android:textAppearance="?android:attr/textAppearanceSmall"
39        android:textStyle="bold"
40        android:layout_below="@id/name"
41    />
42
43    <TextView android:id="@+id/number"
44        android:layout_width="wrap_content"
45        android:layout_height="wrap_content"
46        android:layout_marginLeft="5dip"
47        android:singleLine="true"
48        android:textAppearance="?android:attr/textAppearanceSmall"
49        android:layout_toRightOf="@id/label"
50        android:layout_alignBaseline="@id/label"
51    />
52</RelativeLayout>