Questions tagged as 'view'

1
answer

View of two tables

I have two tables, TABLE_1 and TABLE_2 and I want to create a view with some fields of both where the id_event (existing in both) is equal. CREATE TABLE table_1 ( id INT, id_event INT, col1_t1 varchar(255), ...); CREATE TABLE...
asked by 02.09.2016 / 15:54
1
answer

Get childView position in ExpandableListView

I have an ExpandableListView in my app. <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:id="@+id/myLayout" android:layout_height="match_parent" android:layout_weight="1">...
asked by 11.04.2016 / 17:25
1
answer

Get URL parameter

I need a code that when I click on the image, this image will open in a new tab. So far I've been able to do that when I click on top of my image it opens another tab with the path of the image in the URL. How do I get that path that is in the U...
asked by 01.07.2015 / 14:54
2
answers

Keyboard rising before the view up

As the statement says: As soon as I touch a input the keyboard goes up and then view goes up. I'd like to know what I'm doing wrong. PS : In addition, between the keyboard and the view, there is a black space and scroll...
asked by 09.03.2015 / 14:06
1
answer

Custom view longClickListener not responding

I'm trying to make my view accept long clicks, but nothing happens. I looked at other similar posts but found no solution. Any idea what might be happening? <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="...
asked by 25.01.2015 / 23:36
1
answer

Button on top of a View with Canvas

I've been trying for some time already to put a Button on top of a View that I'm using with Canvas. I searched in several places (this seems to be a common problem) but I did not find an answer. When I try to run the program below, it gives t...
asked by 22.01.2015 / 21:27
2
answers

Form to change variable for a calculation in the same view

I'm starting with Rails. I have a view that receives information from the database and through methods of a model make several calculations. For example: <% @profundidade = 0.5 %> <% @prnt = 90 %> <% @analises.each do |a...
asked by 28.02.2015 / 02:57
0
answers

Variables for extension of twig blocks

Hello I'm starting to adopt the MVC framework in my PHP projects and for this, I'm using Twig, so I understand I can not call more than one view at a time, so I call a view from the requested controller and it extends the others, just use the...
asked by 24.11.2018 / 19:19
0
answers

I can not pass parameters from view to controller in MVC using URL

I'm doing an MVC project and am not able to pass the Search window parameter to the Controller that is reaching View . I'm going to go through both classes, if you need more information I see editing here: OfficeListing.cshtml @model...
asked by 31.10.2018 / 03:19
1
answer

How to change the display field of a select using CakePHP3

I'm new to CakePHP and am encountering a difficulty to display the data in the right way. // src/Template/Bookmarks/add.ctp echo $this->Form->control('user_id', ['options' => $users,'empty' => 'Selecione']); The a...
asked by 05.10.2018 / 21:52