54

In these type of questions, users only upload some image, and then ask how to create or develop this type of UI or code.

Here is the question that the user posted:

How to get an view like the below image in Android?

enter image description here

How to create an android UI like the image given below?

Which will be working on the swipe gesture.

So is it OK to downvote these type of questions?

2
  • 14
    My opinion: It's borderline. Just the image might not be enough but there is actually not much missing to make it a question suitable for SO. A bit of research or if this does not give anything just fake research. Obviously if you already know how to do it you wouldn't need to ask the question. Just add 2-3 sentences about some crazy ideas that do not work and specify a bit more in your own words what the effect should be. Voila. Valid question. Commented Jul 23, 2014 at 9:15
  • 2
    @MD I think Trilarion is correct. By showing effort in valuating options a question becomes valid.
    – DThought
    Commented Jul 23, 2014 at 9:19

6 Answers 6

85

Yes.

The downvote arrow has the following tooltip:

This question does not show any research effort; it is unclear or not useful

I think just posting an image and asking "how do I create this" is covered by that.

If you have enough reputation it's also a good idea to vote to close (probably as "Too broad" or perhaps "It's unclear what you are asking").

16
  • 5
    Rather "too broad": There are myriad ways, and doing so in good SO quality with proper explanation needs far too much space. Commented Jul 22, 2014 at 13:21
  • 28
    No, close as "too broad". In this case, it's clear what OP wants and it's clear he has no idea how to start, so it's definitely too broad.
    – l4mpi
    Commented Jul 22, 2014 at 13:21
  • @l4mpi I thought down vote this type of questions with close vote ("It's unclear what you are asking")
    – M D
    Commented Jul 22, 2014 at 13:23
  • 4
    @MD It's totally clear what he wants, so that's not a good close reason. "Too broad" works, though
    – Izkata
    Commented Jul 22, 2014 at 17:19
  • 9
    Though I don't encourage bad questions, sometimes if its easy enough to point someone in the right direction, I just answer it. Commented Jul 22, 2014 at 17:39
  • 1
    Maybe the OP is asking whether there is a particular library to achieve that effect. Commented Jul 22, 2014 at 17:49
  • 7
    @JohnPeyton - in that case the question should be closed as a shopping request.
    – ChrisF Mod
    Commented Jul 22, 2014 at 17:51
  • 10
    @logixologist - except that DOES encourage bad questions. If questions get answers because it's "easy" even if they're bad, you're implicitly telling future askers of bad questions that their questions will probably get answers too.
    – Sam Hanley
    Commented Jul 22, 2014 at 17:52
  • 3
    Yeah. I see your point too , however I have found answers to things I have needed when people asked a bad question. Different choice of words they used helped me find it. Commented Jul 22, 2014 at 17:55
  • I this question really too broad? There cannot be that many good ways to achieve the desired outcome, can there? Commented Jul 23, 2014 at 8:42
  • 1
    @Trilarion The close reason isn't just for "too many ways", it also includes the text "or good answers would be too long for this format"
    – Izkata
    Commented Jul 23, 2014 at 12:01
  • 3
    What if the user really, really has no idea what he's doing and just wants to be pointed in the right direction?
    – Bluefire
    Commented Jul 23, 2014 at 12:44
  • 3
    @Bluefire - then they need to ask in chat or somewhere else, it's not a suitable question for the Stack Exchange format.
    – ChrisF Mod
    Commented Jul 23, 2014 at 12:45
  • @Bluefire some guidance from another Stack Exchange's meta: Where to start?
    – user289086
    Commented Jul 23, 2014 at 14:34
  • 1
    @lzkata Okay but would answers to such a fairly specific UI element have been too long for this format? Although answers usually are short (2-10 lines long) I frequently encounter very long and detailed answers >100 lines and they usually are upvoted to heaven. Commented Jul 23, 2014 at 17:24
22

No(t always).

The downvote arrow has the following tooltip:

This question does not show any research effort; it is unclear or not useful

I don't think this is always the case when no code is posted.

Arguments for not down voting:

  • You could show some research effort without posting code. Like ChrisF commented you could at least explain where you tried to find solutions.
  • Sometimes it's difficult to know where to start, for example when you don't know the name of a feature. Therefore requiring some code will only produce some unrelated snippets.
  • There are already such questions with a lot of upvotes, so it's difficult to explain to a new user why his question is invalid. In fact that would be pretty random.
  • How does the algorithm to color the song list in iTunes 11 work? 230 upvotes
  • iOS 7's blurred overlay effect using CSS? 86 upvotes

