Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: adblockplussbrowser/res/layout/multiline_preference_screen.xml

Issue 29441558: Issue 5243 - Clipped text across languages (Closed)
Patch Set: Added copyright header, extracted static method to set multiline property in onBindView(), added multi line property for subscriptions screen Created May 30, 2017, 12:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
diegocarloslima 2017/05/31 13:33:58 Since this is a general purpose preference layout
jens 2017/05/31 13:58:57 Acknowledged.
2 <!-- Layout for a Preference in a PreferenceActivity. The
3 Preference is able to place a specific widget for its particular
4 type in the "widget_frame" layout. -->
5 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
6 android:layout_width="match_parent"
7 android:layout_height="wrap_content"
8 android:minHeight="?android:attr/listPreferredItemHeight"
9 android:gravity="center_vertical"
10 android:paddingRight="?android:attr/scrollbarSize"
11 android:background="?android:attr/selectableItemBackground" >
12
13 <ImageView
14 android:layout_width="wrap_content"
15 android:layout_height="wrap_content"
16 android:layout_gravity="center"
17 />
18
19 <RelativeLayout
20 android:layout_width="wrap_content"
21 android:layout_height="wrap_content"
22 android:layout_marginLeft="15dip"
23 android:layout_marginRight="6dip"
24 android:layout_marginTop="6dip"
25 android:layout_marginBottom="6dip"
26 android:layout_weight="1">
27
28 <TextView
29 android:id="@android:id/title"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:maxLines="2"
33 android:textAppearance="?android:attr/textAppearanceListItem"
34 android:fadingEdge="horizontal" />
35
36 <TextView
37 android:id="@android:id/summary"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:layout_below="@android:id/title"
41 android:layout_alignLeft="@android:id/title"
42 android:textAppearance="?android:attr/textAppearanceSmall"
43 android:textColor="?android:attr/textColorSecondary"
44 android:maxLines="4" />
45
46 </RelativeLayout>
47
48 <!-- Preference should place its actual preference widget here. -->
49 <LinearLayout
50 android:id="@android:id/widget_frame"
51 android:layout_width="wrap_content"
52 android:layout_height="match_parent"
53 android:gravity="center_vertical"
54 android:orientation="vertical" />
55
56 </LinearLayout>
OLDNEW
« no previous file with comments | « no previous file | adblockplussbrowser/res/xml/preferences_main.xml » ('j') | adblockplussbrowser/res/xml/preferences_main.xml » ('J')

Powered by Google App Engine
This is Rietveld