question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Isn't working properly!

See original GitHub issue

I have added the following code in layout from the docs

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity" >

    <com.amrdeveloper.codeview.CodeView
        android:id="@+id/codeView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/darkGrey"
        android:dropDownHorizontalOffset="0dp"
        android:dropDownSelector="@color/darkGrey"
        android:dropDownWidth="150dp"
	android:gravity="top|start" />

</LinearLayout>

The app looks like this Screenshot_20220325-153948_Code Editor

Keyboard doesn’t appear, no response from the app. Why is that?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
m-anshuman2166commented, Mar 26, 2022

If text is empty, you must click at center of codeview to show cursor

perhaps it would be better if you pre- specify code using setTextHighlighted() function and pass code as text

0reactions
AmrDevelopercommented, Jun 21, 2022

Hello @SunPodder,

Can you please check this comment I think it is the same problem?

https://github.com/AmrDeveloper/CodeView/issues/5

I think we can’t move to API 21 or higher only because we still got feature requests and bug for old versions like API 15, so try this solution and we can check for more solutions

Thanks Amr Hesham

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix an installed Android app that isn't working - Google Help
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >
No Internet Connection? How to Troubleshoot Internet Issues
It's incredibly frustrating when your internet isn't working. ... an internet signal problem as your modem isn't successfully connecting to the internet.
Read more >
Update a driver for hardware that isn't working properly
Learn about various ways to update driver software for your hardware devices, including Windows Update and manual installation.
Read more >
What to do if an App is Suddenly not Working Properly on your ...
Android comes with a feature which allows you to reset an app by clearing all the data stored in it. Once done, this...
Read more >
If the screen isn't working on your iPhone or iPad
Remove any cases or screen protectors. Contact Apple Support. If your screen still isn't working, you might need to set up service for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found