summaryrefslogtreecommitdiffstats
path: root/packages/PrintSpooler/src
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-10-18 20:27:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-10-18 20:27:06 +0000
commit30d9161b8e84652d9ac504b70adacaf729fdb58b (patch)
tree73c82e42ae4554ae4068002f0facf1d89b507a97 /packages/PrintSpooler/src
parent7f11d0db2da2fefe5e1ee4d34df0aee2c26863b7 (diff)
parentb196106a43355ec56bc2354cae1d1bbf21ab9b4b (diff)
downloadframeworks_base-30d9161b8e84652d9ac504b70adacaf729fdb58b.zip
frameworks_base-30d9161b8e84652d9ac504b70adacaf729fdb58b.tar.gz
frameworks_base-30d9161b8e84652d9ac504b70adacaf729fdb58b.tar.bz2
Merge "Printer list items have wrong width." into klp-dev
Diffstat (limited to 'packages/PrintSpooler/src')
-rw-r--r--packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java b/packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java
index 2997707..ee5ff16 100644
--- a/packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java
+++ b/packages/PrintSpooler/src/com/android/printspooler/PrintJobConfigActivity.java
@@ -2303,8 +2303,6 @@ public class PrintJobConfigActivity extends Activity {
R.layout.printer_dropdown_item, parent, false);
}
- convertView.getLayoutParams().width = mDestinationSpinner.getWidth();
-
CharSequence title = null;
CharSequence subtitle = null;
Drawable icon = null;
@@ -2353,7 +2351,7 @@ public class PrintJobConfigActivity extends Activity {
iconView.setImageDrawable(icon);
iconView.setVisibility(View.VISIBLE);
} else {
- iconView.setVisibility(View.GONE);
+ iconView.setVisibility(View.INVISIBLE);
}
return convertView;