Browse Source

Force titled images onto single lines

master
Chris Smith 14 years ago
parent
commit
32a3fcb973

BIN
code/ContextHome/dist/ContextHome.apk View File


+ 2
- 0
code/ContextHome/res/layout/titledimage.xml View File

12
         android:id="@+id/title"
12
         android:id="@+id/title"
13
         android:layout_toRightOf="@id/image"
13
         android:layout_toRightOf="@id/image"
14
         android:layout_width="wrap_content"
14
         android:layout_width="wrap_content"
15
+        android:singleLine="true"
15
         android:layout_height="wrap_content"/>
16
         android:layout_height="wrap_content"/>
16
     <TextView
17
     <TextView
17
         android:id="@+id/body"
18
         android:id="@+id/body"
18
         android:layout_below="@id/title"
19
         android:layout_below="@id/title"
19
         android:layout_toRightOf="@id/image"
20
         android:layout_toRightOf="@id/image"
20
         android:layout_width="wrap_content"
21
         android:layout_width="wrap_content"
22
+        android:singleLine="true"
21
         android:layout_height="wrap_content"/>
23
         android:layout_height="wrap_content"/>
22
 </RelativeLayout>
24
 </RelativeLayout>

Loading…
Cancel
Save