Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some widget not showing #140

Open
jimmyfraiture opened this issue Mar 12, 2022 · 2 comments
Open

Some widget not showing #140

jimmyfraiture opened this issue Mar 12, 2022 · 2 comments

Comments

@jimmyfraiture
Copy link

I'm trying to use some of the available widgets but some of them are not showing while the others do.
For example if I put in may RelativeLayout

        <dji.ux.widget.RadarWidget
            android:layout_width="340dp"
            android:layout_height="160dp"
            android:layout_centerHorizontal="true"
            android:layout_alignParentBottom="true"/>

it works like a charm but both BatteryWidget and RemainingFlightTimeWidget are not showing:

    <dji.ux.widget.RemainingFlightTimeWidget
        android:id="@+id/mission_flight_time"
        android:layout_width="match_parent"
        android:layout_height="100dp"
        android:layout_marginTop="6dp"
        android:layout_marginLeft="6dp"
        android:layout_marginRight="30dp"
        android:layout_toLeftOf="@id/mission_battery_widget"/>

    <dji.ux.widget.BatteryWidget
        android:id="@+id/mission_battery_widget"
        android:layout_width="96dp"
        android:layout_height="22dp"
        android:layout_margin="6dp"
        android:layout_alignParentRight="true"
        custom:excludeView="singleVoltage"/>

I use version 4.16 (but same issue on 4.14.1)

    implementation 'com.dji:dji-uxsdk:4.16'`
    compileOnly 'com.dji:dji-sdk-provided:4.16'`

and my colors needed are all defined. Is it a bug or would you have any ideas?

@dji-dev
Copy link
Contributor

dji-dev commented Mar 12, 2022

Agent comment from DJI SDK in Zendesk ticket #61423:

尊敬的开发者,感谢您联系DJI 大疆创新
由于github不是我们主要的咨询渠道,您的问题可能跟进不及时。我们建议您通过填写表单( https://djisdksupport.zendesk.com/hc/zh-cn/requests/new )向我们反馈问题。或者您也可以在论坛发帖,与其它开发者交流。论坛链接:https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

Dear developer, thank you for contacting DJI.
Since github is not our main consultation channel, your questions may not be followed up in time. We recommend that you fill in the form (https://djisdksupport.zendesk.com/hc/en-us/requests/new) to report problems to us. Or you can post in the forum to communicate with other developers. Forum link: https://djisdksupport.zendesk.com/hc/zh-cn/community/topics

°°°

@dji-dev
Copy link
Contributor

dji-dev commented Mar 14, 2022

Agent comment from yating.liao in Zendesk ticket #61423:

Can the UXSDK samples be displayed properly?UXSDK:https://github.com/dji-sdk/Mobile-UXSDK-Android

°°°

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants