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

Delta Between Two Patch Sets: adblockplussbrowser/res/layout/multiline_preference.xml

Issue 29441558: Issue 5243 - Clipped text across languages (Closed)
Left Patch Set: Created May 18, 2017, 12:54 p.m.
Right Patch Set: Fixed layout name and bracket in preferences_main.xml Created May 31, 2017, 1:58 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | adblockplussbrowser/res/xml/preferences_main.xml » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 <?xml version="1.0" encoding="utf-8"?>
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>
LEFTRIGHT

Powered by Google App Engine
This is Rietveld