Initial-Release

This commit is contained in:
2015-09-16 17:29:55 +02:00
parent 3ba9260cab
commit 479028c57a
216 changed files with 5773 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
tools:context=".MainActivity">
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_row_selector" />
</RelativeLayout>

View File

@@ -0,0 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
tools:context=".MainActivity" >
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_row_selector" />
</RelativeLayout>

View File

@@ -0,0 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
tools:context=".MainActivity" >
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_row_selector" />
</RelativeLayout>

View File

@@ -0,0 +1,80 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/android:list"
android:layout_width="match_parent"
android:background="@drawable/bg"
android:layout_height="match_parent" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity" >
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- Autoren Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/news_image"
android:layout_marginLeft="10dp"
android:layout_marginTop="30dp"
android:layout_marginBottom="30dp"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_below="@id/objectid"
android:clickable="true"
android:onClick="showImage"
android:layout_marginRight="8dp" />
<!-- AutorenText -->
<TextView
android:id="@+id/news_title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:textStyle="bold|italic"
android:shadowColor="#ff797979"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1.5"
android:layout_toRightOf="@+id/news_image"
android:layout_below="@id/objectid"
android:textSize="@dimen/title" />
</RelativeLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_margin="5dp"
android:padding="5dp"
android:orientation="horizontal">
<TextView
android:id="@+id/news_content"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:layout_marginBottom="45dp"
android:textSize="@dimen/rating" />
</LinearLayout>
</LinearLayout>
</ScrollView>

View File

@@ -0,0 +1,61 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/android:list"
android:layout_width="match_parent"
android:background="@drawable/bg"
android:layout_height="match_parent" >
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_margin="5dp"
android:padding="5dp"
android:orientation="horizontal">
<EditText
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/searchtext"
android:hint="@string/searchlabel"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp" />
</LinearLayout>
<Button
android:id="@+id/suchen_button"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_suchen"
android:layout_marginTop="20dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:onClick="searchNow"
android:textColor="#FFFFFF"
android:textSize="15sp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
/>
</LinearLayout>
</ScrollView>

View File

@@ -0,0 +1,16 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/bg"
tools:context=".MainActivity" >
<ListView
android:id="@+id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:divider="@color/list_divider"
android:dividerHeight="1dp"
android:listSelector="@drawable/list_row_selector" />
</RelativeLayout>

View File

@@ -0,0 +1,205 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/android:list"
android:layout_width="match_parent"
android:background="@drawable/bg"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_margin="5dp"
android:orientation="horizontal">
<!-- Zitat -->
<TextView
android:id="@+id/zitat"
android:layout_marginTop="30dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAlignment="center"
android:textColor="#ff797979"
android:gravity="center"
android:textSize="@dimen/zitat"
android:shadowColor="#000000"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1.5"
android:textStyle="bold|italic" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- AutorenID -->
<TextView
android:id="@+id/autoren_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- KategorieID -->
<TextView
android:id="@+id/kategorie_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_marginTop="15dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:paddingBottom="5dp"
android:orientation="horizontal">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!-- Autoren Thumbnail Image -->
<ImageView
android:id="@+id/autoren_imagepic"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_marginLeft="10dp"
android:layout_marginBottom="10dp"
android:layout_alignParentLeft="true"
android:clickable="true"
android:onClick="showImage"
android:layout_marginRight="8dp"
/>
<!-- AutorenText -->
<TextView
android:id="@+id/autoren_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_toRightOf="@+id/autoren_imagepic"
android:textSize="@dimen/rating" />
<TextView
android:id="@+id/autoren_beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/autoren_text"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/autoren_imagepic"
android:textSize="@dimen/rating" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:background="@drawable/layout_bg"
android:id="@+id/autoren_infoview"
android:orientation="horizontal">
<TextView
android:id="@+id/autoren_imagequelle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold|italic"
android:gravity="left"
android:clickable="true"
android:textSize="@dimen/quelle" />
<TextView
android:id="@+id/autoren_moreinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold|italic"
android:clickable="true"
android:gravity="right"
android:layout_marginLeft="5dp"
android:textSize="@dimen/quelle" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:background="@drawable/layout_bg"
android:orientation="horizontal">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!-- Kategorie Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/kategorie_image"
android:layout_marginLeft="10dp"
android:layout_marginBottom="20dp"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- KategorieText -->
<TextView
android:id="@+id/kategorie_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_toRightOf="@+id/kategorie_image"
android:textSize="@dimen/rating" />
<TextView
android:id="@+id/kategorie_beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/kategorie_text"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/kategorie_image"
android:textSize="@dimen/rating" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>

View File

