ssomai / ScalableLayout

Scalable Layout For Android
Apache License 2.0
270 stars 87 forks source link

TextInputLayout not working #44

Open saffull opened 7 years ago

saffull commented 7 years ago

Hello does your Layout supports scalable TextInput Layout..? if yes.. plse help

ssomai commented 7 years ago

Hello. For now, ScalableLayout couldn't support scalable views in TextInputLayout, because present ScalableLayout can control child views directly belonged.

I think it necessary that ScalableLayout can scalable all descendant views. Thank you for your interest. 👍

saffull commented 7 years ago

so only ordinary edittext can be used right..? is there anyother think that can be used like textinputlayout.. ?

ssomai commented 7 years ago

Yes, that's right. I'll implement that feature, as soon as, then notice to you and this issue.

saffull commented 7 years ago

okay thanksss....

ssomai commented 7 years ago

Sorry for the bad news. I figured out that every ViewGroup can layout or control directly belonged child Views, because the class of LayoutParams of each child Views is the class of LayoutParams of parent ViewGroup.

For example,

<ScalableLayout>   <TextInputLayout>     <EditText/>   </TextInputLayout> </ScalableLayout>

The class of LayoutParams of the EditText is LinearLayout.LayoutParams. So I can't get any other params or attributes for ScalableLayout.

I'll search more information for this issue, Thank you for your interest.

saffull commented 7 years ago

One more thing..!! does it supports toogle button and all its functions when it is written programatically..?