Top "Layoutparams" questions

The LayoutParams is a helper class that stores various layout information related to the Android view for which it is used.

android Exit from full screen mode

I am working in Android. I need to show my activity in Full screen mode, and i did this using …

android layoutparams android-windowmanager
Animation in changing LayoutParams in LinearLayout

In my app there is a LinearLayout which has 0 Layout height. When I click the button this layout height should …

android android-layout android-animation layoutparams
Set Margin on RecyclerView programmatically

I need to set the top margin on a RecyclerView programmatically, but I get this exception: java.lang.RuntimeException: Unable …

android android-recyclerview layoutparams
Android view's getTop(), getLeft(), getX(), getY(), getWidth(), getHeight() methods

I am writing a drag and drop application and got really confused because of some parameters. Please help to figure …

android view layoutparams
Layout params of loaded view are ignored

I'm trying to write my own custom View and I have problem with LayoutParams. The idea is to extend ViewGroup (…

android layout layoutparams
Android, How to get/set layout parameters?

In my application I have a conversation room. All of my messages should be aligned to right while the rest …

android android-layout layoutparams
Android ListView layout param set

I have a Listview in my xml. The structure of it like that: <ListView android:id="@+id/SeriesCastListItemView" android:…

android listview layout layoutparams
setLayoutParams() method doesn't work

I am making a code that changes its size according to the screen size its application provides. It gets the …

android view layoutparams
How to programatically add LinearLayout with background color, and weight to another layout

I have LinearLayout in xml: <LinearLayout android:id="@+id/progress" android:layout_width="fill_parent" android:layout_height="@dimen/…

android android-layout android-linearlayout layoutparams
How to expand view smoothly in Android?

I met an issue when I expanded a 320*50 view to full-screen. If I expand it directly, it works but the …

android view layoutparams