Skip to content

Commit

Permalink
Modified home page and changed app icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Priyanka-Sachan committed Dec 9, 2019
1 parent 81ba0b7 commit 28dacfb
Show file tree
Hide file tree
Showing 29 changed files with 217 additions and 253 deletions.
9 changes: 6 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<application
android:allowBackup="true"
android:icon="@mipmap/celesta_icon_round"
android:icon="@mipmap/ic_anwesha_round"
android:label="@string/app_name"
android:roundIcon="@mipmap/celesta_icon_round"
android:roundIcon="@mipmap/ic_anwesha_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
Expand Down Expand Up @@ -46,6 +46,9 @@
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="@string/default_notification_channel_id" />
</service>
</application>
<meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
</application>

</manifest>
8 changes: 4 additions & 4 deletions app/src/main/java/info/anwesha/iitp/about/AboutFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
github4.setOnClickListener(this);

Glide.with(context).load("https://scontent.fdel29-1.fna.fbcdn.net/v/t1.0-9/61836104_1185350021642288_3218647400700706816_n.jpg?_nc_cat=102&_nc_oc=AQks_Avrh-QmlQFcHGi2ug38TMWNY4xy6qpFT8fxfz451NDS3ahAIUOVwKIbn-O6KmE&_nc_ht=scontent.fdel29-1.fna&oh=ba5d514048981767bdc4b4c909b6708a&oe=5E35BDD7")
.placeholder(R.mipmap.celesta_icon_round).into(image1);
.placeholder(R.mipmap.ic_anwesha_round).into(image1);

Glide.with(context).load("https://scontent.fdel29-1.fna.fbcdn.net/v/t1.0-9/69644261_2115104492128356_6176772960083247104_n.jpg?_nc_cat=107&_nc_oc=AQk4WEUseafFdQvhhWhu0YFH6_9o8nBkkjTU7UJPzeK0NPWeppaKVIVUMtJUAGIZ6Yk&_nc_ht=scontent.fdel29-1.fna&oh=818707c46121857a62041b44ed4bd17c&oe=5DF2FCE3")
.placeholder(R.mipmap.celesta_icon_round).into(image2);
.placeholder(R.mipmap.ic_anwesha_round).into(image2);

Glide.with(context).load("https://scontent.fdel29-1.fna.fbcdn.net/v/t1.0-9/18813995_1182737558521894_2753272857627730485_n.jpg?_nc_cat=101&_nc_oc=AQlG0F8XVl3PnNTA1LnzMcfZ3p4cElt7WOpCtOADvw6N7eQcw-97L2RhxGWq-T2VDGk&_nc_ht=scontent.fdel29-1.fna&oh=70217968ca8de55d0a842ceac8ab8f41&oe=5E3796AA")
.placeholder(R.mipmap.celesta_icon_round).into(image3);
.placeholder(R.mipmap.ic_anwesha_round).into(image3);

Glide.with(context).load("https://scontent.fdel29-1.fna.fbcdn.net/v/t1.0-9/33490969_969879943175001_7316512759087104000_n.jpg?_nc_cat=105&_nc_oc=AQn_AxS6IX1lXlZZyVmn8sBqsAwQuU69Qg3VmDV65xgAmC_J9_zHJ5AkbPWEccCVU3A&_nc_ht=scontent.fdel29-1.fna&oh=871245e026dcfd1041ed75995ebe9deb&oe=5DF6A107")
.placeholder(R.mipmap.celesta_icon_round).into(image4);
.placeholder(R.mipmap.ic_anwesha_round).into(image4);


super.onViewCreated(view, savedInstanceState);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/info/anwesha/iitp/home/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private void populateHeaderView() {
Glide.with(this)
.load(prefs.getString("qr_code", ""))
.centerCrop()
.placeholder(R.mipmap.celesta_icon_round)
.placeholder(R.mipmap.ic_anwesha_round)
.into(profileImage);
profileImage.setOnClickListener(view -> startActivity(new Intent(MainActivity.this, LoginRegisterActivity.class)));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private void sendNotification(String title, String body, Bitmap image, String li
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, intent, PendingIntent.FLAG_ONE_SHOT);

NotificationCompat.Builder notificationBuilder = new NotificationCompat.Builder(this, getString(R.string.default_notification_channel_id))
.setSmallIcon(R.mipmap.celesta_icon_round)
.setSmallIcon(R.mipmap.ic_anwesha_round)
.setContentTitle(title)
.setContentText(body)
.setAutoCancel(true)
Expand Down
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.
Binary file added app/src/main/res/drawable/ic_events2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_gallery2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_pronite2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_scircle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_special2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_sponsor2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable/ic_team2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions app/src/main/res/drawable/semi_circle.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:bottom="-55dp">
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval"
android:useLevel="false">
<solid android:color="#000000" />
<size
android:width="60dp"
android:height="60dp" />
</shape>
</item>
</layer-list>
7 changes: 7 additions & 0 deletions app/src/main/res/font/.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:app="http://schemas.android.com/apk/res-auto"
app:fontProviderAuthority="com.google.android.gms.fonts"
app:fontProviderPackage="com.google.android.gms"
app:fontProviderQuery="Architects Daughter"
app:fontProviderCerts="@array/com_google_android_gms_fonts_certs">
</font-family>
Binary file added app/src/main/res/font/architects_daughter.ttf
Binary file not shown.
Loading

0 comments on commit 28dacfb

Please sign in to comment.