blob: 88bf8a18e59f4390582e92c933de5e6fa96c2643 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2019 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="start"
android:padding="8dp" >
<ProgressBar
android:id="@+id/spinny"
android:layout_width="32dp"
android:layout_height="32dp"
android:padding="8dp" />
<!-- The icon that will be used on the home screen. -->
<ImageView
android:id="@+id/icon"
android:layout_width="36dp"
android:layout_height="36dp"
android:importantForAccessibility="no"
android:visibility="gone" />
<!-- The layout used for apps. -->
<LinearLayout
android:id="@+id/app_info"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="48dp"
android:visibility="gone" >
<!-- The name of the web app that will be used on the home screen. Not
editable as we preserve the developer's name choice for apps. -->
<TextView
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.BlackTitle1" />
<!-- The origin of the web app, displayed for security purposes. -->
<TextView
android:id="@+id/origin"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="2dp"
android:textAppearance="@style/TextAppearance.BlackBody" />
</LinearLayout>
</FrameLayout>