Commit 23b19058 authored by Preetam Ozarde's avatar Preetam Ozarde

Merge branch 'master' of https://github.com/wncc/InstiApp into nss

parents f05521e9 eb245a15
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-28-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Run Lint
command: ./gradlew lint
- store_artifacts:
path: app/build/reports
destination: reports
...@@ -5,6 +5,9 @@ InstiApp ...@@ -5,6 +5,9 @@ InstiApp
All IITB content in one place. InstiApp is the result of WnCC's coordinated efforts to build an application that makes it easier to discover IITB content on the go. All IITB content in one place. InstiApp is the result of WnCC's coordinated efforts to build an application that makes it easier to discover IITB content on the go.
InstiApp features the Placement Blog, Upcoming Events and general information on every active club/body in the Institute InstiApp features the Placement Blog, Upcoming Events and general information on every active club/body in the Institute
[![CircleCI](https://circleci.com/gh/wncc/InstiApp/tree/master.svg?style=shield)](https://circleci.com/gh/wncc/InstiApp/tree/master)
[![GitHub license](https://img.shields.io/github/license/wncc/InstiApp.svg)](https://github.com/wncc/InstiApp/blob/master/LICENSE.md)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7807da12fc174c3da45ad538ebc170d3)](https://www.codacy.com/app/wncc/InstiApp?utm_source=github.com&utm_medium=referral&utm_content=wncc/InstiApp&utm_campaign=Badge_Grade)
### Features: ### Features:
* Events Directory * Events Directory
...@@ -26,7 +29,7 @@ Check http://github.com/wncc for more information about all development activiti ...@@ -26,7 +29,7 @@ Check http://github.com/wncc for more information about all development activiti
Development Development
----------- -----------
Read the [Development Documentation](https://iitbapp1.docs.apiary.io/). Read the [API Documentation](https://wncc.github.io/IITBapp/).
See the [Frontend Design](https://drive.google.com/open?id=1YJRUvsyqR5QtfWYug_PoBJ08p-criCPo). See the [Frontend Design](https://drive.google.com/open?id=1YJRUvsyqR5QtfWYug_PoBJ08p-criCPo).
......
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
manifestPlaceholders 'appAuthRedirectScheme': 'https' manifestPlaceholders 'appAuthRedirectScheme': 'https'
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 28
versionCode 18 versionCode 20
versionName "1.0.12-beta2" versionName "1.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
......
...@@ -30,6 +30,7 @@ import android.widget.Toast; ...@@ -30,6 +30,7 @@ import android.widget.Toast;
import com.google.gson.Gson; import com.google.gson.Gson;
import java.io.Serializable;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -184,6 +185,7 @@ public class BodyFragment extends BackHandledFragment { ...@@ -184,6 +185,7 @@ public class BodyFragment extends BackHandledFragment {
if (!body.equals(min_body)) bodyDisplayed = true; if (!body.equals(min_body)) bodyDisplayed = true;
TextView bodyName = (TextView) getView().findViewById(R.id.body_name); TextView bodyName = (TextView) getView().findViewById(R.id.body_name);
TextView bodySubtitle = getView().findViewById(R.id.body_subtitle);
TextView bodyDescription = (TextView) getView().findViewById(R.id.body_description); TextView bodyDescription = (TextView) getView().findViewById(R.id.body_description);
bodyPicture = (ImageView) getActivity().findViewById(R.id.body_picture); bodyPicture = (ImageView) getActivity().findViewById(R.id.body_picture);
ImageButton webBodyButton = getActivity().findViewById(R.id.web_body_button); ImageButton webBodyButton = getActivity().findViewById(R.id.web_body_button);
...@@ -198,6 +200,7 @@ public class BodyFragment extends BackHandledFragment { ...@@ -198,6 +200,7 @@ public class BodyFragment extends BackHandledFragment {
/* Set body information */ /* Set body information */
bodyName.setText(body.getBodyName()); bodyName.setText(body.getBodyName());
bodySubtitle.setText(body.getBodyShortDescription());
Utils.loadImageWithPlaceholder(bodyPicture, body.getBodyImageURL()); Utils.loadImageWithPlaceholder(bodyPicture, body.getBodyImageURL());
bodyPicture.setOnClickListener(new View.OnClickListener() { bodyPicture.setOnClickListener(new View.OnClickListener() {
......
package app.insti.fragment;
public class DataFragment {
}
...@@ -11,8 +11,7 @@ ...@@ -11,8 +11,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="#000000" android:textColor="#000000"
android:textSize="22sp" android:textSize="24sp" />
android:textStyle="bold" />
<TextView <TextView
android:id="@+id/post_published" android:id="@+id/post_published"
...@@ -23,7 +22,7 @@ ...@@ -23,7 +22,7 @@
android:id="@+id/post_content" android:id="@+id/post_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="4dp"
android:textColor="#000000" android:textColor="#000000"
android:textColorLink="@color/colorPrimary" /> android:textColorLink="@color/colorPrimary" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -92,6 +92,12 @@ ...@@ -92,6 +92,12 @@
android:src="@drawable/ic_menu_share" android:src="@drawable/ic_menu_share"
android:tint="@color/colorWhite" /> android:tint="@color/colorWhite" />
</LinearLayout> </LinearLayout>
<TextView
android:id="@+id/body_subtitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/colorWhite" />
</LinearLayout> </LinearLayout>
</android.support.v7.widget.CardView> </android.support.v7.widget.CardView>
...@@ -132,6 +138,7 @@ ...@@ -132,6 +138,7 @@
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:textColor="#333" android:textColor="#333"
android:textColorLink="@color/colorPrimary"
android:textSize="16sp" /> android:textSize="16sp" />
<TextView <TextView
......
...@@ -206,6 +206,7 @@ ...@@ -206,6 +206,7 @@
android:layout_marginStart="10dp" android:layout_marginStart="10dp"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:textColor="#333" android:textColor="#333"
android:textColorLink="@color/colorPrimary"
android:textSize="16sp" /> android:textSize="16sp" />
<android.support.v7.widget.RecyclerView <android.support.v7.widget.RecyclerView
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment