Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Feb 3, 2020
1 parent fc8bc9a commit 8133db6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import static org.hamcrest.Matchers.allOf;
import static org.hamcrest.Matchers.not;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.not;
import static org.hamcrest.core.StringEndsWith.endsWith;
import static org.odk.collect.android.test.CustomMatchers.withIndex;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static TextView createAnswerTextView(Context context, String text, int an
public static ImageView createAnswerImageView(Context context, Bitmap bitmap) {
final ImageView imageView = new ImageView(context);
imageView.setId(ViewIds.generateViewId());
imageView.setTag("ImageView");
imageView.setPadding(10, 10, 10, 10);
imageView.setAdjustViewBounds(true);
imageView.setImageBitmap(bitmap);
Expand Down

0 comments on commit 8133db6

Please sign in to comment.