mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
api-impl: misc stubs for K-9 Mail
This makes the non composeUI parts of K-9 Mail mostly functional.
This commit is contained in:
parent
554b4d346a
commit
64c5ebe5b6
14 changed files with 97 additions and 2 deletions
|
@ -5,6 +5,7 @@ import android.content.res.ColorStateList;
|
|||
import android.content.res.TypedArray;
|
||||
import android.graphics.Typeface;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.text.BoringLayout;
|
||||
import android.text.Editable;
|
||||
import android.text.InputFilter;
|
||||
|
@ -371,4 +372,14 @@ public class TextView extends View {
|
|||
public void setCompoundDrawableTintList(ColorStateList tint) {}
|
||||
|
||||
public void setIncludeFontPadding(boolean includePadding) {}
|
||||
|
||||
public float getLineSpacingExtra() {return 0.f;}
|
||||
|
||||
public Bundle getInputExtras(boolean key) {
|
||||
return new Bundle();
|
||||
}
|
||||
|
||||
public void setError(CharSequence error) {
|
||||
System.out.println("ERROR: " + error);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue