Bildbeschreibung hier eingeben Ich kann Android Studio nicht starten und läuft, auch ein einfaches Programm wie Hallo Welt zu laufen. Ich bekomme immer wieder Probleme beim Rendern. Wenn ich zwischen APIs hin und her gehe, wird es manchmal gelöscht und kommt wieder zurück, wenn ich zurück zu API10 gehe. Ich möchte API10 verwenden, da dies auf vielen Plattformen unterstützt wird.Android Rendering Probleme
[Android Studio Rendering] [1]
Hier wird die content.xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="com.voxstudios.tryagain.whatda"
tools:showIn="@layout/activity_whatda">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello youtube"
tools:ignore="HardcodedText"
android:textSize="@android:dimen/app_icon_size" />
Datei und die Activity.xml
<?xml version="1.0" encoding="utf-8"?>
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.voxstudios.tryagain.whatda">
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
</android.support.design.widget.AppBarLayout>
<include layout="@layout/content_whatda" />
<android.support.design.widget.FloatingActionButton
android:id="@+id/fab"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom|end"
android:layout_margin="@dimen/fab_margin"
android:src="@android:drawable/ic_dialog_email" />
</android.support.design.widget.CoordinatorLayout>
Und die Manifest-Datei. XML-Datei
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.voxstudios.tryagain">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".whatda"
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>
Ich bin ein totaler noob Android so wird jede Hilfe appriciated
[Android Studio Bild] [2]
[2]: http://i.stack.imgur.com/VP8W8.png