Home | History | Annotate | Download | only in layout
      1 <!--
      2   Copyright (C) 2014 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:orientation="vertical"
     18               android:layout_width="match_parent"
     19               android:layout_height="match_parent"
     20               android:padding="@dimen/fragment_list_padding">
     21 
     22     <LinearLayout
     23         android:id="@+id/controls"
     24         android:layout_width="match_parent"
     25         android:layout_height="wrap_content"
     26         android:orientation="horizontal">
     27 
     28         <ImageButton
     29             android:id="@+id/skip_previous"
     30             android:layout_width="wrap_content"
     31             android:layout_height="wrap_content"
     32             android:layout_weight="1"
     33             android:src="@drawable/ic_skip_previous_white_24dp"
     34             android:contentDescription="@string/skip_previous"/>
     35 
     36         <ImageButton
     37             android:id="@+id/play_pause"
     38             android:layout_width="wrap_content"
     39             android:layout_height="wrap_content"
     40             android:layout_weight="1"
     41             android:src="@drawable/ic_play_arrow_white_24dp"
     42             android:contentDescription="@string/play_pause"/>
     43 
     44         <ImageButton
     45             android:id="@+id/skip_next"
     46             android:layout_width="wrap_content"
     47             android:layout_height="wrap_content"
     48             android:layout_weight="1"
     49             android:src="@drawable/ic_skip_next_white_24dp"
     50             android:contentDescription="@string/skip_next"/>
     51 
     52     </LinearLayout>
     53 
     54     <ListView
     55         android:id="@+id/list_view"
     56         android:layout_width="match_parent"
     57         android:layout_height="match_parent">
     58     </ListView>
     59 
     60 </LinearLayout>
     61