fix bug of p
This commit is contained in:
@@ -41,6 +41,9 @@ public class TapPositionView extends ConstraintLayout {
|
|||||||
tabN = findViewById(R.id.tap_n);
|
tabN = findViewById(R.id.tap_n);
|
||||||
tabD = findViewById(R.id.tap_d);
|
tabD = findViewById(R.id.tap_d);
|
||||||
typedArray = context.obtainStyledAttributes(attrs, R.styleable.TapPositionView);
|
typedArray = context.obtainStyledAttributes(attrs, R.styleable.TapPositionView);
|
||||||
|
if(AppIdentityModeUtils.isBus(FunctionBuildConfig.appIdentityMode)){
|
||||||
|
tabP.setVisibility(View.GONE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void updateWithGear(@NotNull Chassis.GearPosition gear) {
|
public void updateWithGear(@NotNull Chassis.GearPosition gear) {
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
android:textColor="@color/p_default_txt_color"
|
android:textColor="@color/p_default_txt_color"
|
||||||
android:textSize="@dimen/dp_46"
|
android:textSize="@dimen/dp_46"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:visibility="gone"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintLeft_toLeftOf="parent"
|
app:layout_constraintLeft_toLeftOf="parent"
|
||||||
app:layout_constraintRight_toLeftOf="@+id/tap_r"
|
app:layout_constraintRight_toLeftOf="@+id/tap_r"
|
||||||
|
|||||||
Reference in New Issue
Block a user