You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
185 lines
7.0 KiB
185 lines
7.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2017 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:id="@+id/intent_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:layout_marginLeft="@dimen/smallMargin"
|
|
android:layout_marginRight="@dimen/smallMargin"
|
|
android:layout_marginStart="@dimen/smallMargin"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:elevation="@dimen/cardElevation"
|
|
android:orientation="vertical"
|
|
android:padding="@dimen/medMargin">
|
|
|
|
<TextView
|
|
android:id="@+id/editText"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:contentDescription="@string/current_intent_label_description"
|
|
android:inputType="none"
|
|
android:maxLines="1"
|
|
android:text="@string/intent_fragment_title"
|
|
android:textAppearance="@style/title" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/actionLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/action_label_description"
|
|
android:text="@string/action_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<TextView
|
|
android:id="@+id/intentAction"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/action_placeholder"
|
|
android:textAppearance="@style/normal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/uriLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/data_uri_label_description"
|
|
android:text="@string/data_uri_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<TextView
|
|
android:id="@+id/intentUri"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/data_uri_placeholder"
|
|
android:textAppearance="@style/normal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/typeLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/type_label_description"
|
|
android:text="@string/type_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<TextView
|
|
android:id="@+id/intentType"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/type_placeholder"
|
|
android:textAppearance="@style/normal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:id="@+id/packageLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/package_label_description"
|
|
android:text="@string/package_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<TextView
|
|
android:id="@+id/intentPackage"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:text="@string/package_placeholder"
|
|
android:textAppearance="@style/normal" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/categoryLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/category_label_description"
|
|
android:text="@string/category_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/intentCategories"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/smallMargin"
|
|
android:paddingTop="@dimen/smallMargin" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/smallMargin"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/flagsLabel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="@dimen/smallMargin"
|
|
android:contentDescription="@string/flags_label_description"
|
|
android:text="@string/flags_label"
|
|
android:textAppearance="@style/medium" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/intentFlags"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:paddingBottom="@dimen/smallMargin"
|
|
android:paddingTop="@dimen/smallMargin" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout> |