Cosmetics.
This commit is contained in:
parent
ed627d416e
commit
8aac467f7d
6 changed files with 24 additions and 0 deletions
|
@ -20,6 +20,10 @@ package org.linphone.ui;
|
|||
|
||||
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public interface AddressAware {
|
||||
|
||||
void setAddressWidget(AddressText address);
|
||||
|
|
|
@ -24,6 +24,10 @@ import android.content.Context;
|
|||
import android.util.AttributeSet;
|
||||
import android.widget.EditText;
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public class AddressText extends EditText implements AddressType {
|
||||
|
||||
private String displayedName;
|
||||
|
|
|
@ -30,6 +30,10 @@ import android.view.View.OnClickListener;
|
|||
import android.widget.ImageButton;
|
||||
import android.widget.Toast;
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public class CallButton extends ImageButton implements OnClickListener, AddressAware {
|
||||
|
||||
private AddressText mAddress;
|
||||
|
|
|
@ -24,6 +24,10 @@ import org.linphone.ui.ToggleImageButton.OnCheckedChangeListener;
|
|||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public class MuteMicButton extends ToggleImageButton implements OnCheckedChangeListener {
|
||||
|
||||
public MuteMicButton(Context context, AttributeSet attrs) {
|
||||
|
|
|
@ -30,6 +30,10 @@ import android.view.View;
|
|||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public class Numpad extends LinearLayout implements AddressAware {
|
||||
|
||||
public Numpad(Context context, AttributeSet attrs) {
|
||||
|
|
|
@ -24,6 +24,10 @@ import org.linphone.ui.ToggleImageButton.OnCheckedChangeListener;
|
|||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
/**
|
||||
* @author Guillaume Beraudo
|
||||
*
|
||||
*/
|
||||
public class SpeakerButton extends ToggleImageButton implements OnCheckedChangeListener {
|
||||
|
||||
public SpeakerButton(Context context, AttributeSet attrs) {
|
||||
|
|
Loading…
Reference in a new issue