Android sliding drawer from top to bottom

I want to create sliding drawer in android which should be placed on top of the activity and should be open from top to bottom like android notification panel. How to achieve this?

sed headaches: inserting lines upon singular matches in file (NOT per line)

After over eight hours of searching, I am throwing in the towel and creating a new question for this one. The operation is simple, but I am having the hardest time getting this to work correctly, having gone through seemingly every other solution on SO. I need two things:

1.) To insert a line before a line in which the FIRST MATCH of “PBS” in the entire file occurs. It should only happen once in the entire file. For some reason, every solution I’ve tried has ended up duplicating the insert for every occurrence in the file; I suspect, because sed is following on a per-line basis.

So this needs to happen. Original file:

stuff here
stuff here
PBS -N
PBS -V
stuff here

becomes:

stuff here
stuff here
inserted line
PBS -N
PBS -V
stuff here

2.) To append a line after a line in which the LAST MATCH of “PBS” in the entire file occurs. Same as before: it should only happen once in the entire file.

So this needs to happen:

stuff here
stuff here
PBS -N
PBS -V
stuff here

becomes:

stuff here
stuff here
PBS -N
PBS -V
inserted line
stuff here

All of the solutions I’m seeing online (and I have about twenty tabs open at this point) state that this should be relatively easy. I have no shame in declaring that sed is taking a toll on my self-esteem at this point… Thanks to anyone who can help

The other ‘Teen Mom’ girls think that Farrah Abraham is …

(Gabe Ginsberg/FilmMagic)

(Gabe Ginsberg, FilmMagic)

Farrah Abraham is one of the more polarizing figures on reality television. The Teen Mom star has used her fame to launch a well-documented and (kinda sad) career in adult entertainment.

When MTV told her fellow Teen Mom co-stars Maci Bookout, Amber Portwood and Catelynn Lowell that Farrah was returning to the new version of their show, they were, um, less than thrilled.

Maci even threatened to quit the show. She tells Us Weekly:

I’m not going to lie and say I was happy about it. But, I mean, it’s something that I guess people will just have to watch on the show. And it has nothing to personally do with Farrah at all. I have no hard feelings towards her whatsoever.

No hard feelings … right.

This embed is invalid

Catelynn hinted that a social media feud caused her to sour on Farrah, but she’s over it now.

I think there was a lot of miscommunication about things. Like, I can say that I jumped to conclusions when somebody wrote something that Farrah said about me. We might have different opinions about things, but we are both adults and put our differences aside and just be OK with each other.

And Farrah even admits that she wasn’t exactly jumping up and down about returning either, but, of course, she did.

When I got the call to come back, it was a little bit awkward for me, and I tried to work with them the best that I could. I was just a little bit reluctant because of the progress I made while I was not on the show. I think it’s good to be back for Sophia’s sake and showing how our lives are to help others. And that’s why we’re back.

Teen Mom OG premieres March 23 on MTV.

[ Comics & Animation ] Open Question : Hijkjmlmnnmmm?

Hinmmmmmmmm

Need For Speed Most Wanted Black Edition – RELOADED

Need For Speed Most Wanted Black Edition - RELOADED

Need For Speed Most Wanted Black Edition – RELOADED
English | Size: 2.46 GB
Category: PC|Windows

Wake up to the smell of burnt asphalt as the thrill of illicit street racing permeates the air. From the makers of the hit Need for Speed Underground series, Need for Speed Most Wanted challenges players to become the most notorious and elusive street racer.