Home | History | Annotate | Download | only in layout
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2017 The Android Open Source Project
      3 
      4      Licensed under the Apache License, Version 2.0 (the "License");
      5      you may not use this file except in compliance with the License.
      6      You may obtain a copy of the License at
      7 
      8           http://www.apache.org/licenses/LICENSE-2.0
      9 
     10      Unless required by applicable law or agreed to in writing, software
     11      distributed under the License is distributed on an "AS IS" BASIS,
     12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13      See the License for the specific language governing permissions and
     14      limitations under the License.
     15 -->
     16 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     17     android:layout_width="match_parent"
     18     android:layout_height="wrap_content"
     19     android:layout_margin="@dimen/smallMargin"
     20     android:background="@drawable/card_background"
     21     android:elevation="@dimen/cardElevation"
     22     android:orientation="vertical"
     23     android:paddingBottom="@dimen/medMargin"
     24     android:paddingEnd="@dimen/fullMargin"
     25     android:paddingLeft="@dimen/fullMargin"
     26     android:paddingRight="@dimen/fullMargin"
     27     android:paddingStart="@dimen/fullMargin"
     28     android:paddingTop="@dimen/medMargin">
     29 
     30     <LinearLayout
     31         android:layout_width="match_parent"
     32         android:layout_height="wrap_content"
     33         android:layout_marginBottom="@dimen/medMargin"
     34         android:orientation="horizontal">
     35 
     36         <TextView
     37             android:layout_width="wrap_content"
     38             android:layout_height="wrap_content"
     39             android:layout_marginEnd="@dimen/medMargin"
     40             android:text="@string/current_task"
     41             android:textAppearance="@style/medium" />
     42 
     43         <TextView
     44             android:id="@+id/current_task"
     45             android:layout_width="0dp"
     46             android:layout_height="wrap_content"
     47             android:layout_weight="1"
     48             android:text="@string/current_task_placeholder"
     49             android:textAppearance="@style/normal" />
     50 
     51     </LinearLayout>
     52 
     53     <LinearLayout
     54         android:layout_width="match_parent"
     55         android:layout_height="wrap_content"
     56         android:layout_marginBottom="@dimen/medMargin"
     57         android:orientation="horizontal">
     58 
     59         <TextView
     60             android:layout_width="wrap_content"
     61             android:layout_height="wrap_content"
     62             android:layout_marginEnd="@dimen/medMargin"
     63             android:text="@string/current_activity"
     64             android:textAppearance="@style/medium" />
     65 
     66         <TextView
     67             android:id="@+id/current_activity"
     68             android:layout_width="0dp"
     69             android:layout_height="wrap_content"
     70             android:layout_weight="1"
     71             android:text="@string/current_activity_placeholder"
     72             android:textAppearance="@style/normal" />
     73     </LinearLayout>
     74 
     75     <LinearLayout
     76         android:layout_width="match_parent"
     77         android:layout_height="wrap_content"
     78         android:layout_marginBottom="@dimen/medMargin"
     79         android:orientation="horizontal">
     80 
     81         <TextView
     82             android:layout_width="wrap_content"
     83             android:layout_height="wrap_content"
     84             android:layout_marginEnd="@dimen/medMargin"
     85             android:text="@string/last_task"
     86             android:textAppearance="@style/medium" />
     87 
     88         <TextView
     89             android:id="@+id/last_task"
     90             android:layout_width="0dp"
     91             android:layout_height="wrap_content"
     92             android:layout_weight="1"
     93             android:text="@string/last_task_placeholder"
     94             android:textAppearance="@style/normal" />
     95     </LinearLayout>
     96 
     97     <LinearLayout
     98         android:layout_width="match_parent"
     99         android:layout_height="wrap_content"
    100         android:orientation="horizontal">
    101 
    102         <TextView
    103             android:layout_width="wrap_content"
    104             android:layout_height="wrap_content"
    105             android:layout_marginEnd="@dimen/medMargin"
    106             android:text="@string/last_activity"
    107             android:textAppearance="@style/medium" />
    108 
    109         <TextView
    110             android:id="@+id/last_activity"
    111             android:layout_width="0dp"
    112             android:layout_height="wrap_content"
    113             android:layout_weight="1"
    114             android:text="@string/last_activity_placeholder"
    115             android:textAppearance="@style/normal" />
    116     </LinearLayout>
    117 </LinearLayout>