- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 自定义tablayout实现
tablayout 在布局文件中展示<com.google.android.material.tabs.TabLayout android:id="@+id/tab_matter_detail" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_be
2020-07-03 09:11:48 229
原创 Android Studio 3.6.1 screenOrientation="portrait"报红问题修改
Android Studio 3.6.1 会在AndroidManifest.xml中出现screenOrientation="portrait"报红问题 如下图修改方法 打开file-settings 然后如下图操作Activity is locked to an orientation和Activity is locked to an orientation两个的对号去掉...
2020-05-08 10:07:34 333
原创 Android 9.0升级包打不开
1、打开代码:/*** 打开app*/ private void installApk(File file) { try { Intent intent = new Intent(Intent.ACTION_VIEW); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N...
2019-11-05 13:22:25 297
原创 Android 当exported属性改为false时报错
java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs集成信鸽推送后,被扫描出高级漏洞 android:exported=“true” 当改成false后编译后报错解决方案: 点开清单文件—>左下角merged manifest 将右侧的错误解决即可重新编译即可...
2019-10-25 15:47:27 1105
原创 ViewPager+Fragment的布局
package com.wzm.viewpager;import java.util.ArrayList;import java.util.List;import android.graphics.Color;import android.os.Bundle;import android.support.v4.app.Fragment;import andr
2015-12-30 10:25:42 188
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人