Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set match_parent width? #12

Closed
javierpe opened this issue May 23, 2016 · 9 comments
Closed

How to set match_parent width? #12

javierpe opened this issue May 23, 2016 · 9 comments

Comments

@javierpe
Copy link

No description provided.

@javierpe javierpe changed the title How to set match_parent? How to set match_parent width? May 23, 2016
@tangqi92
Copy link
Owner

Hi,

WaveLoadingView extends View, so you can use it like a common view. I mean, you can set it like this

android:layout_width="100dp"
android:layout_height="100dp"

@javierpe
Copy link
Author

Does not work, you still have a fixed size...

@tangqi92
Copy link
Owner

Can you give me see your code?

@javierpe
Copy link
Author

<me.itangqi.waveloadingview.WaveLoadingView
android:id="@+id/waveLoadingView"
android:layout_width="match_parent"
android:layout_gravity="center|top"
android:foregroundGravity="top"
app:wlv_shapeType="rectangle"
android:layout_height="220dp"/>

The width of the view is everything but the wave is limited...

@tangqi92
Copy link
Owner

hi @FranciscoJavierPRamos

It's my fault.

I've updated the latest code, has been updated to version 0.2.2.

You can view the update log.

@javierpe
Copy link
Author

I want to put the maximum width but does not work
captura de pantalla 2016-05-23 a las 9 50 38 a m

@VertexBeat
Copy link

VertexBeat commented May 23, 2016

Have same issues,

tried to use the rectangle to fill my parent view. It just dont wants to change, like the Rectangle is still the square, but dont got the black box above. Tried to change layout-width and even app:wlv_rectangle_width/height ... nothing is changing the appereance.

@tangqi92
Copy link
Owner

tangqi92 commented Jun 7, 2016

Hi @FranciscoJavierPRamos @cabrinhaFx

I have updated the library to version 0.3.0.

I have removed the app:wlv_rectangle_width/height, you can directly change the width/height.

@javierpe
Copy link
Author

javierpe commented Jun 7, 2016

Thanks!! I will try it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants