Skip to content

Positioning button and title in the action item #10

@YunusLuniwala

Description

@YunusLuniwala

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions