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...
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...
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...
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...
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 );...
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:
<?...
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"...
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...
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...