Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2017 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 <LinearLayout
     17     xmlns:android="http://schemas.android.com/apk/res/android"
     18     android:id="@+id/intent_container"
     19     android:layout_width="match_parent"
     20     android:layout_height="wrap_content"
     21     android:layout_marginEnd="@dimen/smallMargin"
     22     android:layout_marginLeft="@dimen/smallMargin"
     23     android:layout_marginRight="@dimen/smallMargin"
     24     android:layout_marginStart="@dimen/smallMargin"
     25     android:layout_marginTop="@dimen/smallMargin"
     26     android:background="@drawable/card_background"
     27     android:elevation="@dimen/cardElevation"
     28     android:orientation="vertical"
     29     android:padding="@dimen/medMargin">
     30 
     31     <TextView
     32         android:id="@+id/editText"
     33         android:layout_width="match_parent"
     34         android:layout_height="wrap_content"
     35         android:contentDescription="@string/current_intent_label_description"
     36         android:inputType="none"
     37         android:maxLines="1"
     38         android:text="@string/intent_fragment_title"
     39         android:textAppearance="@style/title" />
     40 
     41     <LinearLayout
     42         android:layout_width="match_parent"
     43         android:layout_height="match_parent"
     44         android:layout_marginTop="@dimen/smallMargin"
     45         android:orientation="horizontal">
     46 
     47         <TextView
     48             android:id="@+id/actionLabel"
     49             android:layout_width="wrap_content"
     50             android:layout_height="wrap_content"
     51             android:layout_marginEnd="@dimen/smallMargin"
     52             android:contentDescription="@string/action_label_description"
     53             android:text="@string/action_label"
     54             android:textAppearance="@style/medium" />
     55 
     56         <TextView
     57             android:id="@+id/intentAction"
     58             android:layout_width="0dp"
     59             android:layout_height="wrap_content"
     60             android:layout_weight="1"
     61             android:text="@string/action_placeholder"
     62             android:textAppearance="@style/normal" />
     63     </LinearLayout>
     64 
     65     <LinearLayout
     66         android:layout_width="match_parent"
     67         android:layout_height="match_parent"
     68         android:layout_marginTop="@dimen/smallMargin"
     69         android:orientation="horizontal">
     70 
     71         <TextView
     72             android:id="@+id/uriLabel"
     73             android:layout_width="wrap_content"
     74             android:layout_height="wrap_content"
     75             android:layout_marginEnd="@dimen/smallMargin"
     76             android:contentDescription="@string/data_uri_label_description"
     77             android:text="@string/data_uri_label"
     78             android:textAppearance="@style/medium" />
     79 
     80         <TextView
     81             android:id="@+id/intentUri"
     82             android:layout_width="0dp"
     83             android:layout_height="wrap_content"
     84             android:layout_weight="1"
     85             android:text="@string/data_uri_placeholder"
     86             android:textAppearance="@style/normal" />
     87     </LinearLayout>
     88 
     89     <LinearLayout
     90         android:layout_width="match_parent"
     91         android:layout_height="match_parent"
     92         android:layout_marginTop="@dimen/smallMargin"
     93         android:orientation="horizontal">
     94 
     95         <TextView
     96             android:id="@+id/typeLabel"
     97             android:layout_width="wrap_content"
     98             android:layout_height="wrap_content"
     99             android:layout_marginEnd="@dimen/smallMargin"
    100             android:contentDescription="@string/type_label_description"
    101             android:text="@string/type_label"
    102             android:textAppearance="@style/medium" />
    103 
    104         <TextView
    105             android:id="@+id/intentType"
    106             android:layout_width="0dp"
    107             android:layout_height="wrap_content"
    108             android:layout_weight="1"
    109             android:text="@string/type_placeholder"
    110             android:textAppearance="@style/normal" />
    111     </LinearLayout>
    112 
    113     <LinearLayout
    114         android:layout_width="match_parent"
    115         android:layout_height="match_parent"
    116         android:layout_marginTop="@dimen/smallMargin"
    117         android:orientation="horizontal">
    118 
    119         <TextView
    120             android:id="@+id/packageLabel"
    121             android:layout_width="wrap_content"
    122             android:layout_height="wrap_content"
    123             android:layout_marginEnd="@dimen/smallMargin"
    124             android:contentDescription="@string/package_label_description"
    125             android:text="@string/package_label"
    126             android:textAppearance="@style/medium" />
    127 
    128         <TextView
    129             android:id="@+id/intentPackage"
    130             android:layout_width="0dp"
    131             android:layout_height="wrap_content"
    132             android:layout_weight="1"
    133             android:text="@string/package_placeholder"
    134             android:textAppearance="@style/normal" />
    135     </LinearLayout>
    136 
    137     <LinearLayout
    138         android:layout_width="match_parent"
    139         android:layout_height="match_parent"
    140         android:layout_marginTop="@dimen/smallMargin"
    141         android:orientation="vertical">
    142 
    143         <TextView
    144             android:id="@+id/categoryLabel"
    145             android:layout_width="wrap_content"
    146             android:layout_height="wrap_content"
    147             android:layout_marginEnd="@dimen/smallMargin"
    148             android:contentDescription="@string/category_label_description"
    149             android:text="@string/category_label"
    150             android:textAppearance="@style/medium" />
    151 
    152         <LinearLayout
    153             android:id="@+id/intentCategories"
    154             android:layout_width="match_parent"
    155             android:layout_height="wrap_content"
    156             android:orientation="vertical"
    157             android:paddingBottom="@dimen/smallMargin"
    158             android:paddingTop="@dimen/smallMargin" />
    159 
    160     </LinearLayout>
    161 
    162     <LinearLayout
    163         android:layout_width="match_parent"
    164         android:layout_height="wrap_content"
    165         android:layout_marginTop="@dimen/smallMargin"
    166         android:orientation="vertical">
    167 
    168         <TextView
    169             android:id="@+id/flagsLabel"
    170             android:layout_width="wrap_content"
    171             android:layout_height="wrap_content"
    172             android:layout_marginEnd="@dimen/smallMargin"
    173             android:contentDescription="@string/flags_label_description"
    174             android:text="@string/flags_label"
    175             android:textAppearance="@style/medium" />
    176 
    177         <LinearLayout
    178             android:id="@+id/intentFlags"
    179             android:layout_width="match_parent"
    180             android:layout_height="wrap_content"
    181             android:orientation="vertical"
    182             android:paddingBottom="@dimen/smallMargin"
    183             android:paddingTop="@dimen/smallMargin" />
    184 
    185     </LinearLayout>
    186 </LinearLayout>