Android Orientation Change: Different Layout, Same Fragments?

This is pretty much a classic Android use case. Say we have 2 fragments: FragmentA and FragmentB. In landscape mode,...

Distorted App screen - Android?

Our app looks like this on Huawei 8510, and android version is 2.3.5. This screenshot came from our customer. We dis...

onCreateOptionsMenu inside Fragments?

I have placed setHasOptionsMenu(true) inside onCreateView, but I still can't call onCreateOptionsMenu inside fragmen...

Cannot move to another fragment in recycleview?

I am developing an app. I want list the item in the friends fragment and when i click the item then goes to message ...

How to move from one fragment to another fragment on click of an ImageView in Android??

I have an ImageView. I want to move from one fragment to another fragment on a click of an Imageview, the same way l...

Start an activity from a fragment?

I have 2 fragments with on both fragments a button. When I press the button I'd like to start a new Activity. But I ...

Recycler View Not Showing?

I have been making an app that uses a recycler view in a navigation drawer how the contents of the recycler view hav...

findViewById in Fragment?

I am trying to create an ImageView in a Fragment which will refer to the ImageView element which I have created in t...

onCreateOptionsMenu inside Fragments?

I have placed setHasOptionsMenu(true) inside onCreateView, but I still can't call onCreateOptionsMenu inside fragmen...

Cannot resolve method getActivity()?

I am new to Android and learning to create fragments in Android by following this example: Fragment Navigation Draw...

method does not override method in its superclass?

I'm trying to set the title for my action bar but its given me the error message "method does not override method in...

Error inflating class fragment?

I get the Error Unable to start activity ComponentInfo{de.androidbuch.activiti/de.androidbuch.activiti.task.Activ...

How to implement OnFragmentInteractionListener?

I have a wizard generated app with navigation drawer in android studio 0.8.2 I have created a fragment and added it...

Unknown fragments - Map Android Studio?

I'm doing an accessibility project and need to use the API Map. I can not see the map in Android Studio. This error ...