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

Center icon of the send msg button #4

Open
aleexgheorghe opened this issue Jan 26, 2023 · 0 comments
Open

Center icon of the send msg button #4

aleexgheorghe opened this issue Jan 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aleexgheorghe
Copy link
Collaborator

Temporary solution proposed (res/layout/activity_chat.xml:55):

    <Button
        android:id="@+id/btnSendMsg"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_marginStart="8dp"
        android:layout_weight="9"
        android:gravity="center_horizontal"
        android:paddingStart="20dp"
        android:background="@drawable/msg_bar_send"
        android:isScrollContainer="false"
        app:backgroundTint="#09a984"
        app:icon="@drawable/baseline_send_24" />

It is not correct to center a button with a paddinStart, we should check a much more optimal solution.

@aleexgheorghe aleexgheorghe added the enhancement New feature or request label Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant