Back to project page PlanningPokerPlusPlus.
The source code is released under:
Planning Poker++ for Android, copyright (c) 2011-2014 Richard Everett No specific license, but please don't rip off this codebase for use in your own similar app.
If you think the Android project PlanningPokerPlusPlus listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
// Planning Poker++ for Android, copyright (c) Richard Everett 2012 // Full source available on GitHub at http://richev.github.com/PlanningPokerPlusPlus // w w w . j ava 2 s. c om package com.richev.planningpokerplusplus; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.widget.TextView; /** * A TextView that has been rotated 180 degrees * * @author Rich * */ public class UpsideDownTextView extends TextView { // The below two constructors appear to be required public UpsideDownTextView(Context context) { super(context); } public UpsideDownTextView(Context context, AttributeSet attrs) { super(context, attrs); } @Override public void onDraw(Canvas canvas) { Utils.RotateCanvasUpsideDown(this, canvas); // draw the text with the matrix applied. super.onDraw(canvas); // restore the old matrix. canvas.restore(); } }