This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bundle arguments = new Bundle(); | |
arguments.putString(DashboardDetailFragment.ARG_ITEM_ID, id); | |
DashboardDetailFragment dDf = new DashboardDetailFragment(); | |
dDf.setArguments(arguments); | |
getSupportFragmentManager().beginTransaction() | |
.setCustomAnimations(R.anim.abc_fade_in,R.anim.abc_fade_out) | |
.replace(R.id.item_detail_container, dDf) | |
.commit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//You need to change this to your package | |
package com.example.xxx; | |
import android.app.Activity; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.graphics.Canvas; | |
import android.graphics.Paint; | |
import android.graphics.Typeface; | |
import android.graphics.drawable.BitmapDrawable; |
NewerOlder