Skip to content

Commit

Permalink
feat:Modified home page and app icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanka-Sachan committed Dec 17, 2019
1 parent 28dacfb commit aea0160
Show file tree
Hide file tree
Showing 23 changed files with 203 additions and 50 deletions.
Binary file modified app/src/main/res/drawable/back.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#FFF59D"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,12m-10,0a10,10 0,1 1,20 0a10,10 0,1 1,-20 0"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_events2.jpg
Binary file not shown.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_events2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#795548"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#B71C1C" android:pathData="M19,3h-1L18,1h-2v2L8,3L8,1L6,1v2L5,3c-1.11,0 -1.99,0.9 -1.99,2L3,19c0,1.1 0.89,2 2,2h14c1.1,0 2,-0.9 2,-2L21,5c0,-1.1 -0.9,-2 -2,-2zM19,19L5,19L5,8h14v11zM7,10h5v5L7,15z"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_gallery2.jpg
Binary file not shown.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_gallery2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#795548"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFF59D" android:pathData="M22,16L22,4c0,-1.1 -0.9,-2 -2,-2L8,2c-1.1,0 -2,0.9 -2,2v12c0,1.1 0.9,2 2,2h12c1.1,0 2,-0.9 2,-2zM11,12l2.03,2.71L16,11l4,5L8,16l3,-4zM2,6v14c0,1.1 0.9,2 2,2h14v-2L4,20L4,6L2,6z"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_pronite2.jpg
Binary file not shown.
12 changes: 12 additions & 0 deletions app/src/main/res/drawable/ic_pronite2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<vector android:height="24dp" android:viewportHeight="24"
android:viewportWidth="24" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FFF59D"
android:pathData="M12,12m-10,0a10,10 0,1 1,20 0a10,10 0,1 1,-20 0"
android:strokeColor="#795548" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="1"/>
<path android:fillColor="#795548"
android:pathData="M18,12l-9,4.9l0,-9.9z"
android:strokeColor="#795548" android:strokeLineCap="round"
android:strokeLineJoin="round" android:strokeWidth="1"/>

</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#795548"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.42,0 -8,-3.58 -8,-8s3.58,-8 8,-8 8,3.58 8,8 -3.58,8 -8,8z"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_special2.jpg
Binary file not shown.
8 changes: 8 additions & 0 deletions app/src/main/res/drawable/ic_special2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!-- drawable/calendar_star.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:width="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path android:fillColor="#795548" android:pathData="M19,20H5V9H19M16,2V4H8V2H6V4H5A2,2 0 0,0 3,6V20A2,2 0 0,0 5,22H19A2,2 0 0,0 21,20V6A2,2 0 0,0 19,4H18V2M10.88,13H7.27L10.19,15.11L9.08,18.56L12,16.43L14.92,18.56L13.8,15.12L16.72,13H13.12L12,9.56L10.88,13Z" />
</vector>
Binary file removed app/src/main/res/drawable/ic_sponsor2.jpg
Binary file not shown.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_sponsor2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#795548"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM13.41,18.09L13.41,20h-2.67v-1.93c-1.71,-0.36 -3.16,-1.46 -3.27,-3.4h1.96c0.1,1.05 0.82,1.87 2.65,1.87 1.96,0 2.4,-0.98 2.4,-1.59 0,-0.83 -0.44,-1.61 -2.67,-2.14 -2.48,-0.6 -4.18,-1.62 -4.18,-3.67 0,-1.72 1.39,-2.84 3.11,-3.21L10.74,4h2.67v1.95c1.86,0.45 2.79,1.86 2.85,3.39L14.3,9.34c-0.05,-1.11 -0.64,-1.87 -2.22,-1.87 -1.5,0 -2.4,0.68 -2.4,1.64 0,0.84 0.65,1.39 2.67,1.91s4.18,1.39 4.18,3.91c-0.01,1.83 -1.38,2.83 -3.12,3.16z"/>
</vector>
Binary file removed app/src/main/res/drawable/ic_team2.jpg
Binary file not shown.
5 changes: 5 additions & 0 deletions app/src/main/res/drawable/ic_team2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#795548"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#795548" android:pathData="M16.5,13c-1.2,0 -3.07,0.34 -4.5,1 -1.43,-0.67 -3.3,-1 -4.5,-1C5.33,13 1,14.08 1,16.25L1,19h22v-2.75c0,-2.17 -4.33,-3.25 -6.5,-3.25zM12.5,17.5h-10v-1.25c0,-0.54 2.56,-1.75 5,-1.75s5,1.21 5,1.75v1.25zM21.5,17.5L14,17.5v-1.25c0,-0.46 -0.2,-0.86 -0.52,-1.22 0.88,-0.3 1.96,-0.53 3.02,-0.53 2.44,0 5,1.21 5,1.75v1.25zM7.5,12c1.93,0 3.5,-1.57 3.5,-3.5S9.43,5 7.5,5 4,6.57 4,8.5 5.57,12 7.5,12zM7.5,6.5c1.1,0 2,0.9 2,2s-0.9,2 -2,2 -2,-0.9 -2,-2 0.9,-2 2,-2zM16.5,12c1.93,0 3.5,-1.57 3.5,-3.5S18.43,5 16.5,5 13,6.57 13,8.5s1.57,3.5 3.5,3.5zM16.5,6.5c1.1,0 2,0.9 2,2s-0.9,2 -2,2 -2,-0.9 -2,-2 0.9,-2 2,-2z"/>
</vector>
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/semi_circle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval"
android:useLevel="false">
<solid android:color="#000000" />
<solid android:color="#3E2723" />
<size
android:width="60dp"
android:height="60dp" />
Expand Down
Binary file removed app/src/main/res/font/architects_daughter.ttf
Binary file not shown.
Binary file added app/src/main/res/font/arizonia.ttf
Binary file not shown.
Binary file added app/src/main/res/font/geostar.ttf
Binary file not shown.
190 changes: 143 additions & 47 deletions app/src/main/res/layout/fragment_home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,159 +21,255 @@
android:layout_height="match_parent"
android:scaleType="centerCrop"
android:src="@drawable/back" />
<ImageView
android:layout_width="400dp"
android:layout_height="400dp"
android:src="@drawable/semi_circle"
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Anwesha"
android:fontFamily="@font/arizonia"
android:textSize="100sp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/>

app:layout_constraintBottom_toTopOf="@id/motto" />
<TextView
android:id="@+id/motto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="anwesha"
android:text="Think.Dream.Live."
android:fontFamily="@font/geostar"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/center_view"
android:src="@drawable/ic_scircle"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
tools:ignore="MissingConstraints"/>
<ImageView
android:id="@+id/semi_circle"
android:src="@drawable/semi_circle"
android:layout_width="210dp"
android:layout_height="210dp"
android:layout_weight="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
tools:ignore="MissingConstraints"/>

<TextView
android:id="@+id/iit_patna"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/geostar"
android:text="IIT PATNA"
android:textColor="@color/white"
android:textSize="25sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
tools:ignore="MissingConstraints" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:fontFamily="@font/arizonia"
android:text="Organized By:"
android:textColor="@color/white"
android:textSize="25sp"
app:layout_constraintBottom_toTopOf="@id/iit_patna"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
tools:ignore="MissingConstraints" />

<ImageView
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="279"
tools:ignore="MissingConstraints" />

<ImageView
android:id="@+id/main_team_ll"
android:src="@drawable/ic_team2"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="279"
tools:ignore="MissingConstraints" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Team"
android:textColor="#ffffff"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_team_ll"
app:layout_constraintRight_toRightOf="@id/main_team_ll"
app:layout_constraintTop_toBottomOf="@id/main_team_ll" />
<ImageView
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="81"
tools:ignore="MissingConstraints" />

