[3.2.0] bus 乘客屏删除无用ui
This commit is contained in:
@@ -25,7 +25,6 @@ public abstract class BusPassengerBaseFragment<V extends IView, P extends Presen
|
||||
private FrameLayout flContainer;
|
||||
|
||||
protected AppCompatImageView videoSwitch;
|
||||
protected AppCompatImageView smallMapSwitch;
|
||||
|
||||
@Override
|
||||
protected int getLayoutId() {
|
||||
@@ -41,7 +40,6 @@ public abstract class BusPassengerBaseFragment<V extends IView, P extends Presen
|
||||
protected void initViews() {
|
||||
mapBizView = findViewById(R.id.mapBizView);
|
||||
videoSwitch = findViewById(R.id.video_switch_iv);
|
||||
smallMapSwitch = findViewById(R.id.small_map_switch_iv);
|
||||
showRouteFragment();
|
||||
}
|
||||
|
||||
|
||||
@@ -118,13 +118,6 @@ public class BusPassengerRouteFragment extends
|
||||
}
|
||||
});
|
||||
|
||||
smallMapSwitch.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
// TODO: 2023/5/4 小地图打开关闭
|
||||
}
|
||||
});
|
||||
|
||||
//测试
|
||||
if (DebugConfig.isDebug()){
|
||||
mSpeedTv.setOnLongClickListener(new View.OnLongClickListener() {
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB |
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/icon_small_map_open" android:state_focused="true" android:state_pressed="true" />
|
||||
<item android:drawable="@drawable/icon_small_map_open" android:state_focused="false" android:state_pressed="true" />
|
||||
<item android:drawable="@drawable/icon_small_map_open" android:state_selected="true" />
|
||||
<item android:drawable="@drawable/icon_small_map_open" android:state_focused="true" />
|
||||
<item android:drawable="@drawable/icon_small_map_close" />
|
||||
</selector>
|
||||
@@ -77,15 +77,5 @@
|
||||
android:layout_marginLeft="@dimen/dp_20"
|
||||
android:layout_marginBottom="@dimen/dp_20"/>
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/small_map_switch_iv"
|
||||
android:layout_width="@dimen/dp_120"
|
||||
android:layout_height="@dimen/dp_120"
|
||||
android:src="@drawable/small_map_btn_selector"
|
||||
app:layout_constraintLeft_toRightOf="@+id/video_switch_iv"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:scaleType="fitCenter"
|
||||
android:layout_marginBottom="@dimen/dp_20"/>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user