Commit 8fdc3fbb authored by mengcuiguang2's avatar mengcuiguang2

代码优化

parent 9249decf
......@@ -285,6 +285,9 @@ dependencies {
implementation("com.mbridge.msdk.support:mbbid:16.3.27")
implementation("com.mbridge.msdk.support:newinterstitial:16.3.27")
// implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:6.8.11'
// 兼容快手插屏广告
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
......
This diff is collapsed.
......@@ -154,7 +154,7 @@ public class InMoneyFull {
}
private String getFullId() {
return CsjGroMoreManager.INSTANCE.getIN_COMMON_FULL_CODE();
return CsjGroMoreManager.IN_COMMON_FULL_CODE;
}
public void showFullAd(Activity _activity, WifiAdStatusListener wifiAdStatusListener,
......
......@@ -153,7 +153,7 @@ public class NewInSceneFull {
}
private String getFullId() {
return CsjGroMoreManager.INSTANCE.getInCommonNewInterstitialId();
return CsjGroMoreManager.IN_COMMON_NEW_INTERSTITIAL_CODE;
}
public void showFullAd(WifiAdStatusListener wifiAdStatusListener, String carrier) {
......
......@@ -9,12 +9,12 @@ import com.mints.bcurd.BuildConfig
object CsjGroMoreManager {
//-------------------------广告位 start-----------------------------
var IN_COMMON_FULL_CODE = BuildConfig.IN_COMMON_FULL_CODE // 应用内 网赚 新插屏(全屏)
var IN_COMMON_NEW_INTERSTITIAL_CODE =
const val IN_COMMON_FULL_CODE = BuildConfig.IN_COMMON_FULL_CODE // 应用内 网赚 新插屏(全屏)
const val IN_COMMON_NEW_INTERSTITIAL_CODE =
BuildConfig.IN_COMMON_NEW_INTERSTITIAL_CODE // 应用内 网赚 新插屏(半屏)
var IN_MONEY_SPLASH_CODE = BuildConfig.IN_MONEY_SPLASH_AD_CODE // 应用内 网赚 开屏
var IN_MONEY_VIDEO_AD_CODE = BuildConfig.IN_MONEY_VIDEO_AD_CODE // 应用内 网赚 激励视频
var IN_MONEY_EXPRESS_AD_CODE = BuildConfig.IN_MONEY_EXPRESS_AD_CODE // 应用内 网赚 信息流
const val IN_MONEY_SPLASH_CODE = BuildConfig.IN_MONEY_SPLASH_AD_CODE // 应用内 网赚 开屏
const val IN_MONEY_VIDEO_AD_CODE = BuildConfig.IN_MONEY_VIDEO_AD_CODE // 应用内 网赚 激励视频
const val IN_MONEY_EXPRESS_AD_CODE = BuildConfig.IN_MONEY_EXPRESS_AD_CODE // 应用内 网赚 信息流
//-------------------------广告位 end-----------------------------
/**
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="10dp" />
<gradient
android:angle="90"
android:endColor="#6dd5ed"
android:startColor="#2193b0" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="5dp" />
<stroke
android:width="1px"
android:color="@color/graygai" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/line_gury_color" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/ban_transparent" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="10dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="#556A97" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="30dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="30dip" />
<stroke
android:width="1dp"
android:color="#556A97" />
<padding
android:bottom="2dp"
android:left="10dp"
android:right="10dp"
android:top="2dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<padding
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp" />
<stroke
android:width="1dp"
android:color="#FF9837" />
<solid android:color="@color/white" />
<corners android:radius="5dp" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"/>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- 填充的颜色 -->
<solid android:color="@color/black" />
<!-- 设置按钮的四个角为弧形 -->
<!-- android:radius 弧形的半径 -->
<corners android:radius="30dip" />
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<com.mints.bcurd.ui.widgets.ElasticScrollView 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="match_parent"
android:overScrollMode="never">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipChildren="false">
<com.mints.bcurd.ui.widgets.PhotoWrpView
android:id="@+id/photoWrpView"
android:layout_width="match_parent"
android:layout_height="420dp"
android:layout_marginStart="20dp"
android:layout_marginTop="40dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="30dp"
android:background="@mipmap/bg_gridding"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_bg"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:text="选择背景色"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/photoWrpView" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/bgColorRv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:overScrollMode="never"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_bg" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/inchRv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:overScrollMode="never"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/bgColorRv" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:paddingBottom="20dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/inchRv">
<ImageView
android:id="@+id/iv_back"
android:layout_width="50dp"
android:layout_height="50dp"
android:src="@mipmap/ic_photo_back"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@drawable/item_inch_unselected"
android:paddingStart="6dp"
android:paddingTop="4dp"
android:paddingEnd="6dp"
android:paddingBottom="4dp"
android:textColor="@color/gray"
android:visibility="gone" />
<ImageView
android:id="@+id/iv_next"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="end"
android:src="@mipmap/ic_photo_next"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</FrameLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</com.mints.bcurd.ui.widgets.ElasticScrollView>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<com.mints.bcurd.ui.widgets.ElasticScrollView 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="match_parent"
android:overScrollMode="never">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="30dp">
<ImageView
android:id="@+id/img_check"
android:layout_width="280dp"
android:layout_height="380dp"
android:layout_marginTop="80dp"
android:scaleType="fitCenter"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_result"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:text="检测结果"
android:textColor="@color/black"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/img_check" />
<TextView
android:id="@+id/tv_result_info"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="60dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="60dp"
android:background="@drawable/shape_bg_gray"
android:gravity="center"
android:minHeight="80dp"
android:padding="20dp"
android:textColor="@color/black"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_result" />
<TextView
android:id="@+id/btn_back"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:layout_marginLeft="30dp"
android:layout_marginTop="30dp"
android:layout_marginRight="30dp"
android:background="@drawable/shape_vip"
android:gravity="center"
android:text="重新拍摄"
android:textColor="@color/white"
android:textSize="18sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_result_info" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.mints.bcurd.ui.widgets.ElasticScrollView>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat 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="match_parent"
android:orientation="vertical"
tools:context=".ui.activitys.MultiBodySegActivity">
<include layout="@layout/include_header" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:layout_weight="1"
android:background="@mipmap/bg_gridding">
<FrameLayout
android:id="@+id/hot_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mints.bcurd.ui.widgets.TransformativeImageView
android:id="@+id/iv"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</FrameLayout>
</FrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".ui.activitys.MultiBodySegActivity">
<include layout="@layout/include_header" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_gravity="center"
android:layout_marginBottom="10dp"
android:layout_weight="1"
android:background="@mipmap/bg_gridding">
<FrameLayout
android:id="@+id/hot_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:gravity="center">
</FrameLayout>
</FrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recy_choose"
android:layout_width="match_parent"
android:layout_height="150dp"
android:padding="10dp" />
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat 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="match_parent"
android:orientation="vertical">
<include layout="@layout/include_header" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:id="@+id/hot_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_margin="20dp"
android:visibility="gone">
<ImageView
android:id="@+id/iv_bg"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="fitXY" />
<com.mints.bcurd.ui.widgets.TransformativeImageView
android:id="@+id/iv_pre"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:max_scale="1"
app:min_scale="0.1"
app:open_rotate_revert="false"
app:open_scale_revert="true"
app:open_translate_revert="false"
app:revert_duration="200"
app:scale_center="finger_center" />
</FrameLayout>
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/sample_container"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/iv_pre_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintBottom_toTopOf="@+id/vp_grid"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/vp_grid"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_marginBottom="20dp"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
android:orientation="vertical"
>
<include layout="@layout/include_header" />
<ImageView
android:layout_margin="20dp"
android:id="@+id/iv_pre"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:scaleType="fitXY" />
<TextView
android:id="@+id/tvStyleName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:textColor="#556A97"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_sub_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="15dp"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tvStyleStr2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginBottom="5dp"
android:textColor="@color/gray"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:visibility="gone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="5dp"
android:drawablePadding="5dp"
android:text="会员永久解锁当前特效"
android:textColor="@color/gray"
android:textSize="12sp"
app:drawableStartCompat="@mipmap/ic_lock" />
<Button
android:id="@+id/btnSample"
android:layout_width="220dp"
android:layout_height="46dp"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="30dp"
android:background="@drawable/shape_btn_blue"
android:textColor="@color/white"
android:textSize="16sp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="match_parent"
android:orientation="vertical">
<include layout="@layout/include_header" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="20dp">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginBottom="20dp"
app:layout_constraintBottom_toTopOf="@+id/linearLayoutCompat"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/iv_img"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</FrameLayout>
<androidx.appcompat.widget.LinearLayoutCompat
android:id="@+id/linearLayoutCompat"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
tools:layout_editor_absoluteX="20dp">
<TextView
android:id="@+id/tvSaveLeft"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:drawablePadding="5dp"
android:gravity="center"
android:text="保存"
android:textColor="@color/main_color"
android:textSize="18sp"
app:drawableTopCompat="@mipmap/ic_save" />
<TextView
android:id="@+id/tvSaveRight"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:drawablePadding="5dp"
android:gravity="center"
android:text="分享"
android:textColor="@color/main_color"
android:textSize="18sp"
app:drawableTopCompat="@mipmap/ic_share" />
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/include_header" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recyclerView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:nestedScrollingEnabled="false"
android:scrollbars="none" />
</LinearLayout>
\ No newline at end of file
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fadingEdge="none"
android:overScrollMode="never">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
</LinearLayout>
</ScrollView>
</RelativeLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="70dp"
android:paddingTop="25dp">
<ImageView
android:id="@+id/iv_left_icon"
android:layout_width="50dp"
android:layout_height="50dp"
android:padding="10dp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:lines="1"
android:maxLength="12"
android:padding="8dp"
android:textColor="@color/black"
android:textSize="18sp"
android:textStyle="bold"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:lines="1"
android:maxLength="12"
android:textColor="#121B32"
android:textSize="18sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginEnd="10dp"
android:scaleType="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/iv_right_icon"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/iv_right_icon"
android:layout_width="30dp"
android:layout_height="30dp"
android:layout_marginEnd="10dp"
android:scaleType="center"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:textColor="#121B32"
android:textSize="16sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<View
style="@style/view_line_E6E6E6"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/iv_right_icon" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<com.mints.bcurd.ui.widgets.BgChooseView
android:id="@+id/bcv"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_margin="10dp" />
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="110dp"
android:layout_height="130dp">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_gravity="center_horizontal"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:background="@drawable/shape_bg_gray">
<ImageView
android:id="@+id/item_img"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="centerInside"
android:src="@mipmap/ic_launcher_main"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/item_mask"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_bg_trans"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|bottom" />
<ImageView
android:id="@+id/item_close"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_gravity="end"
android:src="@mipmap/ic_delete"
android:visibility="gone" />
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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="wrap_content"
android:layout_margin="4dp"
android:background="@color/black"
android:orientation="vertical">
<com.itheima.roundedimageview.RoundedImageView
android:id="@+id/iv_img"
android:layout_width="match_parent"
android:layout_height="220dp"
android:layout_marginLeft="6dp"
android:layout_marginRight="6dp"
android:scaleType="centerCrop"
app:riv_corner_radius="10dp" />
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:ellipsize="end"
android:lines="1"
android:singleLine="true"
android:textColor="@color/white"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:id="@+id/tv_detail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="6dp"
android:layout_marginBottom="10dp"
android:drawablePadding="6dp"
android:gravity="center_vertical"
android:textColor="@color/white"
android:textSize="12sp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="76dp"
android:layout_height="90dp"
android:layout_margin="10dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/ic_inch_avatar" />
<TextView
android:id="@+id/tv_inch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="一寸"
android:textSize="16sp" />
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/item_grid_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingTop="10dp"
android:paddingBottom="5dp"
tools:ignore="InvalidId">
<ImageView
android:id="@+id/ic_my_icon"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="center_horizontal"
android:scaleType="centerCrop" />
<TextView
android:id="@+id/tv_my_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="5dp"
android:textColor="#555555"
android:textSize="14sp" />
</androidx.appcompat.widget.LinearLayoutCompat>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent"
android:padding="10dp">
<com.itheima.roundedimageview.RoundedImageView
android:id="@+id/iv_img"
android:layout_width="match_parent"
android:layout_height="0dp"
android:src="@mipmap/bg_guide1"
app:layout_constraintBottom_toTopOf="@id/tv_use_count"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:riv_corner_radius="10dp" />
<TextView
android:id="@+id/tv_use_count"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/iv_img" />
<TextView
android:id="@+id/tv_change_style"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/shape_btn_blue_circle"
android:drawablePadding="5dp"
android:text="@string/str_style_contrast"
android:textColor="#556A97"
app:drawableStartCompat="@mipmap/ic_style"
app:layout_constraintBottom_toBottomOf="@+id/tv_use_count"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/tv_use_count" />
<TextView
android:id="@+id/tv_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:drawablePadding="5dp"
android:text="会员可解锁当前模板"
android:verticalScrollbarPosition="right"
android:visibility="gone"
app:drawableStartCompat="@mipmap/ic_lock"
app:layout_constraintBottom_toTopOf="@id/btn_unlock"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_use_count" />
<Button
android:id="@+id/btn_unlock"
android:layout_width="300dp"
android:layout_height="46dp"
android:layout_marginTop="10dp"
android:background="@drawable/shape_btn_blue"
android:text="解锁模板"
android:textColor="@color/white"
app:layout_constraintBottom_toTopOf="@id/tv_2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_1" />
<TextView
android:id="@+id/tv_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="上滑查看更多模版"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btn_unlock" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<com.mints.bcurd.ui.widgets.ExpandableGridView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="20dp"
android:columnWidth="85dp"
android:divider="@null"
android:dividerHeight="10dp"
android:listSelector="#00000000"
android:numColumns="4"
android:scrollbars="none"
android:stretchMode="spacingWidthUniform" />
......@@ -3,15 +3,12 @@
<color name="main_mints">#187CFB</color>
<color name="color_FF9837">#eb81ea</color>
<color name="white">#FFFFFF</color>
<color name="graygai">#D9D9D9</color>
<color name="black">#000000</color>
<color name="gray">#808080</color>
<color name="red">#cb4a39</color>
<color name="blue">#0000FF</color>
<color name="graya">#AAAAAA</color>
<color name="color_939AA3">#939AA3</color>
<color name="full_transparent">#00000000</color>
<color name="ban_transparent">#60000000</color>
<color name="title_bg">#2B3238</color>
<color name="status_bg">#002444</color>
<color name="loading_bg">#600c224b</color>
......@@ -22,8 +19,6 @@
<color name="authentic_text">#FFFFFF</color>
<color name="product_net_text">#121B32</color>
<color name="order_color">#63677E</color>
<color name="main_color">#FD9A2A</color>
<color name="line_gury_color">#DBDBDB</color>
<color name="my_color_gray">#E6E6E6</color>
<color name="my_color_gray2">#F9FAFB</color>
......
......@@ -15,7 +15,6 @@
<string name="register_name">用户注册协议</string>
<string name="privacy_name">用户隐私协议</string>
<string name="members_name">会员付费协议</string>
<string name="str_style_contrast">效果对比</string>
<string name="dialog_update_hint">更新提示</string>
<string name="dialog_update_now">立即更新</string>
<string name="update_text4">请更新至最新版本,以便我们为您提供更良好的体验</string>
......
......@@ -7,7 +7,6 @@
<files-path
name="files"
path="." />
 
<cache-path
name="cache"
path="." />
......
......@@ -46,13 +46,8 @@ RELEASE_TALKING_DATA_KEY="D51BF06E868B4FD4BB275B989DB417C7"
#Gromore
GROMORE_APP_ID="5336123"
# ??? ?? ???(??)
IN_COMMON_FULL_CODE = ""
# ??? ?? ???(??)
IN_COMMON_NEW_INTERSTITIAL_CODE = "102144325"
# ??? ?? ????
IN_MONEY_VIDEO_AD_CODE = "102144903"
# ??? ?? ???
IN_MONEY_EXPRESS_AD_CODE = "102144231"
# ??
IN_MONEY_SPLASH_AD_CODE = "102165872"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment