Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.magdamiu.androidfundamentalsmai2021;
package com.example.helloandroid;

import androidx.appcompat.app.AppCompatActivity;

Expand All @@ -11,9 +11,8 @@ public class MainActivity extends AppCompatActivity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

Log.e("tag-error", "my first error log");
Log.v("tag-verbose", "my first verbose log");
Log.w("tag-warning", "my first warning log");
}
}
}
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/hello_world_from_android"
android:text="@string/happy_birthday_to_andreea"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
6 changes: 3 additions & 3 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<string name="app_name">Curs Android Fundamentals</string>
<string name="hello_world_from_android">Hello World from Android!</string>
</resources>
<string name="app_name">HelloAndroid</string>
<string name="happy_birthday_to_andreea">Happy Birthday to Andreea!</string>
</resources>