Skip to content

Commit

Permalink
Put the proper app icon in place
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo committed Aug 23, 2016
1 parent adfc382 commit 5ea8565
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
Expand Down
Binary file added app/src/main/ic_launcher-web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void onClick(View v) {
public void onClick(View v) {

ImageView imageView = new ImageView(MainActivity.this);
imageView.setImageResource(R.drawable.ic_launcher);
imageView.setImageResource(R.drawable.ic_logo);
LinearLayout.LayoutParams llp = new LinearLayout.LayoutParams(
getResources().getDimensionPixelSize(R.dimen.square_size),
getResources().getDimensionPixelSize(R.dimen.square_size));
Expand All @@ -107,7 +107,7 @@ public void onClick(View v) {
physicsLayout.addView(imageView);
Picasso.with(MainActivity.this)
.load("http://lorempixel.com/200/200/cats/" + ((catIndex % 10) + 1))
.placeholder(R.drawable.ic_launcher)
.placeholder(R.drawable.ic_logo)
.into(imageView);
catIndex++;
}
Expand All @@ -119,7 +119,7 @@ public void onClick(View v) {
imageView.setId(i);
Picasso.with(this)
.load("http://lorempixel.com/200/200/cats/" + (i + 1))
.placeholder(R.drawable.ic_launcher)
.placeholder(R.drawable.ic_logo)
.into(imageView);
}
catIndex = physicsLayout.getChildCount();
Expand Down
10 changes: 5 additions & 5 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
android:layout_width="@dimen/square_size"
android:layout_height="@dimen/square_size"
android:layout_gravity="left"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_logo" />

<ImageView
android:layout_width="@dimen/square_size"
android:layout_height="@dimen/square_size"
android:layout_gravity="right"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_logo" />

<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/circle"
Expand All @@ -49,19 +49,19 @@
android:layout_gravity="center"
app:layout_shape="circle"
app:layout_bodyType="dynamic"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_logo" />

<ImageView
android:layout_width="@dimen/square_size"
android:layout_height="@dimen/square_size"
android:layout_gravity="bottom|left"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_logo" />

<ImageView
android:layout_width="@dimen/square_size"
android:layout_height="@dimen/square_size"
android:layout_gravity="bottom|right"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_logo" />


</com.jawnnypoo.physicslayout.PhysicsFrameLayout>
Expand Down
Binary file added app/src/main/res/mipmap-hdpi/ic_launcher.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/mipmap-mdpi/ic_launcher.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/mipmap-xhdpi/ic_launcher.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/mipmap-xxhdpi/ic_launcher.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/mipmap-xxxhdpi/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5ea8565

Please sign in to comment.