Questions tagged as 'android-studio'

1
answer

How to fix the error "Attribute android: layout_width is not allowed here"?

Please help me !, and sorry for the errors in my publication, I am new to this. The errors that appear are the following: * Android Attribute: layout_width is not allowed here * Android Attribute: layout_height is not allowed here * Attrib...
asked by 18.03.2018 / 03:09
1
answer

Paint coordinates Android Studio

I'm trying to draw a series of points (coordinates), in Android Studio, but I only get to draw the last coordinate that happened, here I leave the code I have class Vista extends View { Paint paint = new Paint(); public...
asked by 14.03.2018 / 11:32
2
answers

Problems with TextView in Android Studio 3.0.1

Hello, I am using Android Studio 3.0.1 and the TextView marks it on red as an error, says    Function invocation 'TextView (...)' expected None of the following   functions can be called with the arguments supplied. (Context!)   defined i...
asked by 08.03.2018 / 04:39
0
answers

check if an accessibility service is activated

I'm creating a direct access to the accessibility settings in android, my goal is after activating the service is that my application comes back and no longer shows the activity to call that screen. 'activarccesibidad = (ImageButton) findViewB...
asked by 12.03.2018 / 23:47
0
answers

In Webview as it is centered on the width of the screen

I'm adjusting a local web page, the width of the screen. I am using this code to adjust it to the width of the screen mWebView.getSettings().setBuiltInZoomControls( true ); mWebView.getSettings().setDisplayZoomControls( false );...
asked by 06.03.2018 / 21:22
0
answers

I can not use a WebViewClient

You see, I have a program which has to take me to a web page: link After adding the following in AndroidManifest.xml: <uses-permission android:name="android.permission.INTERNET"/> I prepare the webview in an xml file: <?...
asked by 28.02.2018 / 20:03
1
answer

Problems listing a JSONArray in AndroidStudio

I have a json that gives me this result: { "error": false, "fatigas": [ { "fatServ_fecha": "2018-01-07", "fatServ_HoraIn": "10:13:00", "fatServ_HoraOut": null, "turn_cod": "3", "are_cod"...
asked by 06.02.2018 / 21:18
0
answers

How to join Android Studio With unity [closed]

With a partner are we trying to create an augmented reality app but uniting Android studio and unity using vuforia help.?     
asked by 20.02.2018 / 17:01
1
answer

Content ViewPager is deleted when exiting the fragmen and returning with the button back

I have several fragments which have several tabs, the problem is that when changing the fragment and returning the button behind the navigation bar, the content does not appear, only the bar appears with the titles of the tabs. This is my tab...
asked by 21.03.2018 / 20:46
2
answers

How to change the title name in the toolbar? And how do I center it?

I would like to know how to change the title of each activity (I have eight different activities) in the toolbar. I have created a toolbar.xml <android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android...
asked by 21.03.2018 / 20:45