diff options
Diffstat (limited to 'samples/SupportLeanbackDemos/res/layout')
8 files changed, 216 insertions, 0 deletions
diff --git a/samples/SupportLeanbackDemos/res/layout/browse.xml b/samples/SupportLeanbackDemos/res/layout/browse.xml index 367337aca..4d46233ce 100644 --- a/samples/SupportLeanbackDemos/res/layout/browse.xml +++ b/samples/SupportLeanbackDemos/res/layout/browse.xml @@ -27,4 +27,9 @@ android:layout_height="match_parent" /> + <!-- container for hosting GuidedStepFragment background --> + <FrameLayout android:id="@+id/lb_guidedstep_background" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + </FrameLayout> diff --git a/samples/SupportLeanbackDemos/res/layout/browse_support.xml b/samples/SupportLeanbackDemos/res/layout/browse_support.xml new file mode 100644 index 000000000..34cdffea3 --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/browse_support.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from browse.xml. DO NOT MODIFY. --> + +<!-- + 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" + android:id="@+id/main_frame" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <fragment + android:name="com.example.android.leanback.BrowseSupportFragment" + android:id="@+id/main_browse_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + /> + + <!-- container for hosting GuidedStepFragment background --> + <FrameLayout android:id="@+id/lb_guidedstep_background" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + +</FrameLayout> diff --git a/samples/SupportLeanbackDemos/res/layout/details_support.xml b/samples/SupportLeanbackDemos/res/layout/details_support.xml new file mode 100644 index 000000000..103dc2594 --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/details_support.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from details.xml. DO NOT MODIFY. --> + +<!-- + 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. +--> + +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + android:name="com.example.android.leanback.NewDetailsSupportFragment" + android:id="@+id/details_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" +/> diff --git a/samples/SupportLeanbackDemos/res/layout/legacy_details_support.xml b/samples/SupportLeanbackDemos/res/layout/legacy_details_support.xml new file mode 100644 index 000000000..8146f9b1e --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/legacy_details_support.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from legacy_details.xml. DO NOT MODIFY. --> + +<!-- + 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. +--> + +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + android:name="com.example.android.leanback.DetailsSupportFragment" + android:id="@+id/details_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" +/> diff --git a/samples/SupportLeanbackDemos/res/layout/playback_controls_support.xml b/samples/SupportLeanbackDemos/res/layout/playback_controls_support.xml new file mode 100644 index 000000000..4eb293fbb --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/playback_controls_support.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from playback_controls.xml. DO NOT MODIFY. --> + +<!-- + 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" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <ImageView + android:id="@+id/media_content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:src="@drawable/bg" /> + + <fragment + android:id="@+id/playback_controls_fragment" + android:name="com.example.android.leanback.PlaybackOverlaySupportFragment" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + +</FrameLayout>
\ No newline at end of file diff --git a/samples/SupportLeanbackDemos/res/layout/rows_support.xml b/samples/SupportLeanbackDemos/res/layout/rows_support.xml new file mode 100644 index 000000000..266829729 --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/rows_support.xml @@ -0,0 +1,38 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from rows.xml. DO NOT MODIFY. --> + +<!-- + 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. +--> + +<android.support.v17.leanback.widget.BrowseFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/rows_frame" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <fragment + android:name="com.example.android.leanback.RowsSupportFragment" + android:id="@+id/main_rows_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + /> + + <android.support.v17.leanback.widget.TitleView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + +</android.support.v17.leanback.widget.BrowseFrameLayout> diff --git a/samples/SupportLeanbackDemos/res/layout/search_support.xml b/samples/SupportLeanbackDemos/res/layout/search_support.xml new file mode 100644 index 000000000..1d113cb3b --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/search_support.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from search.xml. DO NOT MODIFY. --> + +<!-- + 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. +--> + +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + android:name="com.example.android.leanback.SearchSupportFragment" + android:id="@+id/search_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" + />
\ No newline at end of file diff --git a/samples/SupportLeanbackDemos/res/layout/vertical_grid_support.xml b/samples/SupportLeanbackDemos/res/layout/vertical_grid_support.xml new file mode 100644 index 000000000..3975ecc4c --- /dev/null +++ b/samples/SupportLeanbackDemos/res/layout/vertical_grid_support.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This file is auto-generated from vertical_grid.xml. DO NOT MODIFY. --> + +<!-- + 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. +--> + +<fragment xmlns:android="http://schemas.android.com/apk/res/android" + android:name="com.example.android.leanback.VerticalGridSupportFragment" + android:id="@+id/vertical_grid_fragment" + android:layout_width="match_parent" + android:layout_height="match_parent" +/> |