I'm using a LinearLayout with a ederext and then an image. By clicking on a button, I cast out of the screen image, thus replacing the Aditstiks. But Aditstet changes its width size without Animeting I could make it to get that changed animation size edition Pls thanks for help in advance !!!!
Edit1: My xml file
& lt; XML version = "1.0" encoding = "utf-8" & gt; & Lt; LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" Android: Android: Android: Android: Layout_width = "Match_parent" Android: Layout_height = "Match_parent" android: gravity = "Kendra_vrti" Android : Orientation = "horizontal" & gt; & Lt; imageView android: id = "@ + id / hj_back_btn" Android: Layout_width = "Wrap_content" Android: Layout_height = "Wrap_content" Android: contentDescription = "@ string / empty_string" Android: ScaleType = "CenterCrop" android: src = "@ drawable / Ic_action_navigation_arrow_back_grey "/> & Lt; EditText android: id = "@ + id / hj_search_edittext" Android: layout_width = "0dp" Android: layout_height = "wrap_content" Android: layout_weight = "1" android: background = "@ drawable / apptheme_edit_text_holo_light" android: gravity = "left | Android: sign = "@ string / hj_search_text" android: includeFontPadding = "false" Android: paddingLeft = "@ Dimen / hj_margin_small" Android: textcolor = "@color / hj_search_text_color" Android: textColorHint = "@color / hj_search_bar_border_color" android : text Size = "@ dimen / hj_font_small" / & gt; & Lt; imageView android: id = "@ + id / my_cart_icon" Android: layout_width = "wrap_content" Android: layout_height = "wrap_content" Android: layout_gravity = "end | center_vertical" Android: scaleType = "centerCrop" android: src = "@ drawable / IC_Action_Shoping_gate_grey "/>
The right side of the above xml my_cart_icon I want to fill the space left to scale it to your edittext smoothly.
You can get a simple animation effects to hide one of the ideas / removal and others Hope this helps!
No comments:
Post a Comment