From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / android / project / xscreensaver / res / layout / preference_blurb.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!-- Layout for the description of each screen saver, that appears
4      at the bottom of the preferences screen.  Based on
5      sdk/platforms/android-21/data/res/layout/preference.xml
6  -->
7
8 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
9     android:layout_width="match_parent"
10     android:layout_height="wrap_content"
11     android:minHeight="?android:attr/listPreferredItemHeight"
12     android:gravity="center_vertical"
13     android:paddingEnd="?android:attr/scrollbarSize"
14     android:background="?android:attr/selectableItemBackground" >
15
16     <ImageView
17         android:id="@+android:id/icon"
18         android:layout_gravity="top"
19         android:layout_width="40dip"
20         android:layout_height="40dip"
21         android:layout_marginTop="0dip"
22         />
23
24     <RelativeLayout
25         android:layout_width="wrap_content"
26         android:layout_height="wrap_content"
27         android:layout_marginStart="0dip"
28         android:layout_marginEnd="0dip"
29         android:layout_marginTop="6dip"
30         android:layout_marginBottom="6dip"
31         android:layout_weight="1">
32
33         <TextView android:id="@+android:id/summary"
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:layout_below="@android:id/title"
37             android:layout_alignStart="@android:id/title"
38             android:textAppearance="?android:attr/textAppearanceSmall"
39             android:textColor="?android:attr/textColorPrimary"
40             android:layout_marginTop="8dip"
41             android:maxLines="1000" />
42
43     </RelativeLayout>
44
45 </LinearLayout>