Questions tagged as 'android-layout'

1
answer

Doubt with the BroadCastreceiver, do not record the actions

I have created a clase , which extends from BroadcastReceiver . I use this class to display a notification bar with two buttons to register each click. The notification bar is perfectly displayed, but when I click on the buttons,...
asked by 15.11.2016 / 15:30
0
answers

The fragment does not open full on the screen

My problem lies in the following, I have 3 listview in a fragment, which runs me pretty well, the question is that when I fill the ListView respectively, you notice that it loads everything but it does not look on my screen, a miniScroll...
asked by 28.11.2016 / 02:55
1
answer

Put transparent title when the toolbar expands on Android

I have generated an activity using the template scroll content of android studio, I find that when CollapsingToolbarLayout is expanded, the text of the Toolbar is big and permanent. I would like it to be transparent when...
asked by 10.08.2016 / 20:47
0
answers

Doubts with the remote control in the Android notification bar

Good, first I want to make a brief summary to put in situation. My app loads a Fragment , I instantiate an object from a clase that I created. This clase contains the attributes and methods necessary to play a radio in Stream...
asked by 14.11.2016 / 11:21
1
answer

Implement night mode on Android

I understand that Android is a night mode is to say that it differs if it is day or night, my question is How to get that data and thus be able to change from a clear subject to a dark subject? Update The problem that arises after findin...
asked by 26.07.2016 / 15:08
1
answer

Show possible icons in a Toolbar on Android

I have two ToolBars in an app, the secondary one that is shown below the main ActionBar in its totality there are 10 buttons, I want to show as much as the width allows. The items are defined as ifRoom , which in principle...
asked by 19.06.2016 / 01:18
2
answers

Error in Android studio layout [duplicated]

I'm doing an app on Android but I have the problem that when I run the app on my device I throw all my objects in the same space. Do you think you know what is due? Here is my XML <?xml version="1.0" encoding="utf-8"?> <and...
asked by 02.02.2018 / 00:03
2
answers

How to send data from one activity to another in android studio [duplicated]

What happens is that the RESULT of the SUM of the activity IngresarDatos I want to reflect it in another activity but I do not know how to do it EnterData.java package com.example.asus.crudaplicacion; import android.content.Intent; impor...
asked by 24.10.2018 / 19:41
2
answers

I have a problem with the screen dimensions in android?

I am developing an app, but I do not know how I can make it adapt to all the screens of the existing telephones, although it is programmed only to layout that my viewer of android studio, in this case the phone of 4 "by default , it looks good,...
asked by 09.01.2017 / 06:11
1
answer

How can I place a Linearlayout on top of a scrollview?

I need to make a table where I have to scrolle it because there are too many rows, the header of the table must be static and be displayed when "scrolee". try to create a linearlayout with the fields of the table and in another linearlayout (tha...
asked by 20.08.2017 / 00:32