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

Problems with LinearLayout weights #36

Open
suchoX opened this issue Mar 5, 2017 · 0 comments
Open

Problems with LinearLayout weights #36

suchoX opened this issue Mar 5, 2017 · 0 comments

Comments

@suchoX
Copy link

suchoX commented Mar 5, 2017

If we place two FButtons in a linearlayout using weights as mentioned below, pressing one button gets creates a minor Button-press animation on the other button as well.


<info.hoang8f.widget.FButton
android:id="@+id/no_button"
android:layout_width="0dp"
android:layout_height="100dp"
android:layout_weight="1"
android:text="@string/no"
android:textColor="@color/white"
android:textSize="30sp"
app:buttonColor="@color/button2"
android:layout_margin="10dp"/>

  <info.hoang8f.widget.FButton
      android:id="@+id/yes_button"
      android:layout_width="0dp"
      android:layout_height="100dp"
      android:layout_weight="1"
      android:text="@string/yes"
      android:textSize="30sp"
      android:textColor="@color/white"
      app:buttonColor="@color/button1"
      android:layout_margin="10dp"/>
</LinearLayout>
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

1 participant