@@ -0,0 +1,225 @@
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/android:list"
android:layout_width="match_parent"
android:background="@drawable/bg"
android:layout_height="match_parent">
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_margin="5dp"
android:orientation="horizontal">
<!-- Zitat -->
<TextView
android:id="@+id/zitat"
android:layout_marginTop="30dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginBottom="30dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAlignment="center"
android:textColor="#ff797979"
android:gravity="center"
android:textSize="@dimen/zitat"
android:shadowColor="#000000"
android:shadowDx="3"
android:shadowDy="3"
android:shadowRadius="1.5"
android:textStyle="bold|italic" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- AutorenID -->
<TextView
android:id="@+id/autoren_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- KategorieID -->
<TextView
android:id="@+id/kategorie_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginTop="1dip"
android:visibility = "gone"
android:textSize="@dimen/rating" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/layout_bg"
android:layout_marginTop="15dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:paddingBottom="5dp"
android:orientation="horizontal">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!-- Autoren Thumbnail Image -->
<ImageView
android:id="@+id/autoren_imagepic"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_marginLeft="10dp"
android:layout_marginBottom="10dp"
android:layout_alignParentLeft="true"
android:clickable="true"
android:onClick="showImage"
android:layout_marginRight="8dp"
/>
<!-- AutorenText -->
<TextView
android:id="@+id/autoren_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_toRightOf="@+id/autoren_imagepic"
android:textSize="@dimen/rating" />
<TextView
android:id="@+id/autoren_beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/autoren_text"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/autoren_imagepic"
android:textSize="@dimen/rating" />
</RelativeLayout>
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:paddingBottom="10dp"
android:background="@drawable/layout_bg"
android:id="@+id/autoren_infoview"
android:orientation="horizontal">
<TextView
android:id="@+id/autoren_imagequelle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold|italic"
android:gravity="left"
android:clickable="true"
android:textSize="@dimen/quelle" />
<TextView
android:id="@+id/autoren_moreinfo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold|italic"
android:clickable="true"
android:gravity="right"
android:layout_marginLeft="5dp"
android:textSize="@dimen/quelle" />
</LinearLayout>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical|center_horizontal"
android:layout_marginTop="10dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:paddingTop="10dp"
android:background="@drawable/layout_bg"
android:orientation="horizontal">
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<!-- Kategorie Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/kategorie_image"
android:layout_marginLeft="10dp"
android:layout_marginBottom="20dp"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- KategorieText -->
<TextView
android:id="@+id/kategorie_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textStyle="bold"
android:layout_toRightOf="@+id/kategorie_image"
android:textSize="@dimen/rating" />
<TextView
android:id="@+id/kategorie_beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/kategorie_text"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/kategorie_image"
android:textSize="@dimen/rating" />
</RelativeLayout>
</LinearLayout>
<Button
android:id="@+id/zitat_more_zitat"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/button_load_next_zitat"
android:layout_below="@id/kategorie_image"
android:layout_marginTop="15dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp"
android:onClick="loadNextZitat"
android:textColor="#FFFFFF"
android:textSize="15sp"
android:background="@drawable/buttonshape"
android:shadowColor="#A8A8A8"
android:shadowDx="0"
android:shadowDy="0"
android:shadowRadius="5"
/>
</LinearLayout>
</ScrollView>

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<ImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp"/>
<!-- Title -->
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/zitatlist"
android:textStyle="bold" />
<!-- Beschreibung -->
<TextView
android:id="@+id/beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/rating" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/beschreibung"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- Anzahl -->
<TextView
android:id="@+id/anzahl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
</RelativeLayout>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Zitat -->
<TextView
android:id="@+id/zitat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/zitatlist"
android:textStyle="bold" />
<!-- Zitatfooter -->
<TextView
android:id="@+id/zitatfooter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitat"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitatfooter"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- AutorenID -->
<TextView
android:id="@+id/autoren_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- KategorieID -->
<TextView
android:id="@+id/kategorie_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/autoren_id"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
</RelativeLayout>

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Title -->
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/title"
android:textStyle="bold" />
<!-- Beschreibung -->
<TextView
android:id="@+id/beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/rating" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/beschreibung"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- Anzahl -->
<TextView
android:id="@+id/anzahl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
</RelativeLayout>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Zitat -->
<TextView
android:id="@+id/zitat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/zitatlist"
android:textStyle="bold" />
<!-- Zitatfooter -->
<TextView
android:id="@+id/zitatfooter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitat"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitatfooter"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- AutorenID -->
<TextView
android:id="@+id/autoren_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- KategorieID -->
<TextView
android:id="@+id/kategorie_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/autoren_id"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
</RelativeLayout>

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Title -->
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/title"
android:textStyle="bold" />
<!-- Beschreibung -->
<TextView
android:id="@+id/beschreibung"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/rating" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/beschreibung"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- Anzahl -->
<TextView
android:id="@+id/anzahl"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:visibility = "gone"
android:textSize="@dimen/genre" />
</RelativeLayout>

57
res/layout/list_row.xml Normal file
View File

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Movie Title -->
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/title"
android:textStyle="bold" />
<!-- Rating -->
<TextView
android:id="@+id/rating"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/title"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/rating" />
<!-- Genre -->
<TextView
android:id="@+id/genre"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/rating"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
<!-- Release Year -->
<TextView
android:id="@+id/releaseYear"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:textColor="@color/year"
android:textSize="@dimen/year" />
</RelativeLayout>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_row_selector"
android:padding="8dp" >
<!-- Thumbnail Image -->
<com.android.volley.toolbox.NetworkImageView
android:id="@+id/thumbnail"
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_alignParentLeft="true"
android:layout_marginRight="8dp" />
<!-- Zitat -->
<TextView
android:id="@+id/zitat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignTop="@+id/thumbnail"
android:layout_toRightOf="@+id/thumbnail"
android:textSize="@dimen/zitatlist"
android:textStyle="bold" />
<!-- Zitatfooter -->
<TextView
android:id="@+id/zitatfooter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitat"
android:layout_marginTop="5dp"
android:layout_toRightOf="@+id/thumbnail"
android:textColor="@color/genre"
android:textSize="@dimen/genre" />
<!-- ObjetcID -->
<TextView
android:id="@+id/objectid"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/zitatfooter"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- AutorenID -->
<TextView
android:id="@+id/autoren_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/objectid"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
<!-- KategorieID -->
<TextView
android:id="@+id/kategorie_id"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@id/autoren_id"
android:layout_marginTop="1dip"
android:layout_toRightOf="@+id/thumbnail"
android:visibility = "gone"
android:textSize="@dimen/rating" />
</RelativeLayout>