Hi there,
Its a nice working example and worked exactly as you described.
But I want to use this in a little different way.
As per my project's requirement, I need to place the button on the right side and title on the left side. For that I edited the "action_item_horizontal" file because I want to display the action item horizontally. I placed the TextView before ImageView in the RelativeLayout. Doing so and I run the project, I am getting ClassCastException : android.widget.textview...
How can I resolve this?
Waiting for your quick response.
Regards
Hi there, Its a nice working example and worked exactly as you described. But I want to use this in a little different way. As per my project's requirement, I need to place the button on the right side and title on the left side. For that I edited the "action_item_horizontal" file because I want to display the action item horizontally. I placed the TextView before ImageView in the RelativeLayout. Doing so and I run the project, I am getting ClassCastException : android.widget.textview... How can I resolve this? Waiting for your quick response. Regards