Questions tagged as 'android-layout'

0
answers

How to show a popup window above the call layout in Android 7.0 version

I am developing a kind of contact provider for Android users. The main function is that when the device receives a call (blocked or not blocked), a popup window with some information of the calling contact appears. The problem is that with versi...
asked by 10.07.2017 / 12:16
2
answers

TextView and ProgressBar do not show Android data

I have checked the data that must show are true by means of a toast that prints them, but when wanting to show in the TextView (lessons_count) the original data does not do it, even if I put it to show a Hello. but where I update progress_genera...
asked by 18.06.2017 / 09:22
1
answer

See the camera duplicated by screen in real time

I have an application created and I need to know how to see on the screen of the mobile what is seen by the camera in duplicate form and in real time. At the moment the two screens are shown but one remains "frozen" and the second works correctl...
asked by 30.08.2017 / 13:20
1
answer

Implement OnClick in Image

I'm doing a project (a memory game) with this tutorial link I'm doing it a little different  Create a menu_activity that says the name of the game and an image with the Play icon. This brings us to the second activity, where is the problem I h...
asked by 23.05.2017 / 01:28
0
answers

Android API19: problems displaying a child in a RecyclerView

I have a RecyclerView that has to inflate the following layout in its ViewHolder: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.androi...
asked by 13.05.2017 / 11:18
1
answer

OnClick in Fragment does not change my TextView [duplicated]

public class MainMenu extends Fragment implements OnClickListener{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.in...
asked by 21.04.2017 / 10:42
2
answers

Align three buttons horizontally in a layout

How can I make the bottom buttons line up from left to right instead of top to bottom and occupy the full width of the device that runs it? Can I use percentages? Deputy code: <?xml version="1.0" encoding="utf-8"?> <RelativeL...
asked by 21.04.2017 / 19:06
1
answer

Problem with same Android Studio screens

I have a problem, two cell phones of the same screen size, only one has the button bar included in the screen, and it looks to the side. This is the screen where it looks bad if you can see this as a side run And this is the screen wher...
asked by 05.04.2017 / 18:47
1
answer

BluetoothDevice.ACTION_FOUND does not work for me

I have a bluetooth device discovery code. I get to the option BluetoothAdapter.ACTION_DISCOVERY_STARTED and BluetoothAdapter.ACTION_DISCOVERY_FINISHED but it does not discover devices having the device of another mobile device a...
asked by 06.04.2017 / 17:29
1
answer

Intercept and synchronize when changing Audio volume in Android?

I need to detect when there is a volume change in the Audio channel to synchronize the volume set to SeekBar By showing for example the dialog where you can adjust the volume I would like to detect the change made, in order to...
asked by 15.05.2017 / 21:06