<ImageView
android:id="@+id/main_sponsor_ll"
android:src="@drawable/ic_sponsor2"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="81"
tools:ignore="MissingConstraints" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Sponsor"
android:textColor="#ffffff"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_sponsor_ll"
app:layout_constraintRight_toRightOf="@id/main_sponsor_ll"
app:layout_constraintTop_toBottomOf="@id/main_sponsor_ll" />
<ImageView
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="311"
tools:ignore="MissingConstraints" />
<ImageView
android:id="@+id/main_gallery_ll"
android:src="@drawable/ic_gallery2"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="311"
tools:ignore="MissingConstraints" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Gallery"
android:textColor="#ffffff"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_gallery_ll"
app:layout_constraintRight_toRightOf="@id/main_gallery_ll"
app:layout_constraintTop_toBottomOf="@id/main_gallery_ll" />
<ImageView
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
android:src="@drawable/ic_circle"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleAngle="49"
app:layout_constraintCircleRadius="@dimen/menu_radii"
tools:ignore="MissingConstraints"/>

<ImageView
android:id="@+id/main_special_ll"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
android:src="@drawable/ic_special2"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleAngle="49"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
tools:ignore="MissingConstraints"/>

<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Special"
android:textColor="#ffffff"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_special_ll"
app:layout_constraintRight_toRightOf="@id/main_special_ll"
app:layout_constraintTop_toBottomOf="@id/main_special_ll" />
<ImageView
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="343"
tools:ignore="MissingConstraints" />
<ImageView
android:id="@+id/main_event_ll"
android:src="@drawable/ic_events2"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="343"
tools:ignore="MissingConstraints" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Events"
android:textColor="#ffffff"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_event_ll"
app:layout_constraintRight_toRightOf="@id/main_event_ll"
app:layout_constraintTop_toBottomOf="@id/main_event_ll" />
<ImageView
android:src="@drawable/ic_circle"
android:layout_width="@dimen/c_width"
android:layout_height="@dimen/c_height"
android:layout_weight="1"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleRadius="@dimen/menu_radii"
app:layout_constraintCircleAngle="17"
tools:ignore="MissingConstraints" />
<ImageView
android:id="@+id/main_pronite_ll"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_width="@dimen/ic_width"
android:layout_height="@dimen/ic_height"
android:layout_weight="1"
android:src="@drawable/ic_pronite2"
app:layout_constraintCircle="@id/center_view"
app:layout_constraintCircleAngle="17"
app:layout_constraintCircleRadius="150dp"
app:layout_constraintCircleRadius="@dimen/menu_radii"
tools:ignore="MissingConstraints" />

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/architects_daughter"
android:fontFamily="@font/arizonia"
android:text="Pronite"
android:textColor="#FFFFFF"
android:textSize="15sp"
android:textColor="@color/brown"
android:textSize="@dimen/mi_text_size"
app:layout_constraintLeft_toLeftOf="@id/main_pronite_ll"
app:layout_constraintRight_toRightOf="@id/main_pronite_ll"
app:layout_constraintTop_toBottomOf="@id/main_pronite_ll" />
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<color name="darkGray">#888888</color>
<color name="medBlue">#4eb8dd</color>
<color name="silver">#C0C0C0</color>
<color name="brown">#BF360C</color>

<color name="event_card_background">#55738485</color>

Expand Down
6 changes: 6 additions & 0 deletions app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
<resources>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="nav_header_height">176dp</dimen>
<dimen name="ic_width">60dp</dimen>
<dimen name="ic_height">60dp</dimen>
<dimen name="menu_radii">150dp</dimen>
<dimen name="mi_text_size">17sp</dimen>
<dimen name="c_height">80dp</dimen>
<dimen name="c_width">80dp</dimen>
</resources>
Loading

0 comments on commit aea0160

Please sign in to comment.