So downvoting only because there is no code is too strict, you should take the explanations into account.

5
  • 2
    You should be able to say "I've tried X, Y and Z to no effect" or "I've looked here and there but can't find the answer". Also, it's not always a good idea to highlight older questions as a justification for asking a poor quality question now. All that might happen is that the older questions get closed as well.
    – ChrisF Mod
    Commented Jul 23, 2014 at 12:33
  • @ChrisF: I agree with that, but the question was about questions without code. Commented Jul 23, 2014 at 12:35
  • 6
    @Chris - You still should have done some research or attempted some coding yourself before asking so should have something to post other than the screen shot. If I'd seen the examples you quote I would have probably voted to close (it's a little late now). However, the CSS one is asking something more specific and narrower than the example in the question so that's not so bad.
    – ChrisF Mod
    Commented Jul 23, 2014 at 12:38
  • @ChrisF: Again I agree with you, but your answer didn't made any exceptions, so I felt the need to create a more balanced one. Commented Jul 23, 2014 at 12:53
  • 2
    Agreed in that I'd rather see no code with some other indicators of research/effort (e.g. "I know how to do <related thing> but reading through the documentation doesn't make it clear if it can be used for <specific case>) than a huge dump of vaguely related code.
    – nkjt
    Commented Jul 23, 2014 at 17:13
19

The premise of this Meta question is wrong.

The main question being asked about is close-worthy, but not because of a lack of code. In fact, code often actively makes "how-to" questions worse. A question needs to be about fixing (with a proper understanding) a specific problem in the code or about accomplishing some specific goal, not both.

Instead, the problem here is the lack of a) a clear specification and b) an identification of a specific problem. It is a work order; the problem there isn't "OP is lazy and hasn't tried to take any of the steps involved in completing the task" - the problem is "there are steps involved in completing the task, and a question needs to be about a step, not the whole task". The question also needs to be clear about input and output for that step: "a UI like the image" is far too vague. In what way should it be "like" the image? Under what conditions does it appear? What interactions, if any, need to be supported?

Because of these issues, the question should have been closed as "Too Broad" (in 2014 when this Meta question was originally posted; "Needs More Focus" today).

Remember that Stack Overflow questions are not about the person who asks, but about the problem. It's perfectly valid to ask a question while knowing exactly how to answer; it's perfectly valid to ask while not actually having any interest in the answer; it's perfectly valid to ask when an answer would mislead you. As long as the question meets standards, there's a high probability that someone needs the answer; and from Stack Overflow's perspective, it doesn't matter whether OP is included in "someone".

4

No, but it's definitely a judgement call.

It seems to me that the question should be answered at the same technical level as the question. So in this case a question with a screen shot (that the questioner obviously put some effort into creating) probably should NOT be answered with a code block anyway. It should be answered with information that will lead the questioner to be able to ask his or her next, more specific, question. Appropriate answers might be:

  • links to libraries that have this functionality
  • links to the API documentation that describe customized menus (or whatever Android uses)
  • links to tutorials
  • Most importantly, the answer can give the questioner the domain specific terminology that will allow them (and everyone who reads the answer in the future) to efficiently search for better answers.

In my opinion, that last bullet is the most important. In essence the question is "What IS this thing?" and the best answers help the community agree on a common terminology. Sometimes that's more important than code.

2

Well, I would know the answer on this question (use LMT). From the image, it is quite clear what the OP wanted to achieve, but how he asked showed a bit of laziness.

Perhaps he should have stated what the important parts are for him (custom action from his application). If I had to answer this question, I would have to ask too many questions to give a good answer which is sad, because the topic is great and LMT has a lot of possibilities the user knows little about. So yeah, downvote.

2
  • 1
    thnx for your opinion...
    – M D
    Commented Jul 25, 2014 at 10:45
  • What is "LMT"? "LMT Launcher" (whatever that is)? Or something else? Commented May 17 at 23:58
-7

As the down arrow is showing the tool tip message

This question does not show any research effort; it is unclear or not useful.

People asking a question without any effort. For that, they should check the below links as a comment

Comment 1

Comment 2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .