Slidedown and slideup layout with animation

Create two animation xml under res/anim folder slide_down.xml <?xml version=”1.0″ encoding=”utf-8″?> <set xmlns:android=”http://schemas.android.com/apk/res/android” > <translate android:duration=”1000″ android:fromYDelta=”0″ android:toYDelta=”100%” /> </set> slide_up.xml <?xml version=”1.0″ encoding=”utf-8″?> <set xmlns:android=”http://schemas.android.com/apk/res/android” > <translate android:duration=”1000″ android:fromYDelta=”100%” android:toYDelta=”0″ /> </set> Load animation Like bellow Code and start animation when you want According to your Requirement //Load animation Animation slide_down = AnimationUtils.loadAnimation(getApplicationContext(), R.anim.slide_down); … Read more

How to Use slideDown (or show) function on a table row?

Animations are not supported on table rows. From “Learning jQuery” by Chaffer and Swedberg Table rows present particular obstacles to animation, since browsers use different values (table-row and block) for their visible display property. The .hide() and .show() methods, without animation, are always safe to use with table rows. As of jQuery version 1.1.3, .fadeIn() … Read more

Slide down button to show text HTML CSS

Some corrections, plus a solution to what I think you are trying to achieve: Don’t use [class=interests] in the CSS, the dot is made for that: .interests ! Don’t use [id=all-contents] in the CSS, the # is made for that: #all-contents ! Don’t use spaces in class names ! professional interests → professional_interests, There was … Read more