Designing a 'new post' android activity

601 views Asked by At

I am working on a social app that takes in text posts from users. Now I want to design an activity that takes input from the user for a new post. I want it to look like the 'create a new post' dialogs in popular apps like google +, Tumblr or facebook android apps. I tried searching the web for the like but couldn't find any. Kindly direct me to some good resource. Any good github project will be really helpful. enter image description here

1

There are 1 answers

3
Kevin van Mierlo On BEST ANSWER

You can do two things.

  1. Use a DialogFragment. Here is the documentation and here is an example and some information.
  2. Hide a View that is on top of the layout with a semi transparent background and some padding causing it to look like your picture.

I hope this is enought to push you in the right direction. If you need extra information comment on this answer and I'll help you with it.