Skip to content

Conversation

@sebapitur
Copy link

couldn't change button color with 'android:background="@color/blue" and
number of stars with "android:numStars="4""

Copy link
Owner

@magdamiu magdamiu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked

android:orientation="vertical"
tools:context=".MainActivity">

<LinearLayout
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider formatting the code before it is sent for review

buttonDisplayGreetings.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
buttonDisplayGreetings.setOnClickListener(view -> {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please clean up the empty lines before sending the code for review. A good reference about this topic plus many more is the book Clean Code

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

Successfully merging this pull request may close these issues.

2 participants