diff options
Diffstat (limited to 'MusicDemo/src/main/res/layout')
-rw-r--r-- | MusicDemo/src/main/res/layout/activity_player.xml | 22 | ||||
-rw-r--r-- | MusicDemo/src/main/res/layout/fragment_list.xml | 60 | ||||
-rw-r--r-- | MusicDemo/src/main/res/layout/media_list_item.xml | 55 |
3 files changed, 0 insertions, 137 deletions
diff --git a/MusicDemo/src/main/res/layout/activity_player.xml b/MusicDemo/src/main/res/layout/activity_player.xml deleted file mode 100644 index 21cdbbd..0000000 --- a/MusicDemo/src/main/res/layout/activity_player.xml +++ /dev/null @@ -1,22 +0,0 @@ -<!-- - Copyright (C) 2014 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. - --> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:id="@+id/container" - android:layout_width="match_parent" - android:layout_height="match_parent" - tools:context=".MusicPlayerActivity" - tools:ignore="MergeRootFrame" /> diff --git a/MusicDemo/src/main/res/layout/fragment_list.xml b/MusicDemo/src/main/res/layout/fragment_list.xml deleted file mode 100644 index c169fec..0000000 --- a/MusicDemo/src/main/res/layout/fragment_list.xml +++ /dev/null @@ -1,60 +0,0 @@ -<!-- - Copyright (C) 2014 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. - --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:orientation="vertical" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:padding="@dimen/fragment_list_padding"> - - <LinearLayout - android:id="@+id/controls" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal"> - - <ImageButton - android:id="@+id/skip_previous" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:src="@drawable/ic_skip_previous_white_24dp" - android:contentDescription="@string/skip_previous"/> - - <ImageButton - android:id="@+id/play_pause" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:src="@drawable/ic_play_arrow_white_24dp" - android:contentDescription="@string/play_pause"/> - - <ImageButton - android:id="@+id/skip_next" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:src="@drawable/ic_skip_next_white_24dp" - android:contentDescription="@string/skip_next"/> - - </LinearLayout> - - <ListView - android:id="@+id/list_view" - android:layout_width="match_parent" - android:layout_height="match_parent"> - </ListView> - -</LinearLayout> diff --git a/MusicDemo/src/main/res/layout/media_list_item.xml b/MusicDemo/src/main/res/layout/media_list_item.xml deleted file mode 100644 index 72c0ccf..0000000 --- a/MusicDemo/src/main/res/layout/media_list_item.xml +++ /dev/null @@ -1,55 +0,0 @@ -<!-- - Copyright (C) 2014 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. - --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:listPreferredItemHeight" - android:orientation="horizontal"> - - <ImageView - android:id="@+id/play_eq" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:contentDescription="@string/play_item" - android:src="@drawable/ic_play_arrow_white_24dp"/> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:minHeight="?android:attr/listPreferredItemHeight" - android:mode="twoLine" - android:padding="@dimen/list_item_padding" - android:orientation="vertical"> - - <TextView - android:id="@+id/title" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/margin_text_view" - android:layout_marginTop="@dimen/margin_text_view" - android:textAppearance="?android:attr/textAppearanceMedium"/> - - <TextView - android:id="@+id/description" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginStart="@dimen/margin_text_view" - android:layout_marginTop="@dimen/margin_text_view" - android:textAppearance="?android:attr/textAppearanceSmall"/> - - </LinearLayout> - -</LinearLayout> |