77 lines
2.8 KiB
XML
77 lines
2.8 KiB
XML
<!--
|
|
~ Copyright (C) 2022 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/issue_card"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:clickable="false"
|
|
style="@style/SafetyCenter.IssueCard">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
style="@style/SafetyCenter.IssueCard.TopRow">
|
|
|
|
<ImageView
|
|
android:id="@+id/issue_card_banner_icon"
|
|
android:layout_width="24dp"
|
|
android:layout_height="24dp"
|
|
android:layout_alignParentStart="true"
|
|
android:importantForAccessibility="no" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/issue_card_dismiss_btn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/ic_safety_issue_dismiss"
|
|
android:layout_alignParentEnd="true"
|
|
android:contentDescription="@string/safety_center_issue_card_dismiss_button"
|
|
style="@style/SafetyCenter.IssueCard.Dismiss" />
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/issue_card_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/summary_placeholder"
|
|
style="@style/SafetyCenter.IssueCard.Title" />
|
|
|
|
<TextView
|
|
android:id="@+id/issue_card_subtitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/summary_placeholder"
|
|
style="@style/SafetyCenter.IssueCard.Subtitle" />
|
|
|
|
<TextView
|
|
android:id="@+id/issue_card_summary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/summary_placeholder"
|
|
style="@style/SafetyCenter.IssueCard.Summary" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/issue_card_action_button_list"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
style="@style/SafetyCenter.IssueCard.ActionButtonList" />
|
|
|
|
</LinearLayout> |