你有一个按钮,当你按下它时,一个带有两个按钮的视图从底部向上滑动。有谁知道怎么做?
我尝试过膨胀视图并制作动画,但它会动画整个视图并且不显示我膨胀的视图
Image.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View arg0) {
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View ImageSel = inflater.inflate(R.layout.layout_image_selector, vg_container);
Animation AniMoveUp = AnimationUtils.loadAnimation(context, R.anim.tut_image);
ImageSel.startAnimation(AniMoveUp);
Intent i = new Intent(Intent.ACTION_PICK,android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI);
// startActivityForResult(i, RESULT_LOAD_IMAGE);
}
});