Skip to content

Commit

Permalink
Replaced deprecated singleLine with maxLines
Browse files Browse the repository at this point in the history
  • Loading branch information
commonsguy committed Jun 13, 2011
1 parent 79f0a9a commit 79b1771
Show file tree
Hide file tree
Showing 20 changed files with 40 additions and 40 deletions.
4 changes: 2 additions & 2 deletions 05-FancyList/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 06-Tabs/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 07-MenusMessages/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 08-Threads/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 09-Lifecycle/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 10-Resources/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 11-Database/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 12-Activities/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 13-Prefs/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 14-Rotation/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 15-Internet/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 16-Service/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 17-Location/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 18-Map/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 19-Alarm/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 20-Notification/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 21-AppWidget/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 22-HCAppWidget/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 23-Honeycomb/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down
4 changes: 2 additions & 2 deletions 24-MultScreenSizes/LunchList/res/layout/row.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
android:layout_weight="1"
android:gravity="center_vertical"
android:textStyle="bold"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
<TextView android:id="@+id/address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:singleLine="true"
android:maxLines="1"
android:ellipsize="end"
/>
</LinearLayout>
Expand Down

0 comments on commit 79b1771

Please sign in to comment.