Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8794365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:14:29+00:00 2026-06-13T23:14:29+00:00

I programmatically add views (Edittext) in a linearlayout. Actually is a form. But the

  • 0

I programmatically add views (Edittext) in a linearlayout. Actually is a form. But the problem is tha all this is in a Relative and the Relative in a scrollview. Whenever i scroll the bg of the linearlayout (form) flickers. I notice tha if i remove the focusable attribute from edittext it stops doing it, but i cannot press on the edittext.

How can i stop this flicker??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:14:30+00:00Added an answer on June 13, 2026 at 11:14 pm

    Well i didnt solve it correctly but i mad a android-hack 🙂

    The problem is related with the focus of the edittexts. I tried adding requestfocus or android:descendantFocusability to the linearLayout with no result.

    So i made another LinearLayout with the required background, alignBottom with the actual form and the actual-form with no-background.

    I am sure that the same flicker happens but there is no background so there is any visual problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to add views to a vertical Linearlayout at bottom programmatically. (Yes we
How to add a FunctionImportMapping programmatically using classes from the System.Data.Entity.Design namespace? This blog
I want to programmatically add Text Views controls to my home screen widget. In
My application starts off with nothing but a UIWindow . I programmatically add a
I write a simple ios app. All of my views are created programmatically. Here
In this following code I intend to programmatically add two labels in each row
I am trying to programmatically add a Fragment to a ScrollView that has a
I'm getting NullPointerException when I'm trying to programmatically add inflated views to my ViewFlipper
I want to add Views programmatically to a ViewFlipper : flipper.addView(anEpisode(name, null, description), i);
I couldn't find any info about this but, how can i programmatically switch tabs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.