Questions tagged [programmatically-created]

Any object in an application created using a computer program rather than created manually using something in the userspace.

General Definition

Any object in an application created using a computer program rather than created manually using something in the userspace.

GUI Elements

In general, elements are declared in inside their accompanying tags in / files or in any other derivatives ( , , , , , and many others).

Programmatically created are those elements that are coded in contexts that need to be compiled to take effect at . They could be created at by a click of a as an example, where they would be coded inside a click listener for that .

438 questions
0
votes
2 answers

Send Ping on Android programmatically

Ok, I have no Idea how to do this, I need some help. I need to send a Ping in JSON format into a server, I've already have it with all the information that I need... timestamp, location, device_id, etc... But.. how can I send it each 5 minutes…
HGRC
  • 577
  • 1
  • 5
  • 7
0
votes
1 answer

Set the TableView's controller class dynamically

I'd like to build an app that exposes sections in the TableView if the user clicks on a button. (The underlying data may also be sorted and filtered differently) This requires a few extra functions to be overridden and even some of the existing…
Daniel
  • 3,758
  • 3
  • 22
  • 43
0
votes
2 answers

How do I add size class customization programmatically

How do I add size class customization pragmatically? I know how to do this in interface builder but would like to do this with my existing programmatic NSLayoutConstraints. Can't seem to find any info about this anywhere, except one or two places…
0
votes
2 answers

Creating relative layout (programmatically) with lot of fields

I am trying to create a Relative Layout with java. I would insert logo on TOP, sharing on FOOTER and some info on middle. For now, all components are getting on FOOTER, even if I pass the parameters to the header is on top. My java code is: package…
0
votes
1 answer

How to get ids of elemenent for menu in header?

I'm editing a wordpress theme. (this: Onetone theme) I'm trying to make some pages like the home seeing the theme don't provide it (I've already contacted them). So in each page i would have some < section > with a specific id and a menu with the…
Leonardo Rignanese
  • 865
  • 11
  • 22
0
votes
1 answer

Add images to linearlayout programmatically

I have a HorizontalScrollViewwith a LinearLayout in it and I want to add multiple images to layout programmatically with all of them in same height (about 300dp) and wrap content. something like they are fitted in the scroll area by scale. My…
0
votes
1 answer

ASP.NET Dynamic Listview web application

I have several sqlserver tables each representing an application. I need to mantain (view/edit/insert/delete records) all of these tables. All of these application tables have an int primary key column named ID. In order to accomplish this task, I…
0
votes
4 answers

Why does it look like my androidbutton is compressed in width?

I want to add multiple Buttons in my activity programmatically. That works fine so far, but it looks like my button is compressed in width. The button has a background image that is 20*20px and im using WRAP_CONTENT for width and height. Here is the…
nic2307
  • 71
  • 2
  • 11
0
votes
1 answer

Parse android xml layout and create views from it programmaticaly

I have the following problem: Download complex xml-layout with many views from the server while running the application, dynamically attach it to app and display the necessary elements with ability to work with them. I learned that at the moment…
0
votes
1 answer

Dynamically generate UITextFields

I am working on a app that need to generate UITextFields dynamically according to the json that recieved from a web service. Actually it is a view structure. It contains cordinates of the text field objects and their details. I am generating the…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
1 answer

How to change layout constraints programmatically on display rotation

For an app (iOS 7 compatible) I need to have the possibility for totally different layouts in landscape and portrait mode. I see the only way in setting the constraints programmatically and change them on rotation. So I set my interface using IB and…
beseder
  • 1,352
  • 2
  • 15
  • 25
0
votes
3 answers

Can I mix and match programmatic adding of views and use a storyboard at the same time for iOS?

I've got a default layout in my storyboard for a specific view controller. I'd like to add a few things programmatically, but I'm not sure how to go about it so that it adjusts the layout for my other views. Since I just drag and drop things in to…
Gentatsu
  • 696
  • 1
  • 6
  • 26
0
votes
1 answer

Define a Custom EditText

I'm a beginner. I want to define the xml for a custom EditText and then programmatically add those custom edittexts at runtime without using a bunch of code to customize the editTexts. This could be similar to implementing custom buttons, textviews,…
sanic
  • 2,065
  • 4
  • 20
  • 33
0
votes
1 answer

Overriding loadView and setting rootViewController programmatically, no Storyboard

I'm trying to create and set a View as the root View programmatically. I'm not using a Storyboard or ARC. I'm trying to set a UIWebView as my ViewController's root View, which I'm unable to do. When I run the following code, I see a NavigationBar…
0
votes
1 answer

Excel VBA add code userform programmatically

I got a tricky issue with my VBA-code. The situation is that I have a manual created userform. I add controls to the userform with a macro and it works fine for me. But now I also need to add event-code to the userform. Following code I want to add…
Exic
  • 61
  • 1
  • 3
  • 8