1

Please help me how can i get this type of view in Linear Layout . enter image description here

I have tried

   android:layout_gravity=""
   android:layout_weight=""

and after click i want that tag with full view like the 1s tag appearing in picture.

Passion
  • 662
  • 1
  • 11
  • 29

1 Answers1

1

Thanks I have completed with the help of Turix.

Describing shortly .First i have send all views on Backend on OnClick() of any button using this code

    public static void sendViewToBack(final View child) {
    final ViewGroup parent = (ViewGroup)child.getParent();
    if (null != parent) {
        parent.removeView(child);
        parent.addView(child, 0);
    }
}

and then used

            curentView.bringToFront();
Community
  • 1
  • 1
Passion
  • 662
  • 1
  • 11
  • 29