Merge remote-tracking branch 'origin/feature/v1.0.0' into feature/v1.0.0

This commit is contained in:
董宏宇
2020-02-13 16:46:15 +08:00
58 changed files with 126 additions and 101 deletions

2
.idea/misc.xml generated
View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
</project>

View File

@@ -3,6 +3,8 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.mogo.launcher">
<!-- android:sharedUserId="android.uid.system"-->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<application

View File

@@ -139,6 +139,7 @@ public class AMapNaviViewWrapper implements IMogoMapView,
}
private void initListeners() {
mMapView.setOnMarkerClickListener( this );
mMarkerClickHandler = new AMapMarkerClickHandler();
mMapView.setOnMapLoadedListener( this );

View File

@@ -40,7 +40,7 @@ public class MapStyleUtils {
public static RouteOverlayOptions getRouteOverlayOptions() {
RouteOverlayOptions options = new RouteOverlayOptions();
// 设置导航线路的宽度
options.setLineWidth( 16 );
options.setLineWidth( 10 );
// 设置交通状况情况良好下的纹理位图
options.setSmoothTraffic( colorToBitmap( ColorEnum.route_overlay_line_normal.getColor() ) );
// 设置路线的图标

View File

@@ -1,5 +1,6 @@
package com.mogo.map.navi;
import android.text.TextUtils;
import com.mogo.map.MogoLatLng;
import java.util.List;
@@ -56,6 +57,11 @@ public class MogoCalculatePath {
}
public String getStrategyName() {
if (!TextUtils.isEmpty(mStrategyName)&&mStrategyName.contains(",")) {
String[] split = mStrategyName.split(",");
return split[0];
}
return mStrategyName;
}

View File

@@ -1,5 +1,7 @@
package com.mogo.module.apps.model;
import com.mogo.module.apps.R;
/**
* @author congtaowang
* @since 2020-02-12
@@ -14,62 +16,62 @@ package com.mogo.module.apps.model;
public enum AppEnum {
//"QQ音乐",
QQMusic( "com.pvetec.musics", 0 ),
QQMusic( "com.pvetec.musics", R.drawable.module_apps_ic_qq_music ),
//"车聊聊",
Im( "com.zhidao.imdemo", 0 ),
Im( "com.zhidao.imdemo", R.drawable.module_apps_ic_im ),
//"探路",
RoadCondition( "com.zhidao.roadcondition", 0 ),
RoadConditionSlit( "com.zhidao.roadcondition.split", 0 ),
RoadCondition( "com.zhidao.roadcondition", R.drawable.module_apps_ic_road_condition ),
RoadConditionSlit( "com.zhidao.roadcondition.split", R.drawable.module_apps_ic_road_condition ),
//"福利",
Welfare( "com.zhidaohulian.welfare.car", 0 ),
Welfare( "com.zhidaohulian.welfare.car", R.drawable.module_apps_ic_welfare ),
//"蘑菇小队",
Fleet( "com.zhidao.fleet", 0 ),
Fleet( "com.zhidao.fleet", R.drawable.module_apps_ic_fleet ),
//"行车记录仪",
CarCorder( "com.zhidao.carcorder", 0 ),
CarCorder( "com.zhidao.carcorder", R.drawable.module_apps_ic_carcorder ),
//"懒人听书",
Lrts( "com.zhidao.lrts", 0 ),
Lrts( "com.zhidao.lrts", R.drawable.module_apps_ic_lrts ),
//"一键清理",
CleanMaster( "com.zhidao.cleanmaster", 0 ),
CleanMaster( "com.zhidao.cleanmaster", R.drawable.module_apps_ic_clean_master ),
//"系统升级",
Fota( "com.abupdate.fota_demo_iot", 0 ),
Fota( "com.abupdate.fota_demo_iot", R.drawable.module_apps_ic_fota ),
//"微信车机助手",
WecahtHelper( "com.zhidao.wechathelper", 0 ),
WechatHelper( "com.zhidao.wechathelper", R.drawable.module_apps_ic_wechat ),
//"爱奇艺HD",
Qiyi( "com.qiyi.video.pad", 0 ),
Qiyi( "com.qiyi.video.pad", R.drawable.module_apps_ic_qiyi ),
//"喜马拉雅",
Ximalaya( "com.ximalaya.ting.android.car", 0 ),
Ximalaya( "com.ximalaya.ting.android.car", R.drawable.module_apps_ic_ximalaya ),
//"均衡器",
Equlizer( "com.zhidao.equalizer", 0 ),
Equlizer( "com.zhidao.equalizer", R.drawable.module_apps_ic_equlizer ),
//"方控学习",
SteerProduct( "com.zd.steerproduct", 0 ),
SteerProduct( "com.zd.steerproduct", R.drawable.module_apps_ic_stee_product ),
//"蓝牙音乐",
BTMusic( "com.nwd.bt.music", 0 ),
BTMusic( "com.nwd.bt.music", R.drawable.module_apps_ic_bt ),
//"车载设置",
CarSettings( "com.zhidao.settings", 0 ),
CarSettings( "com.zhidao.settings", R.drawable.module_apps_ic_car_setting ),
//"AUX",
AUX( "com.nwd.auxin", 0 ),
AUX( "com.nwd.auxin", R.drawable.module_apps_ic_aux ),
//FM
FM( " com.nwd.radio", 0 ),
FM( " com.nwd.radio", R.drawable.module_apps_ic_fm ),
// 新鲜事
FreshThins( "com.zhidao.fresh.things", 0 ),
FreshThings( "com.zhidao.fresh.things", R.drawable.module_apps_ic_fresh_things ),
;
private String mPkg;

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@@ -13,13 +13,8 @@ import androidx.annotation.Nullable;
import com.alibaba.android.arouter.launcher.ARouter;
import com.mogo.commons.mvp.MvpFragment;
import com.mogo.commons.voice.AIAssist;
import com.mogo.module.extensions.anim.AnimRes;
import com.mogo.module.extensions.anim.JSurfaceView;
import com.mogo.service.MogoServicePaths;
import com.mogo.service.analytics.IMogoAnalytics;
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
import com.mogo.utils.UiThreadHandler;
import com.mogo.utils.logger.Logger;
/**
* @author congtaowang
@@ -46,7 +41,6 @@ public class ExtensionsFragment extends MvpFragment< ExtensionsView, ExtensionsP
private View mMsgContainer;
private TextView mMsgCounter;
private IMogoFragmentManager mMogoFragmentManager;
private IMogoAnalytics mAnalytics;
@Override
@@ -81,17 +75,6 @@ public class ExtensionsFragment extends MvpFragment< ExtensionsView, ExtensionsP
ARouter.getInstance().build( "/push/ui/message" ).navigation( getContext() );
} );
mMsgCounter = findViewById( R.id.module_ext_id_msg_counter );
// mVoiceIcon.setFrames( AnimRes.sRes );
mMogoFragmentManager = ( IMogoFragmentManager ) ARouter.getInstance().build( MogoServicePaths.PATH_FRAGMENT_MANAGER ).navigation( getContext() );
mMogoFragmentManager.addMainFragmentStackTransactionListener( size -> {
if ( size == 0 ) {
mVoiceIcon.setVisibility( View.VISIBLE );
} else {
mVoiceIcon.setVisibility( View.INVISIBLE );
}
} );
}
@NonNull
@@ -154,7 +137,6 @@ public class ExtensionsFragment extends MvpFragment< ExtensionsView, ExtensionsP
@Override
public void renderAITipWords( String word ) {
if ( !TextUtils.isEmpty( word ) ) {
Logger.d( TAG, "current word: %s", word );
mVoiceMsg.setText( word );
}
}

View File

@@ -19,7 +19,6 @@
android:id="@+id/module_map_id_navi_next_info_distance"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/module_map_id_navi_next_info_road_turn_icon"
android:layout_marginTop="@dimen/module_ext_navi_info_panel_next_info_distance_marginTop"
android:layout_toRightOf="@+id/module_map_id_navi_next_info_road_turn_icon"
android:textColor="#282828"

View File

@@ -83,7 +83,7 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
private int mCurrentPosition = 0;
// 是否是点击Marker进行的页面切换false-不是true-是
private boolean isClickMarker;
private boolean mIsClickMarker;
private long mCardStartShowTime = 0;
@@ -147,7 +147,7 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
mCurrentPosition = position;
provider = mCardModulesAdapter.getProvider( mCurrentPosition );
mMogoModuleHandler.setModuleEnable( provider.getModuleName() );
if ( !isClickMarker ) {
if ( !mIsClickMarker ) {
mMogoCardManager.invoke( position, mMogoModuleHandler.getCurrentModuleName() );
}
} catch ( Exception e ) {
@@ -343,12 +343,12 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
@Override
public boolean onMarkerClicked( IMogoMarker marker ) {
isClickMarker = true;
mIsClickMarker = true;
switch2( marker.getOwner() );
if ( mMogoModuleHandler != null ) {
mMogoModuleHandler.onMarkerClicked( marker );
}
isClickMarker = false;
mIsClickMarker = false;
return false;
}
@@ -360,9 +360,6 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
if ( position != -1 ) {
int lastFactPosition = mCardModulesAdapter.getFactPosition( mCurrentPosition );
mCardsContainer.setCurrentItem( mCurrentPosition + position - lastFactPosition, Math.abs( lastFactPosition - position ) == 1 );
if ( !isClickMarker ) {
mMogoCardManager.invoke( position, mMogoModuleHandler.getCurrentModuleName() );
}
} else {
Logger.e( TAG, "Can't find type of %s's position", cardType );
}

View File

@@ -16,8 +16,8 @@ import java.util.List;
*/
public class CalculatePathAdapter extends RecycleBaseAdapter<MogoCalculatePath> {
private String selectTag;
/**
*
*/
@@ -35,18 +35,24 @@ public class CalculatePathAdapter extends RecycleBaseAdapter<MogoCalculatePath>
holder.itemView.setTag(R.id.tag_item, item);
holder.itemView.setOnClickListener(onClickListener);
holder.itemView.setSelected(TextUtils.equals(item.getTagId(),selectTag));
holder.itemView.setSelected(TextUtils.equals(item.getTagId(), selectTag));
View mName = holder.getView(R.id.amap_calculate_item_strategy_name);
holder.setText(R.id.amap_calculate_item_strategy_name, item.getStrategyName());
mName.setBackgroundResource(getStrategyNameBkgResId(holder.getLayoutPosition()));
if (holder.getLayoutPosition()>=2) {
if (holder.getLayoutPosition() >= 2) {
mName.setVisibility(View.GONE);
}
holder.setText(R.id.amap_calculate_item_strategy_time, item.getTime());
holder.setText(R.id.amap_calculate_item_strategy_distance, item.getDistance());
holder.setText(R.id.amap_calculate_item_strategy_desc, item.getDesc());
if (TextUtils.isEmpty(item.getDesc())) {
holder.getView(R.id.amap_calculate_item_strategy_desc).setVisibility(View.GONE);
} else {
holder.getView(R.id.amap_calculate_item_strategy_desc).setVisibility(View.VISIBLE);
}
}
public void setOnClickListener(View.OnClickListener onClickListener) {

View File

@@ -175,6 +175,9 @@ class ChoosePathFragment : BaseFragment(), IMogoNaviListener, IMogoVoiceCmdCallB
mAdapter.setOnClickListener {
var item = it.getTag(R.id.tag_item) as MogoCalculatePath
selectPath(item)
// rv_search_result.scroto
}
SearchServiceHolder.getMarkerManger()

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<solid android:color="#36599D"/>
<corners android:radius="@dimen/dp_16"/>
</shape>

View File

@@ -205,6 +205,7 @@
app:layout_constraintTop_toBottomOf="@id/tv_navi_park"
app:layout_constraintLeft_toLeftOf="@id/tv_navi_gas"
android:text="@string/navi_setting"
android:background="@drawable/shape_round_blue"
android:layout_marginTop="@dimen/dp_32"
style="@style/txt_navi_style"
/>

View File

@@ -12,12 +12,13 @@
android:layout_width="wrap_content"
android:layout_height="@dimen/dp_48"
android:layout_marginLeft="@dimen/dp_40"
android:layout_marginTop="@dimen/dp_26"
android:background="@drawable/amap_calculate_navi_strategy_name_bkg"
android:gravity="center"
android:paddingLeft="8.5dp"
android:paddingRight="8.5dp"
android:textColor="#ccffffff"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintBottom_toTopOf="@+id/amap_calculate_item_strategy_time"
android:textSize="@dimen/sp_30"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -32,7 +33,8 @@
android:textSize="@dimen/dp_50"
app:layout_constraintLeft_toLeftOf="parent"
android:layout_marginLeft="@dimen/dp_40"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintBottom_toTopOf="@+id/amap_calculate_item_strategy_desc"
app:layout_constraintTop_toBottomOf="@+id/amap_calculate_item_strategy_name"
tools:text="40小时55分" />
@@ -70,6 +72,8 @@
android:layout_height="@dimen/dp_42"
android:layout_marginTop="2dp"
android:gravity="center"
app:layout_constraintVertical_chainStyle="packed"
app:layout_constraintBottom_toBottomOf="parent"
android:textColor="@color/white_80"
android:textSize="@dimen/dp_30"
app:layout_constraintLeft_toLeftOf="@+id/amap_calculate_item_strategy_time"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -3,6 +3,7 @@ package com.mogo.module.service.marker;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.text.TextUtils;
import android.view.View;
import com.mogo.map.MogoLatLng;
@@ -52,6 +53,8 @@ public class MapMarkerManager implements IMogoMarkerClickListener, IMogoOnMessag
private static IMogoMarker lastMarker;
private static MapMarkerManager mMarkerManager;
private static String mLastHighLightModule = null;
private MapMarkerManager() {
}
@@ -77,8 +80,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener, IMogoOnMessag
.getMogoSocketManager()
.registerOnMessageListener(401001, this);
MarkerServiceHandler.getMogoCardManager()
.registerCardChangedListener("LAUNCHER_MARKER_MODULE", new IMogoCardChangedListener() {
MarkerServiceHandler.getMogoCardManager().registerCardChangedListener("LAUNCHER_MARKER_MODULE", new IMogoCardChangedListener() {
@Override
public void onSwitched(int position, String moduleName) {
@@ -90,6 +92,7 @@ public class MapMarkerManager implements IMogoMarkerClickListener, IMogoOnMessag
} else {
isOnLineCard = false;
}
mLastHighLightModule = moduleName;
}
});
}
@@ -186,31 +189,33 @@ public class MapMarkerManager implements IMogoMarkerClickListener, IMogoOnMessag
// 对指定类型高亮处理
public synchronized static void highlightedMarker(final String typeTag) {
Handler handler = new Handler();
handler.post(new Runnable() {
@Override
public void run() {
try {
Map<String, List<IMogoMarker>> allMarker = MarkerServiceHandler.getMarkerManager().getAllMarkers();
for (Map.Entry<String, List<IMogoMarker>> entry : allMarker.entrySet()) {
String keyStr = entry.getKey();
List<IMogoMarker> markerList = entry.getValue();
try {
if (keyStr.equals(typeTag)) {
for (IMogoMarker marker : markerList) {
marker.setAlpha(1f);
}
} else {
for (IMogoMarker marker : markerList) {
marker.setAlpha(0.7f);
}
}
}
} catch (Exception e) {
e.printStackTrace();
}
if ( TextUtils.equals( mLastHighLightModule, typeTag ) ) {
return;
}
});
// 上一次高亮的变暗
List<IMogoMarker> lastHighLightList = MarkerServiceHandler.getMarkerManager().getMarkers( mLastHighLightModule );
setMarkersAlpha(lastHighLightList, 0.7f);
// 将当前高亮
List<IMogoMarker> currentHighLightList = MarkerServiceHandler.getMarkerManager().getMarkers( typeTag );
setMarkersAlpha(currentHighLightList, 1f);
} catch (Exception e) {
e.printStackTrace();
}
}
private static void setMarkersAlpha(List<IMogoMarker> markers,float alpha){
if ( markers == null || markers.isEmpty() ) {
return;
}
for ( IMogoMarker mogoMarker : markers ) {
if ( mogoMarker == null || mogoMarker.isDestroyed() ) {
continue;
}
mogoMarker.setAlpha( alpha );
}
}
/**

View File

@@ -12,6 +12,7 @@ import android.text.TextUtils;
import android.util.Log;
import android.view.MotionEvent;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
@@ -84,6 +85,7 @@ import com.mogo.service.datamanager.IMogoDataChangedListener;
import com.mogo.service.fragmentmanager.IMogoFragmentManager;
import com.mogo.service.imageloader.IMogoImageLoaderListener;
import com.mogo.service.imageloader.IMogoImageloader;
import com.mogo.service.imageloader.MogoImageView;
import com.mogo.service.intent.IMogoIntentListener;
import com.mogo.service.intent.IMogoIntentManager;
import com.mogo.service.map.IMogoMapService;
@@ -126,7 +128,8 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
private static final String TAG = "TanluCardViewFragment";
SimpleCoverVideoPlayer simpleCoverVideoPlayer;
AutoZoomInImageView autoZoomInImageView;
// AutoZoomInImageView autoZoomInImageView;
ImageView autoZoomInImageView;
//map
private IMogoMarkerManager mMarkerManager;
private IMogoMapService mMogoMapService;
@@ -603,16 +606,16 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
/**
* 执行图片动画
*/
private void handleImageAnimation() {
autoZoomInImageView.post(new Runnable() {
@Override
public void run() {
//放大增量是0.3放大时间是1000毫秒放大开始时间是500毫秒以后
autoZoomInImageView.init()
.startZoomInByScaleDeltaAndDuration(0.2f, 1000, 300);
}
});
}
// private void handleImageAnimation() {
// autoZoomInImageView.post(new Runnable() {
// @Override
// public void run() {
// //放大增量是0.3放大时间是1000毫秒放大开始时间是500毫秒以后
// autoZoomInImageView.init()
// .startZoomInByScaleDeltaAndDuration(0.2f, 1000, 300);
// }
// });
// }
/**
* marker点击事件
@@ -706,6 +709,8 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
Logger.d(TAG, "refreshPhoto thumbnailUrl ------>" + thumbnailUrl);
simpleCoverVideoPlayer.setVisibility(View.GONE);
autoZoomInImageView.setVisibility(View.VISIBLE);
// mogoImageloader.displayImage(thumbnailUrl, autoZoomInImageView);
mogoImageloader.downloadImage(getActivity(), thumbnailUrl, new IMogoImageLoaderListener() {
@Override
public void onStart() {
@@ -717,7 +722,7 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
Log.d(TAG, "onCompleted ------>bitmap = " + bitmap);
autoZoomInImageView.setImageBitmap(bitmap);
//动画
handleImageAnimation();
// handleImageAnimation();
}
@Override
@@ -842,13 +847,13 @@ import static com.mogo.module.tanlu.video.VideoInitKt.initVideo;
e.printStackTrace();
}
} else {
try {
if ( autoZoomInImageView.getVisibility() == View.VISIBLE ) {
autoZoomInImageView.stopCurrentAnimator();
}
} catch ( Exception e ) {
e.printStackTrace();
}
// try {
// if ( autoZoomInImageView.getVisibility() == View.VISIBLE ) {
// autoZoomInImageView.stopCurrentAnimator();
// }
// } catch ( Exception e ) {
// e.printStackTrace();
// }
}
}

View File

@@ -27,10 +27,10 @@
android:ellipsize="end"
android:gravity="center_vertical"
android:maxLines="1"
android:text="@string/main_empty_location"
android:textColor="@color/white"
android:textSize="@dimen/tanlu_module_card_address_size"
android:textStyle="bold" />
<!-- android:text="@string/main_empty_location"-->
<TextView
android:id="@+id/tv_distance_video"
@@ -40,10 +40,10 @@
android:layout_marginLeft="@dimen/tanlu_module_card_margin_left"
android:layout_marginTop="@dimen/tanlu_module_card_distance_margin_top"
android:layout_marginBottom="@dimen/tanlu_module_card_distance_margin_bottom"
android:text="666KM"
android:textColor="@color/color_99FFFFFF"
android:textSize="@dimen/tanlu_module_card_distance_size"
android:textStyle="bold" />
<!-- android:text="0KM"-->
<TextView
android:id="@+id/tv_information_media_time"
@@ -53,9 +53,10 @@
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="@dimen/tanlu_module_card_margin_left"
android:text="2019-10-10"
android:textColor="@color/color_99FFFFFF"
android:textSize="@dimen/tanlu_module_card_distance_size" />
<!-- android:text="2019-10-10"-->
</RelativeLayout>
<!--视频播放器和图片播放器-->
@@ -75,7 +76,12 @@
android:layout_height="match_parent"
android:visibility="gone" />
<com.mogo.module.tanlu.view.AutoZoomInImageView
<!-- <com.mogo.module.tanlu.view.AutoZoomInImageView-->
<!-- android:id="@+id/tanlu_photo_imageView"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent" />-->
<ImageView
android:id="@+id/tanlu_photo_imageView"
android:layout_width="match_parent"
android:layout_height="match_parent" />