# Seems like FILL\_VIEW in GoCoder SDK for Android works incorrectly

**URL:** <https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121>\
**Category:** Wowza GoCoder SDK\
**Created:** [October 12, 2018, 11:13am UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121 "2018-10-12T11:13:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![olena\_so](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@olena\_so](https://community.wowza.com/u/olena_so)\
**Post date:** [October 12, 2018, 11:13am UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121/1 "2018-10-12T11:13:47Z")

</div>

In your documentation it says that WOWZMediaConfig.FILL\_VIEW - Scale the camera preview to fill the entire screen area. The preview may be cropped to maintain the aspect ratio. But when we actually use it on some phones with different screen resolution, the preview is not cropped, but instead it stretches out and no aspect ratio is maintained. The same is happening in your GoCoder app from Play Market. I attach screenshots from Samsung S6(set resolution - 1920x1080).screenshot-20181012-140415-gocoder-min.jpg

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 12, 2018, 7:29pm UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121/2 "2018-10-12T19:29:10Z")

</div>

Hello @olena so, can you please tell me what version oft the Android SDK you are using? Also, did you see that you have a choice of CROP or FILL in the settings for scaleMode?

[https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-android](https://www.wowza.com/docs/how-to-use-the-camera-view-in-gocoder-sdk-for-android)

---

<div class="post-metadata">

**Author:** ![olena\_so](https://avatars.discourse-cdn.com/v4/letter/o/258eb7/32.png) [@olena\_so](https://community.wowza.com/u/olena_so)\
**Post date:** [October 13, 2018, 7:22am UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121/3 "2018-10-13T07:22:48Z")

</div>

I am using Android SDK version targeting API 28. On that phone from which photo was taken API 26, but the same is happening on API 24 on different phone.  
Yes I saw that there is a CROP option, but it uses letterboxing in order to maintain aspect ratio. So I guess, my question really is whether you can have full view player(without black stripes at sides) and avoid stretching, because from documentation I got an impression that you can…

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 14, 2018, 5:01pm UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121/4 "2018-10-14T17:01:50Z")

</div>

Hi @olena so, let me check into this for you. Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![Deep\_Bhavsar](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@Deep\_Bhavsar](https://community.wowza.com/u/Deep_Bhavsar)\
**Post date:** [December 26, 2018, 1:14pm UTC](https://community.wowza.com/t/seems-like-fill-view-in-gocoder-sdk-for-android-works-incorrectly/52121/5 "2018-12-26T13:14:38Z")

</div>

I am facing same issue with Huawei P20 Pro. Android 8.0.1 devices as well as samsung device. cameraView is stretch instead of crop.

help me for sort out this issue.
