Failed to find style 'progressBarStyle' in current theme

  • 1 Antworten
  • Letztes Antwortdatum
W

wdew

Ambitioniertes Mitglied
0
Heyho,
kann mir sagen wo der Fehler sein kann?
Code:
<[COLOR=#000080][B]ProgressBar
[/B][/COLOR][COLOR=#0000ff][B]style=[/B][/COLOR][COLOR=#008000][B]"?android:attr/progressBarStyleSmall"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:[/B][/COLOR][COLOR=#0000ff][B]layout_width[/B][/COLOR][COLOR=#0000ff][B]=[/B][/COLOR][COLOR=#008000][B]"wrap_content"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:layout_height=[/B][/COLOR][COLOR=#008000][B]"wrap_content"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:id=[/B][/COLOR][COLOR=#008000][B]"@+id/progressBar"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:layout_gravity=[/B][/COLOR][COLOR=#008000][B]"right" [/B][/COLOR]/>
Warum ich überhaupt nachfrage?
Code:
Missing styles.
Is the correct theme chosen for this layout? 
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. 
Failed to find style 'progressBarStyle' in current theme (2 similar errors not shown)
Hier noch die Manifest:

Code:
[I]<?[/I][COLOR=#0000ff][B]xml version=[/B][/COLOR][COLOR=#008000][B]"1.0" [/B][/COLOR][COLOR=#0000ff][B]encoding=[/B][/COLOR][COLOR=#008000][B]"utf-8"[/B][/COLOR][I]?>
[/I]<[COLOR=#000080][B]manifest [/B][/COLOR][COLOR=#0000ff][B]xmlns:[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]=[/B][/COLOR][COLOR=#008000][B]"http://schemas.android.com/apk/res/android"
[/B][/COLOR][COLOR=#0000ff][B]package=[/B][/COLOR][COLOR=#008000][B]"com.bulbfire.android.aternos" [/B][/COLOR]>

    <[COLOR=#000080][B]application
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:allowBackup=[/B][/COLOR][COLOR=#008000][B]"true"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:icon=[/B][/COLOR][COLOR=#008000][B]"@mipmap/ic_launcher"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:label=[/B][/COLOR][COLOR=#008000][B]"@string/app_name"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:theme=[/B][/COLOR][COLOR=#008000][B]"@style/AppTheme" [/B][/COLOR]>
        <[COLOR=#000080][B]activity[/B][/COLOR][COLOR=#000080][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:name=[/B][/COLOR][COLOR=#008000][B]".MainActivity"
[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:label=[/B][/COLOR][COLOR=#008000][B]"@string/app_name" [/B][/COLOR]>
            <[COLOR=#000080][B]intent-filter[/B][/COLOR]>
                <[COLOR=#000080][B]action [/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:name=[/B][/COLOR][COLOR=#008000][B]"android.intent.action.MAIN" [/B][/COLOR]/>
                <[COLOR=#000080][B]category [/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:name=[/B][/COLOR][COLOR=#008000][B]"android.intent.category.LAUNCHER" [/B][/COLOR]/>
            </[COLOR=#000080][B]intent-filter[/B][/COLOR]>
        </[COLOR=#000080][B]activity[/B][/COLOR]>
        <[COLOR=#000080][B]activity[/B][/COLOR][COLOR=#660e7a][B]android[/B][/COLOR][COLOR=#0000ff][B]:name=[/B][/COLOR][COLOR=#008000][B]".activity.LoadingActivity"[/B][/COLOR]/>
    </[COLOR=#000080][B]application[/B][/COLOR]>

</[COLOR=#000080][B]manifest[/B][/COLOR]>
und meine styles.xml
Code:
<[COLOR=#000080][B]resources[/B][/COLOR]>

    [COLOR=#808080][I]<!-- Base application theme. -->
[/I][/COLOR]<[COLOR=#000080][B]style [/B][/COLOR][COLOR=#0000ff][B]name=[/B][/COLOR][COLOR=#008000][B]"AppTheme" [/B][/COLOR][COLOR=#0000ff][B]parent=[/B][/COLOR][COLOR=#008000][B]"Theme.AppCompat.Light.DarkActionBar"[/B][/COLOR]>
        [COLOR=#808080][I]<!-- Customize your theme here. -->
[/I][/COLOR]</[COLOR=#000080][B]style[/B][/COLOR]>

</[COLOR=#000080][B]resources[/B][/COLOR]>

Das gleiche gilt für edittext:
Code:
Missing styles.
Is the correct theme chosen for this layout? 
Use the Theme combo box above the layout to choose a different layout, or fix the theme style references. 
Failed to find style 'editTextStyle' in current theme (4 similar errors not shown)
 
Zuletzt bearbeitet:
-"Is the correct theme chosen for this layout?"
-SDK Version niedriger als die benötigte?
-support library richtig eingebunden?
 
Zurück
Oben Unten