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

/v3.2/nimbits-android/res/layout/main_list.xml

http://nimbits-server.googlecode.com/
XML | 44 lines | 32 code | 12 blank | 0 comment | 0 complexity | 9063eb541a9d2588c96abd663d825bbe MD5 | raw file
 1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 2    android:layout_width="fill_parent"
 3    android:layout_height="?android:attr/listPreferredItemHeight"
 4    
 5    android:padding="6dip">
 6    
 7    <ImageView
 8        android:id="@+id/icon1"
 9        
10        android:layout_width="wrap_content"
11        android:layout_height="fill_parent"
12        android:layout_marginRight="6dip"
13        
14        />
15
16    <LinearLayout
17        android:orientation="vertical"
18    
19        android:layout_width="0dip"
20        android:layout_weight="1"
21        android:layout_height="fill_parent">
22
23        <TextView
24            android:id="@+id/text1"
25            android:layout_width="fill_parent"
26            android:layout_height="0dip"
27            android:layout_weight="1"
28                    
29            android:gravity="center_vertical"
30            android:text="My Application" />
31            
32        <TextView  
33            android:id="@+id/text2"
34            android:layout_width="fill_parent"
35            android:layout_height="0dip"
36            android:layout_weight="1" 
37            
38            android:singleLine="true"
39            android:ellipsize="marquee"
40              />
41            
42    </LinearLayout>
43
44</LinearLayout>