当我的模拟器打印“无法打开应用程序”时,我试图向我的活动之一添加一个动画的提交按钮。但是,调试工具未检测到错误。如果您能帮助我解决此问题,我们将不胜感激。
<com.spark.submitbutton.SubmitButton
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="428dp"
android:text="Support"
android:textColor="@color/white"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:sub_btn_background="@color/white"
app:sub_btn_duration="3000"
app:sub_btn_line_color="@drawable/catalyzechangebtn"
app:sub_btn_ripple_color="@drawable/catalyzechangebtn"
app:sub_btn_tick_color="@color/black" />
有关其他上下文,这是android清单代码:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.androidcodefinder.loginscreendemo">
<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_background"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SignUpActivity" />
<activity android:name=".zippage" />
<activity android:name=".Catalysts.CatalystsActivity" />
<activity android:name=".Profile.ProfileActivity" />
<activity android:name=".Analytics.AnalyticsActivity" />
<activity android:name=".postpg"/>
</application>
</manifest>