Timeline for Add padding on view programmatically
Current License: CC BY-SA 4.0
Post Revisions
23 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 19, 2022 at 9:51 | answer | added | Samiya Khan | timeline score: 5 | |
| Feb 16, 2022 at 5:55 | answer | added | Jeffrey Liu | timeline score: 0 | |
| Feb 15, 2022 at 14:48 | answer | added | Gastón Saillén | timeline score: 7 | |
| Mar 24, 2021 at 10:25 | answer | added | Nazim.A | timeline score: 2 | |
| Feb 13, 2021 at 17:14 | history | edited | Boken | CC BY-SA 4.0 |
deleted 12 characters in body
|
| Jan 13, 2021 at 17:35 | answer | added | Michał Dobi Dobrzański | timeline score: 1 | |
| Oct 30, 2018 at 19:07 | answer | added | Andrew Orobator | timeline score: 76 | |
| Jul 15, 2018 at 20:30 | answer | added | Siddhartha Halder | timeline score: 2 | |
| Sep 7, 2017 at 5:47 | answer | added | saigopi.me | timeline score: 10 | |
| May 4, 2017 at 14:49 | answer | added | i2097i | timeline score: 13 | |
| Oct 17, 2016 at 13:27 | answer | added | Bhagya | timeline score: 0 | |
| Sep 13, 2016 at 13:46 | answer | added | Manikandan K | timeline score: 3 | |
| S Apr 22, 2014 at 7:02 | history | suggested | AndyN |
Adding question specific tag
|
|
| Apr 22, 2014 at 6:59 | review | Suggested edits | |||
| S Apr 22, 2014 at 7:02 | |||||
| Sep 16, 2013 at 12:23 | answer | added | Miklos Jakab | timeline score: 116 | |
| Mar 13, 2012 at 15:36 | vote | accept | Leem.fin | ||
| Mar 13, 2012 at 14:43 | answer | added | Christian Orth | timeline score: 149 | |
| Mar 13, 2012 at 14:28 | comment | added | Aleks G | @alextsc: yes, agree. Nevertheless, I still prefer to assign ID's to anything that I may refer to in the application. | |
| Mar 13, 2012 at 14:20 | comment | added | user658042 |
@AleksG In general yes, but given that the LinearLayout is the root element of the inflated hierachy that's not neccessary here. view is already the LinearLayout, no need to find it again in this case. Given this is a special one though.
|
|
| Mar 13, 2012 at 14:15 | answer | added | Praveenkumar | timeline score: 22 | |
| Mar 13, 2012 at 14:13 | comment | added | Aleks G |
You'll need to assign an ID to your LinearLayout so that you could find it with findViewByIdand then call setPadding on it.
|
|
| Mar 13, 2012 at 14:11 | answer | added | Jave | timeline score: 584 | |
| Mar 13, 2012 at 14:08 | history | asked | Leem.fin | CC BY-SA 3.0 |