Questions tagged [editview]
33 questions
20
votes
3 answers
How to change color of the bubble (under cursor) on EditText (programmatically)?
I have EditText and want to change color PROGRAMMATICALLY on code.
To change color of cursor I use this code.
But how to change color of the circle on EditView PROGRAMMATICALLY on code?

NickUnuchek
- 11,794
- 12
- 98
- 138
3
votes
1 answer
EditText & Enter key
I want the functionallity
just Enter -- EditText return and submit the text
shift+Enter -- new line in EditText
this is the code but it don,t work. No difference between Enter and shift+Enter (no new line):
EditText…

user1114026
- 31
- 1
- 1
- 2
2
votes
3 answers
How to ignore spaces between text editview Android
I am trying to ignore spaces in editview between text, I am not quite sure how I can go about doing this. I know I can use trim feature to ignore spaces before and after the full text but how do I ignore space between strings if there is any;
String…

Henry
- 1,042
- 2
- 17
- 47
2
votes
2 answers
Conditionally make a field readonly in SugarCRM
I'm creating an Invoice Module on SugarCRM Community Edition (version 6.5.16).
The trick I want to pull of is to make a field readonly based on the value of a checkbox named 'Sent'. So: If the invoice is sent the user is not able to edit the invoice…

TheUnpragmaticProgrammer
- 43
- 1
- 7
2
votes
2 answers
SugarCRM- How to get POPUP when click on Save button?
I want when click Save in Edit View of some module (example Contact) to get pop up with some message (later I will get options OK and Cancel on that pop up.).
My function
YAHOO.SUGAR.MessageBox.show({msg: 'Foo'} );
is working when I put it at top…

Veljko
- 1,708
- 12
- 40
- 80
1
vote
1 answer
Android Studio Throws an error if a user reaches the character limit
I used the maxLength method. I want you to be notified "Limit characters here are 10 characters"
I know the user can't add characters anyway, but I still want to be notified.
How do i get when the user is still trying to add characters to throw him…

Ziv Sion
- 165
- 1
- 11
1
vote
1 answer
Need to modify the edit view in Flask admin
I am working on Flask admin. Please check the following.
I need to edit the existing record using that edit button shown above.
My edit view is as follow :
I need to add a field in edit view whose value appears in the image column shown in the…

Kathiravan Natarajan
- 3,158
- 6
- 22
- 45
1
vote
2 answers
Updating related tables in mvc ef
I have 6 related tables. I am using a view model to show the properties from all 6 tables in my view. I am able to add data in single transaction using the above structure. But while editing the data I get - "Store update, insert, or delete…

arpymastro
- 751
- 3
- 16
- 34
1
vote
2 answers
Use EditText in a DialogFragment to change TextView in Main Activity?
So I'm working on my first real attempt at an Android app, just a simple scorekeeper for softball games. I've got it tallying scores, outs, etc, and right now it just displays "Home" and "Away." I'd like to give users the chance to enter in actual…

Kyle Vanhove
- 33
- 5
1
vote
1 answer
How is made the probable key words of EditView
(Sorry maybe the Title is sensless)
How can I program, in Android, like what we obtain when we search for a contact in our phone contact list, I mean for example just when we write jac in the serch EditView we have under it a list like
Jac k Andrew…

RiadSaadi
- 391
- 2
- 7
- 16
0
votes
1 answer
Model returned to controller by edit view is always null
I am trying to make a view that edits a list of predefined models.
Therefore it is a strongly typed view that takes as parameter a list of models .
I use custom Html helpers to edit the individual models.
The Get view is displayed properly but…

Martin
- 5
- 1
- 4
0
votes
1 answer
Where should I implement addTextChangedListener in a RecyclerView app?
I am creating a time table app. The app has a RecyclerView and each row of it has a CardView, called row. Each row has 1 TextView and 2 EditText. I want to get the values from the EditTexts and update it in an ArrayList of row, called rows that is…

Parth Gupta
- 59
- 6
0
votes
2 answers
Edit View for the model that contains the List where T some another class
It seems I'm tangled up in broad daylight:
I have a model classes
public class Pilot
{
//.. other prop-s escaped
private List FlightHours { get; set; }
}
public class FlightHoursEntry
{
public string Description { get;…

Artem Vertiy
- 1,002
- 15
- 31
0
votes
1 answer
Android App - Aligning EditTexts doesn't work
I'm writing my first Android-App. The App should solve Sudokus for the user.
So the interface should look like the typical Sudoku-Layout with some Buttons down below. For the number-fields i just used EditTexts.
At first i used a ContrainsLayout.…
0
votes
1 answer
Android: Clicking the EditText on ListView FooterView makes the keyboard open and close, open and close
The code is very simply. There is an EditText on headerView and an EditText on footerView, make the items' height + headerView's height + footerView's height = the screen's height, after you click the EditText on HeaderView, then click the EditText…

Changwei
- 672
- 1
- 5
- 16