Android如何将布局选项从材料设计更改为标准Android



im初学者(也是编程(,并遵循本教程之一,如何使用deseS deseS制作Android应用程序。不幸的是,由于教程是在两年前进行的,因此看起来更新版本的Android已删除了Im的依赖性(ROXTICON(。如何将布局从MD更改为标准Android?

下面有我的清单:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.gosia.animalsystem"
    android:versionCode="1"
    android:versionName="1.0" >
    <uses-sdk
        android:minSdkVersion="15"
        android:targetSdkVersion="23" />
    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme" >
        <activity
            android:name="com.example.gosia.animalsystem.AnimalSystemActivity"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
</manifest>

在styles.xml中检查apptheme。目前,它必须是AppCompattheme

将其更改为任何Holo主题。

希望这会有所帮助。

最新更新