Skip to content
Open
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
102 changes: 94 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,104 @@
# WeeklyChallengeOne
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center"
android:layout_centerHorizontal="true"


This project contains bugs and errors. You have to solely fix them up and find the best possible way to make the application run.
tools:context="com.example.android.practice.MainActivity">

After you have successfully fixed it, you have to materialize it :smiley:. Use your creativity and showcase it in #showcase channel.

<TextView

When you have fixed the errors just send a Pull Request to this GitHub repo.
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"
android:text="@string/Constraint_Layout"
android:textSize="30sp"

android:layout_marginTop="10dp"
/>
<TextView

## Where are the errors :
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"
android:text="@string/Linear_Layout"
android:textSize="30sp"

Errors are in `MainActivity.java` and `row_layout.xml`
android:layout_marginTop="10dp"
/>
<TextView

After removing the bugs the application will look like this :
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"
android:text="@string/Relative_Layout"
android:textSize="30sp"

android:layout_marginTop="10dp"
/>
<TextView

<img src = "https://i.imgur.com/DfIu4Aq.png" width=350>
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"
android:text="@string/Card_View"
android:textSize="30sp"

android:layout_marginTop="10dp"
/>
<TextView

android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"
android:text="@string/Scroll_View"
android:textSize="30sp"

android:layout_marginTop="10dp"
/>

<TextView

android:layout_width="wrap_content"
android:layout_height="match_parent"
android:textStyle="bold"
android:textColor="#000000"

android:text="@string/Grid_View"
android:textSize="30sp"

android:layout_marginTop="10dp"
/>

</LinearLayout>




//for main.xml
package com.example.android.practice;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);


}
}