Merge remote-tracking branch 'origin/qa_light' into qa_light
@@ -66,7 +66,7 @@ public class TanluSlideAdapterNew extends RecyclerView.Adapter<TanluSlideViewHol
|
||||
private TextView mDistanceTv;
|
||||
private TextView mTimeTv;
|
||||
private SimpleCoverVideoPlayer simpleCoverVideoPlayer;
|
||||
private ImageView autoZoomInImageView;
|
||||
private MogoImageView autoZoomInImageView;
|
||||
private MogoImageView mHeadImage;
|
||||
private ImageView mChatImage;
|
||||
private ImageView mLikeImage;
|
||||
@@ -330,19 +330,18 @@ public class TanluSlideAdapterNew extends RecyclerView.Adapter<TanluSlideViewHol
|
||||
simpleCoverVideoPlayer.setVisibility(GONE);
|
||||
autoZoomInImageView.setVisibility(View.VISIBLE);
|
||||
//加载图片
|
||||
RequestOptions requestOptions = new RequestOptions()
|
||||
.placeholder(R.drawable.tanlu_normal_image)
|
||||
.error(R.drawable.tanlu_normal_image);
|
||||
// RequestOptions requestOptions = new RequestOptions()
|
||||
// .placeholder(R.drawable.tanlu_normal_image)
|
||||
// .error(R.drawable.tanlu_normal_image);
|
||||
//
|
||||
// Glide.with(mContext)
|
||||
// .asBitmap()
|
||||
// .load(mImageUrl)
|
||||
// .apply(requestOptions)
|
||||
// .into(autoZoomInImageView);
|
||||
// .into(new SkinAbleBitmapTarget(autoZoomInImageView, requestOptions));
|
||||
|
||||
mogoImageloader.displayImage(mImageUrl, autoZoomInImageView);
|
||||
|
||||
Glide.with(mContext)
|
||||
.asBitmap()
|
||||
.load(mImageUrl)
|
||||
.apply(requestOptions)
|
||||
.into(new SkinAbleBitmapTarget(autoZoomInImageView, requestOptions));
|
||||
}
|
||||
|
||||
traceVideoPlayStatusData();
|
||||
@@ -372,14 +371,16 @@ public class TanluSlideAdapterNew extends RecyclerView.Adapter<TanluSlideViewHol
|
||||
autoZoomInImageView.setVisibility(View.VISIBLE);
|
||||
Logger.d(TAG, "refreshPhotoData imageUrl = " + imageUrl);
|
||||
//加载图片
|
||||
RequestOptions requestOptions = new RequestOptions()
|
||||
.placeholder(R.drawable.tanlu_normal_image)
|
||||
.error(R.drawable.tanlu_normal_image);
|
||||
Glide.with(mContext)
|
||||
.asBitmap()
|
||||
.load(imageUrl)
|
||||
.apply(requestOptions)
|
||||
.into(new SkinAbleBitmapTarget(autoZoomInImageView, requestOptions));
|
||||
// RequestOptions requestOptions = new RequestOptions()
|
||||
// .placeholder(R.drawable.tanlu_normal_image)
|
||||
// .error(R.drawable.tanlu_normal_image);
|
||||
// Glide.with(mContext)
|
||||
// .asBitmap()
|
||||
// .load(imageUrl)
|
||||
// .apply(requestOptions)
|
||||
// .into(new SkinAbleBitmapTarget(autoZoomInImageView, requestOptions));
|
||||
|
||||
mogoImageloader.displayImage(imageUrl, autoZoomInImageView);
|
||||
}
|
||||
|
||||
|
||||
@@ -468,19 +469,19 @@ public class TanluSlideAdapterNew extends RecyclerView.Adapter<TanluSlideViewHol
|
||||
typeName = "封路";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_CONSTRUCTION:
|
||||
typeName = "道路施工";
|
||||
typeName = "施工";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_CONGESTION_COMPAT:
|
||||
typeName = "道路拥堵";
|
||||
typeName = "拥堵";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_PONDING:
|
||||
typeName = "道路积水";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_ICING:
|
||||
typeName = "路面结冰";
|
||||
typeName = "道路结冰";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_HEAVY_FOG:
|
||||
typeName = "出现浓雾";
|
||||
typeName = "浓雾";
|
||||
break;
|
||||
case TanluConstants.TANLU_ROAD_ACCIDENT:
|
||||
typeName = "交通事故";
|
||||
|
||||
@@ -58,7 +58,7 @@ class SimpleCoverVideoPlayer : StandardGSYVideoPlayer {
|
||||
fun loadCoverImage(url: String, mContext: Context) {
|
||||
//加载图片
|
||||
val requestOptions = RequestOptions()
|
||||
.placeholder(R.drawable.tanlu_normal_image)
|
||||
// .placeholder(R.drawable.tanlu_normal_image)
|
||||
.error(R.drawable.tanlu_normal_image)
|
||||
Glide.with(mContext).asBitmap()
|
||||
.load(url)
|
||||
|
||||
@@ -8,7 +8,11 @@ import android.graphics.RectF;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.RelativeLayout;
|
||||
|
||||
import androidx.annotation.DrawableRes;
|
||||
|
||||
import com.mogo.module.tanlu.R;
|
||||
import com.mogo.skin.support.IMogoSkinCompatSupportable;
|
||||
import com.mogo.skin.support.helper.MogoSkinCompatBackgroundHelperDelegate;
|
||||
|
||||
/**
|
||||
* author : donghongyu
|
||||
@@ -17,29 +21,34 @@ import com.mogo.module.tanlu.R;
|
||||
* desc :
|
||||
* version: 1.0
|
||||
*/
|
||||
public class RoundLayout extends RelativeLayout {
|
||||
public class RoundLayout extends RelativeLayout implements IMogoSkinCompatSupportable {
|
||||
private float roundLayoutRadius = 14f;
|
||||
private Path roundPath;
|
||||
private RectF rectF;
|
||||
private MogoSkinCompatBackgroundHelperDelegate mBackgroundTintHelper;
|
||||
|
||||
public RoundLayout(Context context) {
|
||||
this(context, null);
|
||||
}
|
||||
|
||||
public RoundLayout(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
this(context, attrs);
|
||||
public RoundLayout(Context context, AttributeSet attrs) {
|
||||
this(context, attrs, 0);
|
||||
}
|
||||
|
||||
public RoundLayout(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
public RoundLayout(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
|
||||
TypedArray typedArray = context.obtainStyledAttributes(attrs, R.styleable.RoundLayout);
|
||||
roundLayoutRadius = typedArray.getDimensionPixelSize(R.styleable.RoundLayout_roundLayoutRadius, (int) roundLayoutRadius);
|
||||
typedArray.recycle();
|
||||
|
||||
init();
|
||||
|
||||
mBackgroundTintHelper = new MogoSkinCompatBackgroundHelperDelegate(this);
|
||||
mBackgroundTintHelper.loadFromAttributes(attrs, defStyleAttr);
|
||||
}
|
||||
|
||||
|
||||
private void init() {
|
||||
setWillNotDraw(false);//如果你继承的是ViewGroup,注意此行,否则draw方法是不会回调的;
|
||||
roundPath = new Path();
|
||||
@@ -58,6 +67,15 @@ public class RoundLayout extends RelativeLayout {
|
||||
postInvalidate();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void setBackgroundResource(@DrawableRes int resId) {
|
||||
super.setBackgroundResource(resId);
|
||||
if (mBackgroundTintHelper != null) {
|
||||
mBackgroundTintHelper.onSetBackgroundResource(resId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onLayout(boolean changed, int l, int t, int r, int b) {
|
||||
super.onLayout(changed, l, t, r, b);
|
||||
@@ -72,5 +90,13 @@ public class RoundLayout extends RelativeLayout {
|
||||
}
|
||||
super.draw(canvas);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void applySkin() {
|
||||
if (mBackgroundTintHelper != null) {
|
||||
mBackgroundTintHelper.applySkin();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- <corners android:radius="4dp"/>-->
|
||||
<solid android:color="@color/tanlu_555A_F5F5"/>
|
||||
|
||||
</shape>
|
||||
@@ -2,29 +2,17 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/tanlu_module_card_height"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:background="@drawable/tanlu_gradual_change_bg">
|
||||
|
||||
<!--视频播放器和图片播放器-->
|
||||
<!-- <RelativeLayout-->
|
||||
<!-- android:id="@+id/media_layout"-->
|
||||
<!-- android:layout_width="@dimen/tanlu_module_card_video_width"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:layout_marginTop="@dimen/tanlu_module_card_margin_left"-->
|
||||
<!-- android:layout_marginBottom="@dimen/tanlu_module_card_margin_left"-->
|
||||
<!-- android:layout_marginRight="@dimen/tanlu_module_margin_right"-->
|
||||
<!-- android:layout_marginLeft="@dimen/tanlu_module_card_margin_left">-->
|
||||
|
||||
android:layout_height="@dimen/tanlu_module_card_height">
|
||||
<!-- android:background="@drawable/tanlu_gradual_change_bg"-->
|
||||
<com.mogo.module.tanlu.view.RoundLayout
|
||||
android:id="@+id/media_layout"
|
||||
android:layout_width="@dimen/tanlu_module_card_video_width"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_height="@dimen/tanlu_module_card_video_height"
|
||||
android:layout_marginLeft="@dimen/tanlu_module_card_margin_left"
|
||||
android:layout_marginTop="@dimen/tanlu_module_card_margin_left"
|
||||
android:layout_marginRight="@dimen/tanlu_module_margin_right"
|
||||
android:layout_marginBottom="@dimen/tanlu_module_card_margin_left"
|
||||
android:background="@drawable/tanlu_gradual_change_bg">
|
||||
android:background="@drawable/shape_tanlu_top_bg">
|
||||
|
||||
<com.mogo.module.tanlu.video.SimpleCoverVideoPlayer
|
||||
android:id="@+id/video_player_main"
|
||||
@@ -33,16 +21,23 @@
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
<com.mogo.service.imageloader.MogoImageView
|
||||
android:id="@+id/tanlu_photo_imageView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerVertical="true"
|
||||
android:src="@drawable/tanlu_normal_image"
|
||||
android:scaleType="fitXY" />
|
||||
</com.mogo.module.tanlu.view.RoundLayout>
|
||||
android:scaleType="center"
|
||||
app:miv_failureHolder="@drawable/tanlu_icon_logo"
|
||||
app:miv_overlayImageId="@drawable/tanlu_icon_logo"
|
||||
app:miv_placeHolder="@drawable/tanlu_icon_logo" />
|
||||
|
||||
<!-- </RelativeLayout>-->
|
||||
<!-- <ImageView-->
|
||||
<!-- android:id="@+id/tanlu_photo_imageView"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="match_parent"-->
|
||||
<!-- android:layout_centerVertical="true"-->
|
||||
<!-- android:src="@drawable/tanlu_normal_image"-->
|
||||
<!-- android:scaleType="fitXY" />-->
|
||||
</com.mogo.module.tanlu.view.RoundLayout>
|
||||
|
||||
<!--右侧数据-->
|
||||
<RelativeLayout
|
||||
@@ -141,16 +136,16 @@
|
||||
android:layout_width="@dimen/tanlu_image_size"
|
||||
android:layout_height="@dimen/tanlu_image_size"
|
||||
android:layout_marginRight="@dimen/tanlu_module_margin_left"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/selector_chat_btn" />
|
||||
android:src="@drawable/selector_chat_btn"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tanlu_like_layout"
|
||||
android:layout_width="@dimen/tanlu_image_size"
|
||||
android:layout_height="@dimen/tanlu_image_size"
|
||||
android:layout_toRightOf="@+id/tanlu_chat_imageView"
|
||||
android:background="@drawable/icon_heart_like_bg"
|
||||
android:gravity="center"
|
||||
android:layout_toRightOf="@+id/tanlu_chat_imageView">
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tanlu_like_imageView"
|
||||
@@ -164,8 +159,8 @@
|
||||
android:id="@+id/tanlu_close_imageView"
|
||||
android:layout_width="@dimen/tanlu_module_close_height"
|
||||
android:layout_height="@dimen/tanlu_module_close_height"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginRight="@dimen/tanlu_module_margin_right"
|
||||
android:src="@drawable/selector_btn_close" />
|
||||
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/tanlu_module_card_height"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_alignParentRight="true"
|
||||
android:background="@drawable/tanlu_gradual_change_bg">
|
||||
android:background="@drawable/tanlu_top_bg">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/tanlu_rloop_recycleview"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
android:layout_height="match_parent"
|
||||
/>
|
||||
<!-- tools:listitem="@layout/tanlu_item_main_media_recycler_new"-->
|
||||
</RelativeLayout>
|
||||
@@ -77,14 +77,14 @@
|
||||
|
||||
<!--new-->
|
||||
<dimen name="tanlu_module_card_width">642px</dimen>
|
||||
<dimen name="tanlu_module_card_height">170px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">234px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">156px</dimen>
|
||||
<dimen name="tanlu_module_card_height">186px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">250px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">172px</dimen>
|
||||
<dimen name="tanlu_module_close_height">45px</dimen>
|
||||
|
||||
<dimen name="tanlu_module_card_margin_top">13px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">8px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">13px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">7px</dimen>
|
||||
<dimen name="tanlu_module_margin_left">17px</dimen>
|
||||
<dimen name="tanlu_module_margin_top">3px</dimen>
|
||||
<dimen name="tanlu_module_mavi_height">18px</dimen>
|
||||
|
||||
@@ -77,14 +77,14 @@
|
||||
|
||||
<!--new-->
|
||||
<dimen name="tanlu_module_card_width">1233px</dimen>
|
||||
<dimen name="tanlu_module_card_height">300px</dimen>
|
||||
<dimen name="tanlu_module_card_height">326px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">480px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">270px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">280px</dimen>
|
||||
<dimen name="tanlu_module_close_height">80px</dimen>
|
||||
|
||||
<dimen name="tanlu_module_card_margin_top">19px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">13px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">23px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">12px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">12px</dimen>
|
||||
<dimen name="tanlu_module_margin_left">30px</dimen>
|
||||
<dimen name="tanlu_module_margin_top">9px</dimen>
|
||||
<dimen name="tanlu_module_mavi_height">27px</dimen>
|
||||
|
||||
@@ -77,14 +77,14 @@
|
||||
|
||||
<!--new-->
|
||||
<dimen name="tanlu_module_card_width">1060px</dimen>
|
||||
<dimen name="tanlu_module_card_height">306px</dimen>
|
||||
<dimen name="tanlu_module_card_height">326px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">421px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">280px</dimen>
|
||||
<dimen name="tanlu_module_close_height">80px</dimen>
|
||||
|
||||
<dimen name="tanlu_module_card_margin_top">19px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">13px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">23px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">5px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">0px</dimen>
|
||||
<dimen name="tanlu_module_margin_left">30px</dimen>
|
||||
<dimen name="tanlu_module_margin_top">9px</dimen>
|
||||
<dimen name="tanlu_module_mavi_height">27px</dimen>
|
||||
|
||||
@@ -51,5 +51,6 @@
|
||||
<color name="tanlu_dialog_bt_right_color">#50526E</color>
|
||||
<color name="tanlu_top_bg_startcolor">#5E6079</color>
|
||||
<color name="tanlu_top_bg_endcolor">#3F4057</color>
|
||||
<color name="tanlu_555A_F5F5">#555A75</color>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -77,14 +77,14 @@
|
||||
|
||||
<!--new-->
|
||||
<dimen name="tanlu_module_card_width">642px</dimen>
|
||||
<dimen name="tanlu_module_card_height">194px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">266px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">194px</dimen>
|
||||
<dimen name="tanlu_module_card_height">186px</dimen>
|
||||
<dimen name="tanlu_module_card_video_width">250px</dimen>
|
||||
<dimen name="tanlu_module_card_video_height">172px</dimen>
|
||||
<dimen name="tanlu_module_close_height">45px</dimen>
|
||||
|
||||
<dimen name="tanlu_module_card_margin_top">13px</dimen>
|
||||
<dimen name="tanlu_module_card_margin_left">8px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">13px</dimen>
|
||||
<dimen name="tanlu_module_margin_right">7px</dimen>
|
||||
<dimen name="tanlu_module_margin_left">17px</dimen>
|
||||
<dimen name="tanlu_module_margin_top">3px</dimen>
|
||||
<dimen name="tanlu_module_mavi_height">18px</dimen>
|
||||
|
||||
@@ -191,10 +191,10 @@ public class V2XSurroundingAdapter extends RecyclerView.Adapter<V2XSurroundingVi
|
||||
typeName = "封路";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.FOURS_ICE:
|
||||
typeName = "路面结冰";
|
||||
typeName = "道路结冰";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.FOURS_FOG:
|
||||
typeName = "出现浓雾";
|
||||
typeName = "浓雾";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.TRAFFIC_CHECK:
|
||||
typeName = "交通检查";
|
||||
@@ -203,10 +203,10 @@ public class V2XSurroundingAdapter extends RecyclerView.Adapter<V2XSurroundingVi
|
||||
typeName = "交通事故";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.FOURS_BLOCK_UP:
|
||||
typeName = "道路拥堵";
|
||||
typeName = "拥堵";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.FOURS_ROAD_WORK:
|
||||
typeName = "道路施工";
|
||||
typeName = "施工";
|
||||
break;
|
||||
case MarkerPoiTypeEnum.FOURS_PONDING:
|
||||
typeName = "道路积水";
|
||||
|
||||
|
After Width: | Height: | Size: 659 B |
|
After Width: | Height: | Size: 659 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
@@ -22,14 +22,16 @@
|
||||
android:layout_marginLeft="@dimen/module_v2x_surrounding_margin_left"
|
||||
android:text="周围5公里,共15条交通信息"
|
||||
android:textColor="@color/v2x_white"
|
||||
android:layout_marginBottom="2px"
|
||||
android:textSize="@dimen/module_v2x_surrounding_top_textsize" />
|
||||
|
||||
<!-- android:layout_centerInParent="true"-->
|
||||
<TextView
|
||||
android:id="@+id/tv_top_refresh"
|
||||
android:layout_width="@dimen/module_v2x_surrounding_top_bt_width"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_top_bt_height"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginRight="@dimen/module_v2x_surrounding_margin_left"
|
||||
android:background="@drawable/bg_v2x_refresh"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
android:scaleType="fitXY"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
<!-- android:src="@drawable/mogo_image_nongwu_nor"-->
|
||||
<!-- android:src="@drawable/mogo_image_nongwu_nor" bg_v2x_event_surrounding_item_bottom-->
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="@drawable/bg_v2x_event_surrounding_item_bottom"
|
||||
android:background="@drawable/v2x_surrounding_bottom_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/module_v2x_surrounding_item_bottom">
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
<dimen name="module_v2x_surrounding_empty_bt_width">150px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_height">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">28px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">28px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_image_height">190px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">173px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">170px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom">43px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_image_height">26px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_marigin_left">12px</dimen>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<dimen name="module_v2x_history_event_icon_size">80px</dimen>
|
||||
|
||||
<dimen name="module_v2x_surrounding_item_bottom_size">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_size">15px</dimen>
|
||||
<dimen name="module_v2x_map_left">550px</dimen>
|
||||
<dimen name="module_v2x_map_top">200px</dimen>
|
||||
<dimen name="module_v2x_map_right">200px</dimen>
|
||||
@@ -36,8 +36,8 @@
|
||||
<dimen name="module_v2x_surrounding_empty_bt_width">270px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_height">86px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_margin_top">58px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_image_height">349px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
<dimen name="module_v2x_history_event_icon_size">80px</dimen>
|
||||
|
||||
<dimen name="module_v2x_surrounding_item_bottom_size">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_size">15px</dimen>
|
||||
<dimen name="module_v2x_map_left">550px</dimen>
|
||||
<dimen name="module_v2x_map_top">200px</dimen>
|
||||
<dimen name="module_v2x_map_right">200px</dimen>
|
||||
@@ -37,8 +37,8 @@
|
||||
<dimen name="module_v2x_surrounding_empty_bt_width">270px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_height">86px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_margin_top">58px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_image_height">349px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">306px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom">77px</dimen>
|
||||
|
||||
@@ -39,10 +39,10 @@
|
||||
<dimen name="module_v2x_surrounding_empty_bt_width">150px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_height">48px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_bt_margin_top">32px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">10px</dimen>
|
||||
<dimen name="module_v2x_surrounding_root_margin_left">28px</dimen>
|
||||
<dimen name="module_v2x_surrounding_margin_left">28px</dimen>
|
||||
<dimen name="module_v2x_surrounding_empty_image_height">190px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">173px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_height">170px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom">43px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_bottom_image_height">26px</dimen>
|
||||
<dimen name="module_v2x_surrounding_item_marigin_left">12px</dimen>
|
||||
|
||||
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 4.6 KiB |
@@ -13,5 +13,6 @@
|
||||
<color name="tanlu_dialog_bt_right_color_light">#E8E8E8</color>
|
||||
<color name="tanlu_top_bg_startcolor_light">#F5F5F5</color>
|
||||
<color name="tanlu_top_bg_endcolor_light">#FFFFFF</color>
|
||||
<color name="tanlu_555A_F5F5_light">#F5F5F5</color>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -47,7 +47,7 @@ dependencies {
|
||||
// implementation 'skin.support:skin-support-constraint-layout:4.0.5' // skin-support-constraint-layout ConstraintLayout 控件支持[可选]
|
||||
|
||||
implementation project(":skin:skin-support")
|
||||
implementation project(":skin:skin-support-appcompat")
|
||||
api project(":skin:skin-support-appcompat")
|
||||
implementation project(":skin:skin-support-cardview")
|
||||
implementation project(":skin:skin-support-constraint-layout")
|
||||
implementation project(":skin:skin-support-design")
|
||||
|
||||
@@ -65,16 +65,16 @@ abstract class MogoSkinCompatHelperDelegate implements IMogoSkinCompatSupportabl
|
||||
|
||||
protected static Method getLoadFromAttributesMethod() throws Exception {
|
||||
if ( mTargetClazz != null ) {
|
||||
Method method = mTargetClazz.getDeclaredMethod( "loadFromAttributes", AttributeSet.class, int.class );
|
||||
method.setAccessible( true );
|
||||
sMethodLoadFromAttributes = mTargetClazz.getDeclaredMethod( "loadFromAttributes", AttributeSet.class, int.class );
|
||||
sMethodLoadFromAttributes.setAccessible( true );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static Method getApplySkinMethod() throws Exception {
|
||||
if ( mTargetClazz != null ) {
|
||||
Method method = mTargetClazz.getDeclaredMethod( "applySkin" );
|
||||
method.setAccessible( true );
|
||||
sMethodApplySkin = mTargetClazz.getDeclaredMethod( "applySkin" );
|
||||
sMethodApplySkin.setAccessible( true );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||