Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Drive:******Android-sdksamplesandroid-<apilevel>ApiDemossrccomexampleandroidapisviewExpandableList1.java
- TextView desc = (TextView) v.findViewById(R.id.editText1);
- ImageView icon = (ImageView) v.findViewById(R.id.listIcon);
- if (desc.getVisibility() == View.VISIBLE) {
- icon.getLayoutParams().height = heightIcon;
- desc.setVisibility(View.GONE);
- } else {
- icon.getLayoutParams().height = LayoutParams.FILL_PARENT;
- desc.setVisibility(View.VISIBLE);
- }
Add Comment
Please, Sign In to add comment