• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
18    android:layout_width="match_parent"
19    android:layout_height="match_parent" >
20
21    <LinearLayout
22        android:layout_width="match_parent"
23        android:layout_height="wrap_content"
24        android:orientation="vertical" >
25
26        <ImageView
27            android:id="@+id/recipeImageView"
28            android:layout_width="fill_parent"
29            android:layout_height="300dp"
30            android:layout_marginBottom="16dp"
31            android:background="@color/list_image_bg_color"
32            android:src="@drawable/ic_noimage" />
33
34        <LinearLayout
35            android:layout_width="fill_parent"
36            android:layout_height="wrap_content"
37            android:background="@color/list_text_bg_color"
38            android:orientation="vertical" >
39
40            <TextView
41                android:id="@+id/recipeTextTitle"
42                android:layout_width="wrap_content"
43                android:layout_height="wrap_content"
44                android:layout_marginBottom="8dp"
45                android:layout_marginLeft="8dp"
46                android:textAppearance="@style/RecipeHugeFont" />
47
48            <TextView
49                android:id="@+id/recipeTextSummary"
50                android:layout_width="wrap_content"
51                android:layout_height="wrap_content"
52                android:layout_marginBottom="16dp"
53                android:layout_marginLeft="16dp"
54                android:textAppearance="@style/RecipeSummaryFont" />
55        </LinearLayout>
56
57        <TextView
58            android:id="@+id/ingredientsHeader"
59            android:layout_width="wrap_content"
60            android:layout_height="wrap_content"
61            android:layout_marginBottom="8dp"
62            android:layout_marginLeft="8dp"
63            android:text="@string/ingredients"
64            android:textAppearance="@style/RecipeTitleFont"
65            android:visibility="gone" />
66
67        <TextView
68            android:id="@+id/textIngredients"
69            android:layout_width="wrap_content"
70            android:layout_height="wrap_content"
71            android:layout_marginBottom="8dp"
72            android:layout_marginLeft="8dp"
73            android:textAppearance="@style/RecipeSummaryFont" />
74
75        <TextView
76            android:id="@+id/stepsHeader"
77            android:layout_width="wrap_content"
78            android:layout_height="wrap_content"
79            android:layout_marginBottom="8dp"
80            android:layout_marginLeft="8dp"
81            android:text="@string/steps"
82            android:textAppearance="@style/RecipeTitleFont"
83            android:visibility="gone" />
84
85        <LinearLayout
86            android:id="@+id/layoutSteps"
87            android:layout_width="match_parent"
88            android:layout_height="wrap_content"
89            android:layout_margin="8dp"
90            android:orientation="vertical"
91            android:textAppearance="@style/RecipeSummaryFont" >
92        </LinearLayout>
93    </LinearLayout>
94
95</ScrollView>
96