2013年8月17日星期六

android mask layer implementation issues

With a description of the kind indicated by the mask layer is how to achieve ? That is, when you first open the app there will be a translucent blur layer on top of the activity and then there are some places to live in boxes packed beside captions , click on the mask layer disappears , and then displays activity ( not jump , just mask disappears ) . How to achieve ? Ever thought of using a custom dialog, but do not know if there was an easier way , but that frame the activity box to a specified location only compare how accurate ? There are the best demo .
------ Solution ---------------------------------------- ----
to a translucent layout usually required when the effect is not visible when seen on the line. Translucent is # # XXXXXXXX
first two is the transparency of six is RGB
------ Solution ---------------------- ----------------------
LZ easiest to do a mask map ui translucent match with your background to be frameLyout directly on the top and then click on the abolition of display set directly into View.GONE ; future no longer have a

1 条评论:

  1. You could read and write more than one byte at a time using a byte array.

    回复删除