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:orientation="vertical">
     20 
     21   <LinearLayout
     22       android:id="@+id/group_item"
     23       android:layout_width="match_parent"
     24       android:layout_height="wrap_content"
     25       android:orientation="horizontal">
     26 
     27     <TextView
     28         android:id="@+id/task_label"
     29         android:layout_width="wrap_content"
     30         android:layout_height="wrap_content"
     31         android:layout_weight="0"
     32         android:layout_marginStart="@dimen/smallMargin"
     33         android:text="@string/task_num"
     34         android:textAppearance="@style/medium"
     35         android:textSize="@dimen/regularText"/>
     36 
     37     <TextView
     38         android:id="@+id/task_id"
     39         android:layout_width="wrap_content"
     40         android:layout_height="wrap_content"
     41         android:layout_weight="0"
     42         android:text="@string/placeholder"
     43         android:textAppearance="@style/medium"
     44         android:textSize="@dimen/regularText"/>
     45   </LinearLayout>
     46 
     47   <LinearLayout
     48       android:layout_width="match_parent"
     49       android:layout_height="wrap_content"
     50       android:orientation="vertical"
     51       android:gravity="end"
     52       android:id="@+id/activity_node_container"/>
     53 
     54   <LinearLayout
     55       android:id="@+id/move_task_to_front_bar"
     56       android:layout_width="match_parent"
     57       android:layout_height="wrap_content"
     58       android:paddingBottom="@dimen/smallMargin"
     59       android:paddingStart="@dimen/smallMargin"
     60       android:paddingEnd="@dimen/smallMargin"
     61       android:gravity="end"
     62       android:orientation="horizontal"
     63       android:visibility="gone">
     64 
     65     <Button
     66         android:id="@+id/kill_task_button"
     67         style="@style/flatButton"
     68         android:layout_width="wrap_content"
     69         android:layout_height="wrap_content"
     70         android:layout_weight="0"
     71         android:text="@string/kill_task_button"/>
     72 
     73     <Button
     74         android:id="@+id/move_task_to_front_button"
     75         style="@style/flatButton"
     76         android:layout_width="wrap_content"
     77         android:layout_height="wrap_content"
     78         android:layout_weight="0"
     79         android:text="@string/move_to_front"/>
     80 
     81   </LinearLayout>
     82 </LinearLayout>
     83