Skip to content

Conversation

codebu5ter
Copy link

Fixes #2

I've also Reformatted Code of activity_register.xml to make it more readable.

android:layout_height="0dp"
android:layout_weight="1"
android:hint="name"
android:layout_marginRight="20dp"
Copy link

@therealshabi therealshabi Oct 3, 2017

Choose a reason for hiding this comment

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

MarginRight and MarginLeft is deprecated now, use marginStart and marginEnd instead

Copy link
Author

Choose a reason for hiding this comment

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

@therealshabi Did the required changes.

android:layout_marginRight="20dp"
app:met_textColorHint="#bdbdbd"
android:layout_weight="1"
android:hint="enrollment number(only for JIIT students)"

Choose a reason for hiding this comment

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

Add all the hardcoded Strings in the strings.xml file and use from there



<RadioButton
android:id="@+id/hosteller"

Choose a reason for hiding this comment

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

id should be like rb_hosteller, hosteller does not imply that this is a radioButton

Copy link

@therealshabi therealshabi left a comment

Choose a reason for hiding this comment

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

Review and resolve the PR comments (Recommended but not necessary)

@codebu5ter
Copy link
Author

@therealshabi Done all the changes, as requested.

Copy link

@therealshabi therealshabi left a comment

Choose a reason for hiding this comment

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

PR Comments Resolved

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