Remove unavailable remaining energy card
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
d905ad99a0479e85460a248116ce85b50a58759f2da38146a2654e70dfc0051e FatihsMG4-unstable-2.2.23.apk
|
||||||
+2
-2
@@ -34,8 +34,8 @@ android {
|
|||||||
applicationId "com.evsuite.abrp"
|
applicationId "com.evsuite.abrp"
|
||||||
minSdk 27
|
minSdk 27
|
||||||
targetSdk 36
|
targetSdk 36
|
||||||
versionCode 39
|
versionCode 40
|
||||||
versionName "2.2.22"
|
versionName "2.2.23"
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
*/
|
*/
|
||||||
private EnergyTelemetryReader vehicleReader;
|
private EnergyTelemetryReader vehicleReader;
|
||||||
private TextView vehSoc, vehRange, vehPower, vehSpeed, vehOdometer,
|
private TextView vehSoc, vehRange, vehPower, vehSpeed, vehOdometer,
|
||||||
vehCharging, vehHvac, vehSoe,
|
vehCharging, vehHvac,
|
||||||
vehTireFl, vehTireFr, vehTireRl, vehTireRr;
|
vehTireFl, vehTireFr, vehTireRl, vehTireRr;
|
||||||
private ConsumptionTracker consumptionTracker;
|
private ConsumptionTracker consumptionTracker;
|
||||||
private ConsumptionTracker.Period consumptionPeriod = ConsumptionTracker.Period.LIFETIME;
|
private ConsumptionTracker.Period consumptionPeriod = ConsumptionTracker.Period.LIFETIME;
|
||||||
@@ -779,7 +779,6 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
vehOdometer = vehiclePane.findViewById(R.id.vehicle_odometer);
|
vehOdometer = vehiclePane.findViewById(R.id.vehicle_odometer);
|
||||||
vehCharging = vehiclePane.findViewById(R.id.vehicle_charging);
|
vehCharging = vehiclePane.findViewById(R.id.vehicle_charging);
|
||||||
vehHvac = vehiclePane.findViewById(R.id.vehicle_hvac);
|
vehHvac = vehiclePane.findViewById(R.id.vehicle_hvac);
|
||||||
vehSoe = vehiclePane.findViewById(R.id.vehicle_soe);
|
|
||||||
vehTireFl = vehiclePane.findViewById(R.id.vehicle_tire_fl);
|
vehTireFl = vehiclePane.findViewById(R.id.vehicle_tire_fl);
|
||||||
vehTireFr = vehiclePane.findViewById(R.id.vehicle_tire_fr);
|
vehTireFr = vehiclePane.findViewById(R.id.vehicle_tire_fr);
|
||||||
vehTireRl = vehiclePane.findViewById(R.id.vehicle_tire_rl);
|
vehTireRl = vehiclePane.findViewById(R.id.vehicle_tire_rl);
|
||||||
@@ -809,7 +808,6 @@ public class MainActivity extends AppCompatActivity {
|
|||||||
vehSpeed.setText(fmt(s.getSpeedKmh(), "%.0f km/h"));
|
vehSpeed.setText(fmt(s.getSpeedKmh(), "%.0f km/h"));
|
||||||
vehOdometer.setText(fmt(s.getOdometerKm(), "%.0f km"));
|
vehOdometer.setText(fmt(s.getOdometerKm(), "%.0f km"));
|
||||||
vehHvac.setText(fmt(s.getClimate().getDriverTargetCelsius(), "%.0f °C"));
|
vehHvac.setText(fmt(s.getClimate().getDriverTargetCelsius(), "%.0f °C"));
|
||||||
vehSoe.setText(fmt(s.getBatteryEnergyKwh(), "%.1f kWh"));
|
|
||||||
|
|
||||||
vehCharging.setText(chargingLabel(s));
|
vehCharging.setText(chargingLabel(s));
|
||||||
|
|
||||||
|
|||||||
@@ -56,10 +56,6 @@
|
|||||||
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_speed" android:textAppearance="@style/Text.EV.Secondary" />
|
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_speed" android:textAppearance="@style/Text.EV.Secondary" />
|
||||||
<TextView android:id="@+id/vehicle_speed" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
<TextView android:id="@+id/vehicle_speed" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:orientation="vertical" android:minHeight="112dp" android:padding="16dp" android:background="@drawable/bg_glass" android:layout_weight="1">
|
|
||||||
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_soe" android:textAppearance="@style/Text.EV.Secondary" />
|
|
||||||
<TextView android:id="@+id/vehicle_soe" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
@@ -54,10 +54,6 @@
|
|||||||
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_speed" android:textAppearance="@style/Text.EV.Secondary" />
|
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_speed" android:textAppearance="@style/Text.EV.Secondary" />
|
||||||
<TextView android:id="@+id/vehicle_speed" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
<TextView android:id="@+id/vehicle_speed" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:orientation="vertical" android:minHeight="112dp" android:padding="16dp" android:background="@drawable/bg_glass" android:layout_columnWeight="1" android:layout_margin="4dp" android:layout_columnSpan="2">
|
|
||||||
<TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/vehicle_row_soe" android:textAppearance="@style/Text.EV.Secondary" />
|
|
||||||
<TextView android:id="@+id/vehicle_soe" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="—" android:layout_marginTop="6dp" android:textAppearance="@style/Text.EV.Metric.Compact" android:maxLines="1" android:autoSizeTextType="uniform" android:autoSizeMinTextSize="18sp" android:autoSizeMaxTextSize="28sp" android:autoSizeStepGranularity="1sp" />
|
|
||||||
</LinearLayout>
|
|
||||||
</GridLayout>
|
</GridLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
@@ -37,7 +37,6 @@
|
|||||||
<string name="vehicle_row_cabin_temp">Kabin Sıcaklığı</string>
|
<string name="vehicle_row_cabin_temp">Kabin Sıcaklığı</string>
|
||||||
<string name="vehicle_row_hvac">Klima Ayarı</string>
|
<string name="vehicle_row_hvac">Klima Ayarı</string>
|
||||||
<string name="vehicle_row_capacity">Batarya Kapasitesi</string>
|
<string name="vehicle_row_capacity">Batarya Kapasitesi</string>
|
||||||
<string name="vehicle_row_soe">Kalan Enerji</string>
|
|
||||||
<string name="vehicle_row_charging">Şarj Durumu</string>
|
<string name="vehicle_row_charging">Şarj Durumu</string>
|
||||||
<string name="vehicle_tire_fl">Ön Sol</string>
|
<string name="vehicle_tire_fl">Ön Sol</string>
|
||||||
<string name="vehicle_tire_fr">Ön Sağ</string>
|
<string name="vehicle_tire_fr">Ön Sağ</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user