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.
102 lines
4.4 KiB
102 lines
4.4 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2020 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.
|
|
-->
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/main_frame1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:transitionGroup="false">
|
|
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_centerInParent="true"
|
|
android:layout_marginTop="@dimen/settings_info_fragment_image_margin_top"
|
|
app:cardCornerRadius="12dp">
|
|
<ImageView
|
|
android:id="@+id/info_image"
|
|
android:layout_width="@dimen/settings_info_fragment_image_width"
|
|
android:layout_height="wrap_content"
|
|
android:adjustViewBounds="true"
|
|
android:scaleType="centerCrop"/>
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="@dimen/settings_info_fragment_bottom_section_width"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:focusable="true"
|
|
android:importantForAccessibility="yes"
|
|
android:layout_marginBottom="@dimen/settings_info_fragment_bottom_section_margin_bottom"
|
|
android:paddingEnd="@dimen/settings_info_fragment_bottom_section_padding_end" >
|
|
|
|
<ImageView
|
|
android:id="@+id/info_title_icon"
|
|
android:layout_width="@dimen/settings_info_fragment_title_icon_width"
|
|
android:layout_height="@dimen/settings_info_fragment_title_icon_width"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="no"
|
|
android:layout_marginEnd="@dimen/settings_info_fragment_title_icon_margin_end"
|
|
android:clickable="false" />
|
|
|
|
<TextView
|
|
android:id="@+id/info_title"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@id/info_title_icon"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:layout_marginBottom="@dimen/settings_info_fragment_title_margin_bottom"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="yes"
|
|
android:maxLines="2"
|
|
android:ellipsize="end"
|
|
style="@style/TwoPanelInfoTitleTextStyle"/>
|
|
|
|
<TextView
|
|
android:id="@+id/info_status"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@id/info_title"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_marginStart="@dimen/settings_info_fragment_status_margin_start"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="yes"
|
|
android:visibility="gone"
|
|
style="@style/TwoPanelInfoTitleTextStyle"/>
|
|
|
|
<TextView
|
|
android:id="@+id/info_summary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@id/info_title_icon"
|
|
android:layout_below="@id/info_title"
|
|
android:layout_alignWithParentIfMissing="true"
|
|
android:focusable="false"
|
|
android:importantForAccessibility="yes"
|
|
android:maxLines="12"
|
|
android:ellipsize="end"
|
|
style="@style/TwoPanelInfoSummaryTextStyle"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
</RelativeLayout> |