View wird nicht angezeigt

  • Antworten:1
Rodriguez
  • Forum-Beiträge: 39

30.06.2014, 12:04:04 via Website

Hallo zusammen

Ich habe eine View die dann in der Mainactivity ausgefüllt wird. Jedoch wird diese View nicht angezeigt

<RelativeLayout xmlns:android="schemas.android.com/apk/res/android"
xmlns:tools="/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"
tools:context=".MainActivity" >

<ImageView
    android:id="@+id/show"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:contentDescription="@string/vorschau"
    />

<Button
    android:id="@+id/Button01"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_centerHorizontal="true"
    android:text="@string/bild_auswählen" />

</RelativeLayout>

Würde mich freuen wen mir jemand helfen kann

LG Rodriguez

Antworten
Rodriguez
  • Forum-Beiträge: 39

30.06.2014, 15:33:37 via Website

Hallo,

Ich konnte das Problem selber lösen.

Es fehlten die Permissions in der Manifest.

Lg Rodriguez

Antworten