Skip to content

Commit

Permalink
Fix for #42 : Change star to "like" while maintaining circular style
Browse files Browse the repository at this point in the history
Change star to "like" while maintaining circular style
  • Loading branch information
Swati4star authored Oct 19, 2016
2 parents 8ebadd9 + 74ce924 commit bfeac30
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 60 deletions.
24 changes: 12 additions & 12 deletions app/src/main/java/nsit/app/com/nsitapp/ChooseFeedItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,18 @@ protected void onCreate(Bundle savedInstanceState) {
CheckBox aagaz = (CheckBox) findViewById(R.id.check_aagaz);


TextView tCollegespace = (TextView) findViewById(R.id.stars_collegespace);
TextView tCrosslinks = (TextView) findViewById(R.id.stars_crosslinks);
TextView tJunoon = (TextView) findViewById(R.id.stars_junoon);
TextView tRotaract = (TextView) findViewById(R.id.stars_rotaract);
TextView tBullet = (TextView) findViewById(R.id.stars_bullethawk);
TextView tCsi = (TextView) findViewById(R.id.stars_csi);
TextView tIeee = (TextView) findViewById(R.id.stars_ieee);
TextView tDeb = (TextView) findViewById(R.id.stars_debsoc);
TextView tQuiz = (TextView) findViewById(R.id.stars_quiz);
TextView tAshwa = (TextView) findViewById(R.id.stars_ashwa);
TextView tEnactus = (TextView) findViewById(R.id.stars_enactus);
TextView tAagaz = (TextView) findViewById(R.id.stars_aagaz);
TextView tCollegespace = (TextView) findViewById(R.id.likes_collegespace);
TextView tCrosslinks = (TextView) findViewById(R.id.likes_crosslinks);
TextView tJunoon = (TextView) findViewById(R.id.likes_junoon);
TextView tRotaract = (TextView) findViewById(R.id.likes_rotaract);
TextView tBullet = (TextView) findViewById(R.id.likes_bullethawk);
TextView tCsi = (TextView) findViewById(R.id.likes_csi);
TextView tIeee = (TextView) findViewById(R.id.likes_ieee);
TextView tDeb = (TextView) findViewById(R.id.likes_debsoc);
TextView tQuiz = (TextView) findViewById(R.id.likes_quiz);
TextView tAshwa = (TextView) findViewById(R.id.likes_ashwa);
TextView tEnactus = (TextView) findViewById(R.id.likes_enactus);
TextView tAagaz = (TextView) findViewById(R.id.likes_aagaz);


SharedPreferences i = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/drawable-hdpi/ic_stars_black_24dp.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/drawable-mdpi/ic_stars_black_24dp.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/drawable-xhdpi/ic_stars_black_24dp.png
Binary file not shown.
48 changes: 24 additions & 24 deletions app/src/main/res/layout-land/activity_choose_feed_items.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_collegespace"
android:id="@+id/likes_collegespace"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -85,7 +85,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -151,7 +151,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_crosslinks"
android:id="@+id/likes_crosslinks"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -167,7 +167,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -232,7 +232,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_csi"
android:id="@+id/likes_csi"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -248,7 +248,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -314,7 +314,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_ieee"
android:id="@+id/likes_ieee"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -330,7 +330,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -403,7 +403,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_ashwa"
android:id="@+id/likes_ashwa"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -419,7 +419,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -481,7 +481,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_junoon"
android:id="@+id/likes_junoon"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -497,7 +497,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -558,7 +558,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_debsoc"
android:id="@+id/likes_debsoc"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -574,7 +574,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -636,7 +636,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_quiz"
android:id="@+id/likes_quiz"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -652,7 +652,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -723,7 +723,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_bullethawk"
android:id="@+id/likes_bullethawk"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -739,7 +739,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -801,7 +801,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_rotaract"
android:id="@+id/likes_rotaract"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -817,7 +817,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -882,7 +882,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_enactus"
android:id="@+id/likes_enactus"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -898,7 +898,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down Expand Up @@ -964,7 +964,7 @@
android:paddingTop="10dp">

<TextView
android:id="@+id/stars_aagaz"
android:id="@+id/likes_aagaz"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
Expand All @@ -980,7 +980,7 @@
android:layout_weight="0.8"
android:adjustViewBounds="true"
android:alpha="0.5"
android:src="@drawable/ic_stars_black_24dp" />
android:src="@drawable/ic_likes_black_24dp" />

<View
android:layout_width="0dp"
Expand Down
Loading

0 comments on commit bfeac30

Please sign in to comment.