我想在我的項(xiàng)目中實(shí)現(xiàn)操作欄。我已經(jīng)在 xml、主要活動(dòng)等中實(shí)現(xiàn)了所有內(nèi)容,但是當(dāng)我運(yùn)行我的應(yīng)用程序時(shí),操作欄沒有出現(xiàn)。我正在嘗試使用操作欄進(jìn)入另一個(gè) activity.java有人可以幫助我嗎?我的代碼有什么問題?xml 主菜單<?xml version="1.0" encoding="utf-8"?><menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/setting" android:title="@string/GotoResult" app:showAsAction="never"> </item></menu>Android_manifest<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.google.android.gms.samples.vision.face.rPPG" android:installLocation="auto" android:versionCode="1" android:versionName="1"> <uses-feature android:name="android.hardware.camera" /> <uses-permission android:name="android.permission.CAMERA" /> <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23" /> <application android:allowBackup="true" android:hardwareAccelerated="true" android:icon="@drawable/ic_launcher" android:theme="@style/Theme.AppCompat" android:label="rPPG"> <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="face" /> <activity android:name="com.google.android.gms.samples.vision.face.rPPG.SplashScreen" android:label="@string/Splash" android:theme="@style/Theme.AppCompat" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>
添加回答
舉報(bào)
0/150
提交
取消