summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2013-09-18 12:31:23 -0700
committerSvetoslav <svetoslavganov@google.com>2013-09-18 12:31:26 -0700
commit013b816ac7d723a0116c039e6266d93d13851fe1 (patch)
treea2faa290343c9992fa049f45c3e5bfcf6848bedc /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent01fc088462d05478bcdf416fb02532d53e85dd6a (diff)
Update the print dialog.
1. The print dialog was resizable and as a result when printers come and go its size changes which looks bad. The dialog is now trying to be maximally large limited by a max size or the screen - whichever is smaller. This required moving from GridLayout to several LinearLayouts since the former does not support distribution of empty space evently between the items in a row. Also we want all items in a column of inputs to be of equal size (the spinners specifically). 2. Added labeledBy attribute to associate a view with another one that serves as its label for accessibility purposes. We have lebelFor attribute but it is not useful in most layout files since it has to refer the auto-generated id of a view which usually appears later in the layout file, thus generating a compilation error. This was needed for the accessibility support of the print dialog. bug:10631660 2. Disabling the spinners or the print button did not produce visual feedback leading to user frustration. bug:10741907 Change-Id: I0c12eddabc4035bc7becd1b86c1f1b8fdcf4289c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions