diff options
author | Simon Rettberg | 2018-10-16 10:08:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-10-16 10:08:48 +0200 |
commit | d3a98cf6cbc3bd0b9efc570f58e8812c03931c18 (patch) | |
tree | cbddf8e50f35a9c6e878a5bfe3c6d625d99e12ba /android/xscreensaver/res/layout/preference_blurb.xml | |
download | xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.gz xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.tar.xz xscreensaver-d3a98cf6cbc3bd0b9efc570f58e8812c03931c18.zip |
Original 5.40
Diffstat (limited to 'android/xscreensaver/res/layout/preference_blurb.xml')
-rw-r--r-- | android/xscreensaver/res/layout/preference_blurb.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/android/xscreensaver/res/layout/preference_blurb.xml b/android/xscreensaver/res/layout/preference_blurb.xml new file mode 100644 index 0000000..66e6d82 --- /dev/null +++ b/android/xscreensaver/res/layout/preference_blurb.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- Layout for the description of each screen saver, that appears + at the bottom of the preferences screen. Based on + sdk/platforms/android-21/data/res/layout/preference.xml + --> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeight" + android:gravity="center_vertical" + android:paddingEnd="?android:attr/scrollbarSize" + android:background="?android:attr/selectableItemBackground" > + + <ImageView + android:id="@+android:id/icon" + android:layout_gravity="top" + android:layout_width="40dip" + android:layout_height="40dip" + android:layout_marginTop="0dip" + /> + + <RelativeLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="0dip" + android:layout_marginEnd="0dip" + android:layout_marginTop="6dip" + android:layout_marginBottom="6dip" + android:layout_weight="1"> + + <TextView android:id="@+android:id/summary" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@android:id/title" + android:layout_alignStart="@android:id/title" + android:textAppearance="?android:attr/textAppearanceSmall" + android:textColor="?android:attr/textColorPrimary" + android:layout_marginTop="8dip" + android:maxLines="1000" /> + + </RelativeLayout> + +</LinearLayout> |