Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvshubham7 committed Oct 1, 2021
1 parent d10c372 commit 623e9d0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 97 deletions.
3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_upload.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.107"
tools:listitem="@layout/list_item1_leaderboard" />
tools:listitem="@layout/list_item1_leaderboard_Task_List" />

</androidx.constraintlayout.widget.ConstraintLayout>
109 changes: 14 additions & 95 deletions app/src/main/res/layout/fragment_dashboard.xml
Original file line number Diff line number Diff line change
@@ -1,100 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
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:layout_marginBottom="5dp"
android:layout_marginEnd="12dp"
android:layout_marginStart="12dp"
android:layout_marginTop="5dp"
app:cardCornerRadius="4dp"
app:cardElevation="4dp">

<LinearLayout
android:layout_height="match_parent"
tools:context=".ui.dashboard.DashboardFragment" >
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/leaderBoardRecycleView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="50dp"
android:orientation="vertical"
android:padding="8dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">

<TextView
android:id="@+id/event_title"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginBottom="5dp"
android:layout_weight="1"
android:text="Like Effervescence FB Page"
android:textAppearance="?android:attr/textAppearanceLarge"
android:textColor="@color/black" />

<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">

<ImageView
android:layout_width="15dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_marginEnd="1dp"
android:src="@drawable/add_ic" />

<TextView
android:id="@+id/events_points"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginEnd="2dp"
android:text="50"
android:textColor="@color/black"
android:textSize="20sp"
android:textStyle="bold" />

<TextView
android:id="@+id/point_text_TV"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginEnd="5dp"
android:gravity="top"
android:text="pts"
android:textAppearance="?android:textAppearanceSmall" />

</LinearLayout>

</LinearLayout>

<TextView
android:id="@+id/event_description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="3dp"
android:text="https://www.facebook.com/effervescence.iiita/"
android:textAppearance="?android:textAppearanceSmall" />

<Button
android:id="@+id/upload_button"
android:layout_width="wrap_content"
android:layout_height="36dp"
android:layout_gravity="end"
android:backgroundTint="@color/colorPrimary"
android:drawableStart="@drawable/ic_file_upload"
android:includeFontPadding="false"
android:minWidth="0dp"
android:minHeight="0dp"
android:text="Upload"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="13sp" />

</LinearLayout>
android:layout_height="match_parent"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginTop="30dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
tools:listitem="@layout/list_item1_leaderboard_Task_List" />
</androidx.constraintlayout.widget.ConstraintLayout>
File renamed without changes.

0 comments on commit 623e9d0

Please sign in to comment.