Questions tagged as 'android'

2
answers

How to put a line separating items from a menu?

Hello, does anyone know how I can put a horizontal line to separate the items from my menu without having to use the <group> tag? I have the following code: <menu> <item android:id="@+id/action_rate" android:title="@...
asked by 13.09.2015 / 17:03
1
answer

Installation Serial for APP Android

I'm developing an app on anrdoid, and would like to know if you have a serial to install for APP, so it can only be used on the tablet you installed on? If you have other ways to do this on Android, please let me know.     
asked by 12.11.2014 / 17:09
2
answers

Pass string array per parameter to screen2

I am following a tutorial on the internet and I have a small question that is the following. In the tutorial, I put items from a String array in a listview and I can select multiple options in simple_list_item_checked. I'm able to show which...
asked by 16.12.2014 / 19:59
3
answers

How to update TextView from AsyncTask?

I have seen in this example, updating the TextView field from within AsyncTask but I can not repeat that in my code, and what do you think this is not even possible or is it? protected String doInBackground(String... params) {...
asked by 26.03.2014 / 17:24
1
answer

Recyclerview enviezada (diagonal) - android

I need to create a recyclerview, in android, whose items are rendered, according to the image Itriedtouseashapeinthebackgroundimagehoweverthereistheclickproblem.whenIusetheshape,theclickonthecornerstakethewrongpositionandthat'saproblem.ForIO...
asked by 30.06.2016 / 16:36
1
answer

Graphics on Android

I need to implement a bar chart in an Android app. Could someone help me? I found only the google-chart but I did not understand how to apply it to the app.     
asked by 20.08.2014 / 18:56
2
answers

findViewById in Kotlin

I was generating an action by clicking on a Button fun cliqueBotao(view : View){ var texto = findViewById<>(R.id.textoExibicao) as TextView texto.setText("Texto alterado") } Only Android Studio complained that findVi...
asked by 07.01.2018 / 01:14
3
answers

Validate whether the INSERT was executed successfully or not (JTDS)

I would like to know a form of validation to know if the insert was executed successfully, I have no idea how to do this because the execute () method does not return anything! Connection connInsert = DriverManager.getConnection(ConnectionURL)...
asked by 28.08.2017 / 21:58
1
answer

Limit number of characters entered based on view width

I have the following EditText with width defined as match_parent , basically occupying the total width independent of the device: <EditText android:layout_width="match_parent" android:layout_height="wrap_content" an...
asked by 03.08.2017 / 22:46
2
answers

Checkbox condition isChecked

Hello, I'm using a CheckBox and I would like it if it was Checked, it becomes visible a Layout. I'm using the code below and it only works for when it's clicked, but I already want to check it out. I tried to get the code from within the .setOnC...
asked by 23.11.2016 / 20:09