Skip to content

Curs 2 cc 1#10

Open
sebapitur wants to merge 6 commits into
magdamiu:mainfrom
sebapitur:curs-2-cc-1
Open

Curs 2 cc 1#10
sebapitur wants to merge 6 commits into
magdamiu:mainfrom
sebapitur:curs-2-cc-1

Conversation

@sebapitur

Copy link
Copy Markdown

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

@magdamiu magdamiu left a comment

Copy link
Copy Markdown
Owner

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
Copy Markdown
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
Copy Markdown
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