Posts by Android_man • 23 points
4 posts
-
0
votes1
answer33
viewsQ: How to add Id to canvas on Android?
I need to add a circle across the canvas every time I click a button (identical behavior to Paint from Windows). But to move the circle clicked on the screen I need an Id. Does anyone have any idea…
-
1
votes1
answer116
viewsQ: How to adjust the height of a Uiview on Swift 3 according to subviews?
I have a Uiview with subviews, and I need Uiview to increase or decrease according to the size of the subviews, the same idea of a layout with wrap_content height. Does anyone know how to do this on…
-
0
votes1
answer24
viewsQ: How to enter a specific date in the Swift3 Calendar?
I need to enter a specific date in the Calendar, but I’m only able to add values based on the current date (maybe because when I do, I give a Calendar.Current). Someone knows how to enter (day,…
-
1
votes1
answer466
viewsQ: How to change color a Listview item based on the "onActivityResult" response?
lv = new ListView(this); adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, android.R.id.text1, vetorNomes); v.setAdapter(adapter); I have a list of names, when I…