am 9a52dac5: am 1fb38aad: am 16238096: Merge changes Ife1c7cb0,I398ff797 into lmp-dev
* commit '9a52dac5ed9432746427f14521d363621efe4531': Fixing controls allignment in print UI. Fix a crash in print spooler.
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
android:id="@+id/copies_edittext"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dip"
|
||||
style="?android:attr/editTextStyle"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
@@ -89,7 +90,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/paper_size_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dip">
|
||||
</Spinner>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -116,7 +118,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/color_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dip">
|
||||
</Spinner>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -143,7 +146,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/orientation_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dip">
|
||||
</Spinner>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -170,7 +174,8 @@
|
||||
<Spinner
|
||||
android:id="@+id/range_options_spinner"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="4dip">
|
||||
</Spinner>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -202,6 +207,7 @@
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|fill_horizontal"
|
||||
android:layout_marginStart="8dip"
|
||||
android:singleLine="true"
|
||||
android:ellipsize="end"
|
||||
android:visibility="visible"
|
||||
@@ -239,7 +245,7 @@
|
||||
android:id="@+id/expand_collapse_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="4dip"
|
||||
android:layout_marginTop="0dip"
|
||||
android:layout_marginBottom="4dip"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/ic_expand_more">
|
||||
|
||||
@@ -107,11 +107,13 @@ public final class RemotePrintDocument {
|
||||
mDocumentInfo.info.getPageCount());
|
||||
}
|
||||
// Notify we are done.
|
||||
mState = STATE_UPDATED;
|
||||
notifyUpdateCompleted();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// We always notify after a write.
|
||||
mState = STATE_UPDATED;
|
||||
notifyUpdateCompleted();
|
||||
}
|
||||
runPendingCommand();
|
||||
|
||||
Reference in New Issue
Block a user