Questions tagged as 'android'

1
answer

Problem with SHA-1 key in apk release and debug

I finally got an alpha version of my Android app and decided to send it to the Play Store for the first time. As I've never done this before (I'm new to the Android development world), I've read some tutorials and was able to generate a signed...
asked by 11.07.2016 / 17:17
2
answers

How to make an object in the ListView have an absolute position?

I have a listView with several items, I also have a searchView to make a filter on these items, being "clickable", starting another Activity. The problem is that the numbering of lisView items changes according to what I search in searchView....
asked by 30.12.2016 / 05:01
1
answer

Change the HttpParams code to httpurlconnection

I have a code that connects json to a mysql database, but HttpParams is obsolete in the java version I'm using, so I'd like to know how to do it or how best to put new parameters and keep that format to get the data, this is a login and password...
asked by 20.04.2016 / 16:19
3
answers

Hybrid applications optimize webview?

How do hybrid frameworks work? In my view, what they do is to run everything on top of the platform's native webview, just by packaging the JS code inside an application directory, such as assets . So what's the real use of using these fra...
asked by 29.04.2016 / 16:52
1
answer

Center a label on a badge

I can not centralize a label inside a badge. It looks like the label is out of the badge. See the code: <Grid xmlns="http://xamarin.com/schemas/2014/forms" xmlns:local="clr-namespace:Operacional" xmlns:x="http:/...
asked by 26.02.2018 / 20:58
2
answers

Change the layout of buttons dynamically

I have two buttons on the screen, these are visible or not depending on the situation. There is a third situation, which should make the two visible, but it does not fit the screen. So I would like them to stay side by side, how to do this, in c...
asked by 23.01.2017 / 20:40
1
answer

How to change the name in the upper bar dynamically when a fragment is selected?

I want the name in the upper bar to change according to the fragment that is selected, for example, I chose the list of clients list, then on the bar it would appear "List Clients", but I can not do it, it only gets the initial name. Here is the...
asked by 24.03.2016 / 05:12
1
answer

Keep the screen on v4.1.x

I have the following code to keep the screen always on: if (usuario.getTelaLigada()){ getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); } It works in version 4.4 and higher. But not in previous ones. How do I k...
asked by 17.12.2015 / 10:37
1
answer

How do I enable "Telephony Actions" in Android Studio?

How to "enable" Telephony Actions in Android Device Monitor ? I would like to do call test in the emulator but the field is disabled.     
asked by 12.07.2016 / 12:38
3
answers

List of questions, each question with a list of answers

I'm implementing a question and answer application. For my listing I'm using a RecyclerView where I load several CardViews (from loading a list). Each CardView shows one question. Below the question text I want to show my list of alternatives...
asked by 27.11.2015 / 20:56