Grundaufbau der App
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_appsearch_listitem.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:orientation="vertical" android:layout_width="match_parent"
4     android:layout_height="match_parent">
5
6     <LinearLayout
7         android:orientation="vertical"
8         android:layout_width="match_parent"
9         android:layout_height="wrap_content"
10         android:layout_margin="5dp"
11         android:focusable="false"
12         android:clickable="false">
13
14         <RelativeLayout
15             android:layout_width="wrap_content"
16             android:layout_height="wrap_content"
17             android:layout_marginBottom="3dp">
18
19             <TextView
20                 android:layout_width="wrap_content"
21                 android:layout_height="wrap_content"
22                 android:textAppearance="?android:attr/textAppearanceMedium"
23                 android:text="{Title}"
24                 android:id="@+id/resultTitle" />
25         </RelativeLayout>
26
27         <LinearLayout
28             android:layout_width="match_parent"
29             android:layout_height="match_parent"
30             android:orientation="horizontal">
31
32             <LinearLayout
33                 android:layout_width="wrap_content"
34                 android:layout_height="match_parent">
35
36                 <ImageView
37                     android:layout_width="40dp"
38                     android:layout_height="wrap_content"
39                     android:id="@+id/imageView2"
40                     android:src="@drawable/appsearch_resulttype_inapp"
41                     android:adjustViewBounds="true" />
42             </LinearLayout>
43
44             <LinearLayout
45                 android:orientation="vertical"
46                 android:layout_width="wrap_content"
47                 android:layout_height="match_parent"
48                 android:layout_gravity="left"
49                 android:layout_weight="1">
50
51                 <TextView
52                     android:layout_width="wrap_content"
53                     android:layout_height="wrap_content"
54                     android:text="{Description}"
55                     android:id="@+id/resultDescription" />
56             </LinearLayout>
57
58         </LinearLayout>
59
60     </LinearLayout>
61
62 </LinearLayout>