mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-29 04:37:58 +03:00
api-impl: import ToggleButton from AOSP, clean up constructors
taken from AOSP master (commit ed8c91e410671fa153f1587f61d05b303bf94f95)
This commit is contained in:
parent
da406ec4c2
commit
bf79a77993
6 changed files with 227 additions and 11 deletions
|
@ -43,7 +43,7 @@ public class TextView extends View {
|
|||
}
|
||||
|
||||
public TextView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
super(context, attrs, defStyleAttr, defStyleRes);
|
||||
|
||||
TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.TextView, defStyleAttr, 0);
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue