id tag

1618 questions


1 answers
123 views
0
To verify that EditText is empty

I have 5 EditTexts on my app. What I'm curious about is whether Android provides a method to know if the content of EditText is empty.Or do I have to code it separately?


1 answers
107 views
0
Can't I turn on the app when I reboot the device?

I found the sample code, but it was so old that the classes were no longer defined. So I'm asking you a question because I don't think it's possible


1 answers
131 views
0
I'm trying to write a list view on Android, but there's an error.

I'm going to write a list view Compilation works wellYour content must have a ListView whose id attribute is 'android.R.id.list'If you get this kind of error, it will explode if you execute it.My sour...

2 years ago

1 answers
122 views
0
How to make all text select when you click EditText

When I click EditText on Android, can't I make you select all the letters entered in EditText?I think that'll make it easier to erase and use it. Is there any other way?


1 answers
119 views
0
I want to show you an empty view when the list view is empty.

<RelativeLayout android:id=@+id/LinearLayoutAR android:layout_height=fill_parent android:layout_width=fill_parent> <ListView android:id=@+id/ARListView android:layout_width=fill_parent andr...


1 answers
145 views
0
XML Data Parsing on Android Platform

public class QuestContainer{private List<QUEST> confirmed = new List<QUEST>();private List<QUEST> complete = new List<QUEST>();private List<QUEST> possible = new List<...

2 years ago

1 answers
139 views
0
Unity 3D Android Platform XML WRITE LOAD Question.

string filename = Quests;Type[] questType = { typeof(QUEST) };FileStream fs = new FileStream(Path.Combine(Application.persistentDataPath,filename+.txt), FileMode.Create);StreamWriter sw = new StreamWr...

2 years ago

1 answers
152 views
0
I want to call the method of activity in the fragment

Fragment is trying to invoke the method of activity. After you turn over the data in the fragment and do something in the method,I want to return the value, but I want to make it like a static method,...


1 answers
122 views
0
How to change the color integer value to hex String on Android

An integer value was generated in android.graphics.Color. The integer value is -16776961.I'd like to change this value to #RRGGBB format for hexString. How shall I do it?For example, I want to change ...

2 years ago

1 answers
87 views
0
How to erase or hide buttons on Android

I want to know how to hide or erase the button as the title says.

2 years ago
« - 61 - »

© 2024 OneMinuteCode. All rights reserved.