Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2016 The Android Open Source Project
      4 
      5      Licensed under the Apache License, Version 2.0 (the "License");
      6      you may not use this file except in compliance with the License.
      7      You may obtain a copy of the License at
      8 
      9           http://www.apache.org/licenses/LICENSE-2.0
     10 
     11      Unless required by applicable law or agreed to in writing, software
     12      distributed under the License is distributed on an "AS IS" BASIS,
     13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14      See the License for the specific language governing permissions and
     15      limitations under the License.
     16 -->
     17 
     18 <LinearLayout
     19     xmlns:android="http://schemas.android.com/apk/res/android"
     20     style="@style/SupportEscalationCard"
     21     android:layout_width="match_parent"
     22     android:layout_height="wrap_content"
     23     android:orientation="vertical">
     24     <TextView
     25         android:id="@+id/tile_title"
     26         android:layout_width="match_parent"
     27         android:layout_height="wrap_content"
     28         android:gravity="center_horizontal"
     29         android:textAppearance="@style/TextAppearance.SupportTitle"/>
     30     <TextView
     31         android:id="@+id/tile_summary"
     32         android:layout_width="match_parent"
     33         android:layout_height="wrap_content"
     34         android:gravity="center_horizontal"
     35         android:paddingTop="8dp"
     36         android:paddingBottom="30dp"
     37         android:textAppearance="@style/TextAppearance.Small"
     38         android:textColor="?android:attr/textColorSecondary"/>
     39     <LinearLayout
     40         android:layout_width="match_parent"
     41         android:layout_height="wrap_content"
     42         android:gravity="center_horizontal"
     43         android:orientation="horizontal">
     44         <LinearLayout
     45             android:layout_width="wrap_content"
     46             android:layout_height="wrap_content"
     47             android:layout_marginStart="8dp"
     48             android:layout_marginEnd="8dp"
     49             android:gravity="center_horizontal"
     50             android:orientation="vertical">
     51             <Button
     52                 android:id="@android:id/text1"
     53                 style="@style/SupportPrimaryButton"
     54                 android:layout_width="wrap_content"
     55                 android:layout_height="wrap_content"
     56                 android:layout_margin="8dp"/>
     57             <TextView
     58                 android:id="@+id/summary1"
     59                 android:layout_width="wrap_content"
     60                 android:layout_height="wrap_content"
     61                 android:layout_marginTop="14dp"
     62                 android:textAppearance="@style/TextAppearance.Small"
     63                 android:textColor="?android:attr/textColorSecondary"/>
     64         </LinearLayout>
     65         <LinearLayout
     66             android:layout_width="wrap_content"
     67             android:layout_height="wrap_content"
     68             android:layout_marginStart="8dp"
     69             android:layout_marginEnd="8dp"
     70             android:gravity="center_horizontal"
     71             android:orientation="vertical">
     72             <Button
     73                 android:id="@android:id/text2"
     74                 style="@style/SupportPrimaryButton"
     75                 android:layout_width="wrap_content"
     76                 android:layout_height="wrap_content"
     77                 android:layout_margin="8dp"/>
     78             <TextView
     79                 android:id="@+id/summary2"
     80                 android:layout_width="wrap_content"
     81                 android:layout_height="wrap_content"
     82                 android:layout_marginTop="14dp"
     83                 android:textAppearance="@style/TextAppearance.Small"
     84                 android:textColor="?android:attr/textColorSecondary"/>
     85         </LinearLayout>
     86     </LinearLayout>
     87 </LinearLayout>
     88