You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
api-impl: stubs and fixes for Breezy Weather
This commit is contained in:
@@ -2,6 +2,7 @@ package android.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.PorterDuff;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
@@ -75,4 +76,8 @@ public abstract class CompoundButton extends Button implements Checkable {
|
||||
|
||||
@Override
|
||||
public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) {}
|
||||
|
||||
public PorterDuff.Mode getButtonTintMode() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,4 +13,7 @@ public class RatingBar extends AbsSeekBar {
|
||||
super(context, attributeSet);
|
||||
}
|
||||
|
||||
public void setRating(float rating) {
|
||||
setProgress((int)rating);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user