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