inflate
Android: InflateException on composite component
I\'m creating a pretty complex composite component which throws an InflateException with an unknown cause. I was able to replicate the error in a simplified version below, which is just a component wi[详细]
2023-03-22 00:32 分类:问答Inflate an xml file or create new intance of View in loop?
I am creating a screen/xml which has: TextView (Header) LinearLayout (placeholder to contain numerous RelativeLayouts)[详细]
2023-03-19 03:16 分类:问答java.util.zip.deflater equivalent in c#
does anyone kn开发者_如何学编程ow how can I achieve java\'s Deflater.deflate() functionality in .NET so it would be understandable for java\'s Infalter.inflate() method?[详细]
2023-03-16 09:53 分类:问答How to add same view to parent multiple times by inflating it only once
I have a LinearLayout with vertical orientation as parent, I want to add some view programmatically multiple times to this parent. Right now I am inflating the child every time getting new references[详细]
2023-03-14 12:53 分类:问答Inflating a view from inside the View constructor (Android)
I am using LayoutInflater to inflate the innards of a View in the View\'s constructor, as follows: public class TrackHeader extends RelativeLayout {[详细]
2023-03-10 05:38 分类:问答InstantiationException when using subclass of EditTextPreference
Assume, I have a subclass of EditTextPreference called PasswordProtectedEditTextPreference. This subclass basically shows a password dialog before one can edit the preference by the EditTextPreference[详细]
2023-03-09 05:46 分类:问答Inflate balloon when item is selected
I have a map activity that has many pins of map, and when I click a pin, a custom balloon opens, showing some information about that pin. Also, I have a search bar, where if you type the name of a kno[详细]
2023-03-07 11:28 分类:问答Android - how to re-inflate View hierarchy
I\'m having problems making my Activity respond to a theme change (i.e. Theme_Dark change to Theme_Light).[详细]
2023-03-05 14:58 分类:问答C++ Decompress a gzip array of bytes
Here is the complete situation: I\'m wor开发者_运维技巧king on a map reader for .tmx files, from tiled. Most times the tiles are saved in a base64 string, which contains an array of bytes compressed b[详细]
2023-03-04 16:53 分类:问答How to inflate Dialog with system preference screen (for example Settings/.wifi AdvancedSettings)?
I can inflate Custom or Alert Dialog with other layout by LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(LAYOUT_INFLATER_SERVICE);[详细]
2023-03-02 07:19 分类:问答