Bug: 28139604 In dashboard container, if supportFeatureProvider is able to provide a tab, we display it in tabbed layout. Otherwise, display just DashboardSummary without changing UI. Change-Id: Ib7601ac925e1315e6b0928d020fe2d09bd389cd7
67 lines
2.6 KiB
XML
67 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2016 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.
|
|
-->
|
|
|
|
<ScrollView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingEnd="16dp"
|
|
android:paddingStart="16dp"
|
|
android:paddingTop="16dp"
|
|
android:text="@string/support_escalation_title"
|
|
android:textColor="@color/material_grey_900"
|
|
android:textSize="16sp"/>
|
|
<LinearLayout
|
|
android:id="@+id/escalation_options"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:paddingEnd="8dp"
|
|
android:paddingStart="8dp">
|
|
<include
|
|
android:id="@+id/escalation_by_phone"
|
|
layout="@layout/support_escalation_card"/>
|
|
<include
|
|
android:id="@+id/escalation_by_email"
|
|
layout="@layout/support_escalation_card"/>
|
|
</LinearLayout>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/listDivider"/>
|
|
<include
|
|
android:id="@+id/forum_tile"
|
|
layout="@layout/support_tile"/>
|
|
<include
|
|
android:id="@+id/article_tile"
|
|
layout="@layout/support_tile"/>
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="1dp"
|
|
android:background="?android:attr/listDivider"/>
|
|
<include
|
|
android:id="@+id/feedback_tile"
|
|
layout="@layout/support_tile"/>
|
|
</LinearLayout>
|
|
</ScrollView> |