Home | History | Annotate | Download | only in layout
      1 <!-- Copyright (C) 2013 The Android Open Source Project
      2 
      3      Licensed under the Apache License, Version 2.0 (the "License");
      4      you may not use this file except in compliance with the License.
      5      You may obtain a copy of the License at
      6 
      7           http://www.apache.org/licenses/LICENSE-2.0
      8 
      9      Unless required by applicable law or agreed to in writing, software
     10      distributed under the License is distributed on an "AS IS" BASIS,
     11      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12      See the License for the specific language governing permissions and
     13      limitations under the License.
     14 -->
     15 
     16 <com.example.android.slidingfragments.FractionalLinearLayout
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:layout_width="match_parent"
     19     android:layout_height="match_parent"
     20     android:layout_marginLeft="@dimen/slide_fragment_horizontal_margin"
     21     android:layout_marginRight="@dimen/slide_fragment_horizontal_margin"
     22     android:orientation="vertical"
     23     android:background="@color/white">
     24 
     25     <TextView
     26         android:layout_width="match_parent"
     27         android:layout_height="wrap_content"
     28         android:text="@string/bridge"
     29         android:textColor="#000000"
     30         android:textStyle="bold"
     31         android:textSize="26sp"
     32         android:layout_marginBottom="@dimen/text_vertical_margin"
     33         android:layout_marginLeft="@dimen/text_horizontal_margin"
     34         android:layout_marginRight="@dimen/text_horizontal_margin" />
     35 
     36     <TextView
     37         android:layout_width="match_parent"
     38         android:layout_height="wrap_content"
     39         android:text="@string/summary"
     40         android:textSize="18sp"
     41         android:textColor="#000000"
     42         android:layout_marginBottom="@dimen/text_vertical_margin"
     43         android:layout_marginLeft="@dimen/text_horizontal_margin"
     44         android:layout_marginRight="@dimen/text_horizontal_margin" />
     45 
     46     <TextView
     47         android:layout_width="match_parent"
     48         android:layout_height="wrap_content"
     49         android:text="@string/length"
     50         android:textColor="#000000"
     51         android:layout_marginLeft="@dimen/text_horizontal_margin"
     52         android:layout_marginRight="@dimen/text_horizontal_margin" />
     53 
     54     <TextView
     55         android:layout_width="match_parent"
     56         android:layout_height="wrap_content"
     57         android:text="@string/span"
     58         android:textColor="#000000"
     59         android:layout_marginLeft="@dimen/text_horizontal_margin"
     60         android:layout_marginRight="@dimen/text_horizontal_margin" />
     61 
     62     <TextView
     63         android:layout_width="match_parent"
     64         android:layout_height="wrap_content"
     65         android:text="@string/construction"
     66         android:textColor="#000000"
     67         android:layout_marginLeft="@dimen/text_horizontal_margin"
     68         android:layout_marginRight="@dimen/text_horizontal_margin" />
     69 
     70     <TextView
     71         android:layout_width="match_parent"
     72         android:layout_height="wrap_content"
     73         android:text="@string/height"
     74         android:textColor="#000000"
     75         android:layout_marginLeft="@dimen/text_horizontal_margin"
     76         android:layout_marginRight="@dimen/text_horizontal_margin" />
     77 
     78     <TextView
     79         android:layout_width="match_parent"
     80         android:layout_height="wrap_content"
     81         android:text="@string/elevation"
     82         android:textColor="#000000"
     83         android:layout_marginLeft="@dimen/text_horizontal_margin"
     84         android:layout_marginRight="@dimen/text_horizontal_margin" />
     85 
     86     <TextView
     87         android:layout_width="match_parent"
     88         android:layout_height="wrap_content"
     89         android:text="@string/address"
     90         android:textColor="#000000"
     91         android:layout_marginLeft="@dimen/text_horizontal_margin"
     92         android:layout_marginRight="@dimen/text_horizontal_margin" />
     93 
     94     <TextView
     95         android:layout_width="match_parent"
     96         android:layout_height="wrap_content"
     97         android:text="@string/photo_credits"
     98         android:textColor="#000000"
     99         android:textSize="10sp"
    100         android:layout_marginTop="@dimen/text_vertical_margin"
    101         android:layout_marginLeft="@dimen/text_horizontal_margin"
    102         android:layout_marginRight="@dimen/text_horizontal_margin" />
    103 
    104 </com.example.android.slidingfragments.FractionalLinearLayout>