Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
TONG SU
19sp
Commits
6885243c
Commit
6885243c
authored
Mar 28, 2019
by
Ryan Rowe
Browse files
Add clarifying comment to Part4View in Layout
parent
9d8d1e55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Layout/app/src/main/java/cse340/layout/Part4View.java
View file @
6885243c
...
...
@@ -21,7 +21,8 @@ public class Part4View extends ScrollView {
* <p>
* Note: Do not track the height of the Drawables in each column, but the height of the
* ImageView on the screen. This is done as high-resolution images should not affect the
* ordering more than lower ones.
* ordering more than lower ones. An alternative is to track the H:W aspect ratio as this will
* be invariant with regard to photo resolution.
* <p>
* Each image should be vMargin from the previous image vertically (or parent if first image).
* There should be a vMargin gap between the two columns, however, the center of the gap must be
...
...
@@ -37,4 +38,4 @@ public class Part4View extends ScrollView {
public
Part4View
(
Context
context
,
List
<
String
>
imageNames
,
int
vMargin
)
{
super
(
context
);
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment