Back to project page android-camera-api.
The source code is released under:
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a co...
If you think the Android project android-camera-api listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tanukiteam.camera.widget; /*from w w w. j ava 2 s . co m*/ import com.tanukiteam.camera.R; import android.content.Context; import android.util.AttributeSet; import android.widget.Button; public class ConfirmButton extends Button{ public ConfirmButton(Context context) { super(context); setBackgroundResource(R.drawable.btn_confirm); this.setTextAppearance(context, R.style.ConfirmButton); } public ConfirmButton(Context context, AttributeSet attrs) { super(context, attrs); this.setBackgroundResource(R.drawable.btn_confirm); this.setTextAppearance(context, R.style.ConfirmButton); } public ConfirmButton(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); this.setBackgroundResource(R.drawable.btn_confirm); this.setTextAppearance(context, R.style.ConfirmButton); } }