id tag

1618 questions


1 answers
127 views
0
I want to make the background of the dialog transparent on Android

I'd like to make the black background painted with arrows transparent in this picture What should I do?final Dialog dialog = new Dialog(Screen1.this);dialog.requestWindowFeature(Window.FEATURE_NO_TITL...

2 years ago

1 answers
85 views
0
Invoke another layout view from a fragment

activity_main.xml<android.support.design.widget.AppBarLayout android:layout_width=match_parent android:layout_height=wrap_content android:theme=@style/AppTheme.AppBarOverlay> <android.support...

2 years ago

1 answers
120 views
0
Could it be a problem on memory to factor Activity? (Java object, address value transfer related)

I'm making a notepad as a practice, and I'm putting activity as a factor and delivering it to other classes and objects.public class MemoAdapter extends RecyclerView.Adapter<MemoAdapter.ViewHolder&...

2 years ago

1 answers
22 views
0
Problems changing layout when clicking the Android button

Like the picture above I hope the keyboard disappears when you click the button and the layout changes like in the picture.Version is api19 and for the activity in the manifest By writing android:win...

2 years ago

1 answers
95 views
0
Questions about the android webview editor.

The view with the cursor now is the Wizwick editor. In the emulator, when you click on the editor, the keyboard does not block the editor, but when you run it with the actual terminal, the keyboard bl...

2 years ago

1 answers
54 views
0
Can I hide a specific location in the Android Listview?

String[] _InitialSetup_Menu = new String[] { AA, BB, CC, DD, FF, GG, HH };_InitialSetup_List = (ListView) _Main_List.findViewById(R.id._Main_ListView); ArrayAdapter<String> __InitialSet...

2 years ago

1 answers
26 views
0
I have a question for Room Retrofit 2

Are there any precautions when inserting the results of the response received from Retrofit2 in the Room?Response results received from Retrofit When I insert in Room, I kept getting errors in doInbac...

2 years ago

1 answers
80 views
0
How can I change the app to holodark theme?

<style name=AppTheme parent=android:Theme.Holo.Light />I changed the code above as below to change it to holodark theme <style name=AppTheme parent=android:Theme.Holo.Dark />error: Error r...

2 years ago

1 answers
87 views
0
How do I avoid % in String.Format?

I put a SQL query statement in the string.xml file, but I want to write this code in String.Format.SELECT Field1, Field2 FROM mytable WHERE Field1 LIKE '%something%'If you have a statement like this, ...

2 years ago

1 answers
116 views
0
How to insert an image as a path to a file in an image view

Put resources in drawable ImageView imgView=new ImageView(this); imgView.setBackgroundResource(R.drawable.img1);I set it up in imageView like this. Instead of registering resources in the drawable fo...

« - 105 - »

© 2024 OneMinuteCode. All rights reserved.