diff options
author | lado <herrlado@gmail.com> | 2017-11-02 10:41:17 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2017-11-02 10:41:17 +0100 |
commit | e044aed11d8982398fa556eacde9af1003af1c5a (patch) | |
tree | 3a09298670b27b551c072782f410b43bf966b2c0 /vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout | |
parent | 049975cbda6327aae542bac5dd1acd6fe97d18a4 (diff) | |
download | vdr-manager-e044aed11d8982398fa556eacde9af1003af1c5a.tar.gz vdr-manager-e044aed11d8982398fa556eacde9af1003af1c5a.tar.bz2 |
refactor vdrmanager -> de.bjusystems.vdrmanager
Diffstat (limited to 'vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout')
33 files changed, 2138 insertions, 0 deletions
diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_item.xml new file mode 100644 index 0000000..dd09400 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_item.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/channel_item" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp" + android:orientation="horizontal"> + + <TextView + android:id="@+id/channel_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + + <ImageView + android:id="@+id/channel_type" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list.xml new file mode 100644 index 0000000..df2d984 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list.xml @@ -0,0 +1,102 @@ +<!-- + Copyright 2013 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. +--> + + +<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. --> +<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <!-- + As the main content view, the view below consumes the entire + space available using match_parent in both dimensions. + --> + + <ViewFlipper + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/main_content" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <EditText + android:id="@+id/search_box" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="@string/type_to_filter" + android:inputType="text" + android:maxLines="1" + android:visibility="gone" /> + + <ExpandableListView + android:id="@+id/channel_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + + <TextView + android:id="@android:id/empty" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Empty set" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + </ViewFlipper> + + <include layout="@layout/left_drawer" /> + +</android.support.v4.widget.DrawerLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list_fragment.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list_fragment.xml new file mode 100644 index 0000000..becf269 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/channel_list_fragment.xml @@ -0,0 +1,70 @@ +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/main_content" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <EditText + android:id="@+id/search_box" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:hint="@string/type_to_filter" + android:inputType="text" + android:maxLines="1" + android:visibility="gone" /> + + <ExpandableListView + android:id="@+id/channel_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + + <TextView + android:id="@android:id/empty" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Empty set" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + +</ViewFlipper> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/child_layout.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/child_layout.xml new file mode 100644 index 0000000..69340a6 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/child_layout.xml @@ -0,0 +1,25 @@ +<LinearLayout android:id="@+id/LinearLayout01" + android:layout_width="fill_parent" android:layout_height="40dip" + xmlns:android="http://schemas.android.com/apk/res/android" + > + <LinearLayout android:layout_width="fill_parent" + android:background="@android:drawable/list_selector_background" + android:layout_height="wrap_content"> + <TextView android:id="@+id/channel_name" + android:layout_width="wrap_content" android:layout_height="wrap_content" + android:text="Channel" android:gravity="center_vertical|left" + android:paddingLeft="15dip" android:paddingRight="5dip" + android:textColor="#ffffffff" + android:textStyle="bold" android:maxLines="2" + android:textAppearance="?android:textAppearanceMedium" + android:layout_weight="2" /> + + <TextView android:id="@+id/channel_aux" android:layout_width="40dip" + android:layout_height="40dip" android:layout_weight="1" android:text="23" + android:gravity="center_vertical|right" android:ellipsize="end" + android:layout_marginRight="5dip" android:textColor="#BDBDBD" + android:textSize="11sp" + android:textAppearance="?android:textAppearanceSmall" /> + </LinearLayout> + +</LinearLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/drawer_list_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/drawer_list_item.xml new file mode 100644 index 0000000..ab52575 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/drawer_list_item.xml @@ -0,0 +1,27 @@ +<!-- + Copyright 2013 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. + --> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/text1" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAppearance="?android:attr/textAppearanceListItemSmall" + android:gravity="center_vertical" + android:paddingLeft="16dp" + android:paddingRight="16dp" + android:textColor="#fff" + android:background="?android:attr/activatedBackgroundIndicator" + android:minHeight="?android:attr/listPreferredItemHeightSmall"/>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/edit_remote_key.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/edit_remote_key.xml new file mode 100644 index 0000000..2dfe156 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/edit_remote_key.xml @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:padding="5dp"> + + <TextView + android:id="@+id/hitkLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@string/label" /> + + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content"> + + <EditText + android:id="@+id/hitk" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + <de.androvdr.widget.FontAwesomeButton + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="" /> + + </LinearLayout> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:text="@string/hitkcommand" /> + + <Spinner + android:id="@+id/hitkSpinner" + android:layout_width="match_parent" + android:layout_height="wrap_content" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:visibility="gone"> + + <Button + android:id="@+id/button7" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="right" + android:layout_weight="1" + android:text="@android:string/cancel" /> + + <Button + android:id="@+id/button6" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="@android:string/ok" /> + </LinearLayout> +</LinearLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_detail.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_detail.xml new file mode 100644 index 0000000..85bc221 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_detail.xml @@ -0,0 +1,249 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + android:padding="2dip" > + + <TextView + android:id="@+id/epg_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Unterwegs nach Cold Mountain" + android:textAppearance="?android:textAppearanceMedium" + android:textStyle="bold" /> + + <LinearLayout + android:id="@+id/epg_detail_time_channel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <TextView + android:id="@+id/epg_detail_time" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:gravity="left" + android:text="20:10-20-15" + android:textAppearance="?android:textAppearanceSmall" /> + + <TextView + android:id="@+id/epg_detail_duration" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="right" + android:paddingLeft="10dip" + android:text="2/123min" + android:textAppearance="?android:textAppearanceSmall" /> + + <TextView + android:id="@+id/epg_detail_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="right" + android:text="Sky Cinema" + android:visibility="gone" /> + </LinearLayout> + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="0dip" + android:orientation="horizontal" + android:padding="3dip" + android:paddingBottom="1dip" > + + <ImageView + android:id="@+id/epg_timer_state" + android:layout_width="16dp" + android:layout_height="16dp" + android:layout_centerVertical="true" + android:layout_marginRight="5dip" + android:visibility="gone" /> + + <TextView + android:id="@+id/epg_detail_shorttext" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:gravity="left" + android:text="Krimikömedie" + android:textAppearance="?android:textAppearanceSmall" /> + </LinearLayout> + + <TextView + android:id="@+id/epg_detail_separator_0" + android:layout_width="fill_parent" + android:layout_height="2sp" /> + + <ProgressBar + android:id="@+id/epg_detail_progress" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="fill_parent" + android:layout_height="2dip" + android:indeterminate="false" + android:progress="40" /> + + <ScrollView + android:id="@+id/epg_detail_description_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:padding="5dip" > + + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="vertical" > + + <TextView + android:id="@+id/epg_detail_description" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:textSize="16dip" > + </TextView> + + <View style="@style/Line" /> + + <LinearLayout android:id="@+id/audio_block" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <ImageView + android:id="@+id/audio_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_volume_small" /> + + <TextView + android:id="@+id/epg_detail_audio" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="5dp" + android:text="" /> + </LinearLayout> + + <TextView + android:id="@+id/epg_detail_cats" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:text="Thriller, Comedy" /> + + </LinearLayout> + </ScrollView> + + <TextView + android:id="@+id/epg_detail_separator_2" + android:layout_width="fill_parent" + android:layout_height="1sp" /> + + <TextView + android:id="@+id/epg_detail_separator_3" + android:layout_width="fill_parent" + android:layout_height="4sp" /> + + <TableLayout + android:id="@+id/root" + style="@android:style/ButtonBar" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:stretchColumns="*" > + + <TableRow + android:id="@+id/first_row" + android:layout_margin="0dip" > + + <ImageButton + android:id="@+id/epg_event_livetv" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/tv" + android:text="@string/epg_eent_livetv_text" /> + + <ImageButton + android:id="@+id/epg_event_imdb" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/imdb" + android:text="@string/epg_event_imdb_text" /> + + <ImageButton + android:id="@+id/epg_event_omdb" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/omdb" + android:text="@string/epg_event_omdb_text" /> + + <ImageButton + android:id="@+id/epg_event_tmdb" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/tmdb" + android:text="@string/epg_event_tmdb_text" /> + + <ImageButton + android:id="@+id/epg_event_create_timer" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:src="@drawable/timer" + android:text="@string/epg_event_create_timer_text" /> + </TableRow> + </TableLayout> + <!-- + <ImageButton + android:id="@+id/epg_event_share" + android:src="@android:drawable/ic_menu_share" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_marginLeft="20dip" android:layout_marginRight="20dip" + android:layout_gravity="center_horizontal" + android:layout_centerHorizontal="true" + android:background="@android:drawable/list_selector_background" + style="?android:attr/buttonStyleSmall" + android:text="@string/epg_event_share_text"/> + --> + + + <!-- + <ImageButton + android:id="@+id/epg_event_epg" + android:src="@drawable/epg" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_centerHorizontal="true" android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + style="?android:attr/buttonStyleSmall" + android:text="@string/epg_event_create_timer_text"/> + --> + <!-- + <ImageButton android:visibility="gone" + android:id="@+id/epg_event_right" + android:src="@drawable/ic_menu_forward" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:background="@android:drawable/list_selector_background"/> + --> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_event_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_event_item.xml new file mode 100644 index 0000000..a8caa6f --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_event_item.xml @@ -0,0 +1,68 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/timer_item" android:layout_width="fill_parent" + android:layout_height="fill_parent" android:padding="5dp" android:paddingBottom="2dp" + android:orientation="vertical"> + +<LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:background="@android:drawable/list_selector_background" +> +<TextView + android:id="@+id/timer_item_channel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:text="Sky Film" style="@android:style/TextAppearance.Medium"/> + + <ProgressBar + android:id="@+id/timer_progress" android:layout_width="fill_parent" + android:indeterminate="false" android:layout_height="2dip" android:layout_marginTop="3dip" + style="?android:attr/progressBarStyleHorizontal" android:visibility="gone" /> + + <LinearLayout android:layout_width="fill_parent" + android:layout_height="wrap_content" android:layout_marginTop="0dip"> + + <TextView android:id="@+id/timer_item_time" android:textAppearance="?android:textAppearanceMedium" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:drawable/list_selector_background" + android:gravity="left" android:text="22:33" android:paddingRight="5dip" /> + + <TextView android:id="@+id/timer_item_title" android:text="timer_item_title" android:layout_weight="1" android:textStyle="bold" + android:ellipsize="end" android:layout_width="wrap_content" android:background="@android:drawable/list_selector_background" + android:textAppearance="?android:textAppearanceMedium" + android:layout_height="wrap_content" /> + + </LinearLayout> + + <LinearLayout android:layout_width="fill_parent" android:padding="1dip" android:paddingBottom="1dip" + android:layout_height="wrap_content" android:layout_marginTop="0dip" android:gravity="center" + android:orientation="horizontal"> + + <ImageView android:id="@+id/timer_item_state" android:layout_marginRight="3dip" android:src="@drawable/newrecording" + android:layout_width="16dp" android:layout_height="16dp" + android:visibility="gone" /> + + <ImageView android:id="@+id/timer_item_other" android:layout_marginRight="3dip" android:src="@drawable/schere" + android:layout_width="16dp" android:layout_height="16dp" + android:visibility="gone" /> + + <TextView android:id="@+id/timer_item_shorttext" android:textAppearance="?android:textAppearanceSmall" + android:text="timer_short_text" + android:ellipsize="end" + android:singleLine="true" + android:maxLines="1" + android:layout_width="wrap_content" android:layout_weight="1" + android:layout_height="wrap_content" /> + + <TextView android:id="@+id/timer_item_duration" + android:ellipsize="end" android:layout_width="wrap_content" android:gravity="right" android:textSize="13dip" + android:layout_height="wrap_content" android:text="89min"/> + + </LinearLayout> + + <TextView android:id="@+id/event_item_description" + android:layout_width="wrap_content" + android:textAppearance="?android:textAppearanceSmall" + android:visibility="gone" + android:textSize="12dip" + android:padding="3dip" + android:layout_height="wrap_content" /> +</LinearLayout> +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search.xml new file mode 100644 index 0000000..4153451 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/epg_search_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold"/> + + <EditText + android:id="@+id/epg_search_text" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/epg_detail_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button + android:id="@+id/epg_search_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="@string/epg_search_button"/> + +</LinearLayout> + diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_item.xml new file mode 100644 index 0000000..5680f7e --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_item.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:gravity= "center_vertical" + android:textAppearance="?android:textAppearanceLarge" + android:lines="2"/> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_list.xml new file mode 100644 index 0000000..f2ab650 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epg_search_times_list.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ListView + android:id="@+id/epg_search_times_list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:cacheColorHint="?android:attr/colorBackground"/> + + <Button + android:id="@+id/epg_search_times_add" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/epg_search_times_add" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true" + android:text="@string/epg_search_times_add"/> + + +</RelativeLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epgdetails.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epgdetails.xml new file mode 100644 index 0000000..5e29667 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/epgdetails.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <!-- + <com.jakewharton.androidviewpagerindicator.TitlePageIndicator + android:id="@+id/indicator" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + --> + <android.support.v4.view.ViewPager + android:id="@+id/viewpager" + android:layout_width="fill_parent" + android:layout_height="0dip" + android:layout_weight="1" /> +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/event_epg_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/event_epg_list.xml new file mode 100644 index 0000000..2e835d4 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/event_epg_list.xml @@ -0,0 +1,116 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. --> +<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <ViewFlipper + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="wrap_content" > + + <LinearLayout + android:id="@+id/whatson_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:orientation="horizontal" > + + <Spinner + android:id="@+id/epg_list_channel_spinner" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginTop="3dip" + android:layout_weight="1" + android:prompt="@string/epg_list_channel_spinner" /> + + <ImageView + android:id="@+id/switch_epg_view" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:clickable="true" + android:src="@drawable/ic_menu_revert" /> + </LinearLayout> + + <ListView + android:id="@+id/whatson_list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_above="@+id/channel_info" + android:layout_alignWithParentIfMissing="true" + android:layout_below="@+id/whatson_time" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + + <LinearLayout + android:id="@+id/channel_info" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_marginTop="4dp" + android:background="@drawable/back" + android:orientation="horizontal" + android:padding="2dp" > + + <ImageView + android:id="@+id/audio_image" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/ic_volume_small" /> + + <TextView + android:id="@+id/channel_audio" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="5dp" + android:text="" /> + </LinearLayout> + </RelativeLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + </ViewFlipper> + + <include layout="@layout/left_drawer" /> + +</android.support.v4.widget.DrawerLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/fetch_preference.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/fetch_preference.xml new file mode 100644 index 0000000..d276625 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/fetch_preference.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:padding="5dip"> + + <EditText + android:id="@+id/edit" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:singleLine="true" /> + + <ImageButton + android:src="@drawable/ic_menu_refresh" + android:id="@+id/button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:minWidth="64dip" + android:minHeight="48dip"/> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/folder_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/folder_item.xml new file mode 100644 index 0000000..432fa13 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/folder_item.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:orientation="horizontal" + android:padding="5dip" + android:layout_height="wrap_content" > + + <ImageView + android:layout_width="24dp" + android:layout_height="24dp" + android:src="@drawable/folder" /> + + <TextView + android:id="@+id/header_item" + android:textAppearance="?android:textAppearanceMedium" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:paddingLeft="5dip" + android:layout_weight="1" + android:layout_gravity="center_vertical" + android:text="House of Cards" /> + + + <TextView + android:id="@+id/count" + android:textAppearance="?android:textAppearanceMedium" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:text="3" /> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/group_layout.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/group_layout.xml new file mode 100644 index 0000000..48ee690 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/group_layout.xml @@ -0,0 +1,16 @@ +<LinearLayout android:id="@+id/LinearLayout01" + android:layout_width="fill_parent" android:layout_height="40dip" + xmlns:android="http://schemas.android.com/apk/res/android"> + <!-- --> + <TextView android:id="@+id/group_name" android:layout_width="wrap_content" + android:layout_height="40dip" android:text="Sky" android:gravity="center_vertical|left" + android:paddingLeft="35dip" android:paddingRight="5dip" + android:textColor="#BDBDBD" android:textStyle="bold" + android:textAppearance="?android:textAppearanceMedium" /> + <TextView android:id="@+id/channel_count" + android:layout_width="fill_parent" android:layout_height="40dip" + android:text="23" android:gravity="center_vertical|right" + android:layout_marginRight="5dip" android:textColor="#BDBDBD" + android:textStyle="bold" android:textAppearance="?android:textAppearanceMedium" /> + +</LinearLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/header_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/header_item.xml new file mode 100644 index 0000000..0821980 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/header_item.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" +android:text="Header" +android:layout_margin="2dip" android:paddingLeft="4dip" android:paddingRight="4dip" +android:background="#444444" +android:textAppearance="?android:textAppearanceMedium" +android:layout_width="fill_parent" android:layout_height="wrap_content" android:id="@+id/header_item"/> + diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/left_drawer.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/left_drawer.xml new file mode 100644 index 0000000..ad8379a --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/left_drawer.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + android:layout_gravity="start" tells DrawerLayout to treat + this as a sliding drawer on the left side for left-to-right + languages and on the right side for right-to-left languages. + The drawer is given a fixed width in dp and extends the full height of + the container. A solid background is used for contrast + with the content view. +--> +<ListView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/left_drawer" + android:layout_width="240dp" + android:layout_height="match_parent" + android:layout_gravity="start" + android:background="#111" + android:choiceMode="singleChoice" + android:divider="@android:color/transparent" + android:dividerHeight="0dp" /> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/main.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/main.xml new file mode 100644 index 0000000..1d0e21b --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/main.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<TabHost xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/tabhost" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <LinearLayout + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp"> + <TabWidget + android:id="@android:id/tabs" + android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + <FrameLayout + android:id="@android:id/tabcontent" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:padding="5dp" /> + </LinearLayout> +</TabHost>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/no_connection.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/no_connection.xml new file mode 100644 index 0000000..1a6e5db --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/no_connection.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + android:visibility="gone" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_detail.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_detail.xml new file mode 100644 index 0000000..0aa5da7 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_detail.xml @@ -0,0 +1,99 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ScrollView + android:id="@+id/timer_detail_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5"> + + <LinearLayout + android:id="@+id/timer_detail_layout" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:id="@+id/timer_detail_channel_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textStyle="bold" + android:text="@string/timer_detail_channel_title"/> + + <EditText + android:id="@+id/timer_detail_channel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:editable="false"/> + + <TextView + android:id="@+id/timer_detail_title_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textStyle="bold" + android:text="@string/timer_detail_title_title"/> + + <EditText + android:id="@+id/timer_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <TextView + android:id="@+id/timer_detail_start_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/timer_detail_start_title"/> + + <LinearLayout + android:id="@+id/timer_detail_start_daytime" + android:layout_width="fill_parent" + android:layout_height="wrap_content"> + + <EditText + android:id="@+id/timer_detail_start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + <EditText + android:id="@+id/timer_detail_day" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + </LinearLayout> + + <TextView + android:id="@+id/timer_detail_end_title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/timer_detail_end_title"/> + + <EditText + android:id="@+id/timer_detail_end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + <TextView + android:id="@+id/timer_detail_fill" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_weight="0.5"/> + + </LinearLayout> + + </ScrollView> + + <Button + android:id="@+id/timer_details_save" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="@string/timer_details_create_title"/> + +</LinearLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_list.xml new file mode 100644 index 0000000..dd4b100 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/recording_list.xml @@ -0,0 +1,111 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.v4.widget.DrawerLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent"> +<ViewFlipper xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <RelativeLayout + android:id="@+id/main_content" + android:layout_width="fill_parent" + android:layout_height="wrap_content" > + + <LinearLayout + android:id="@+id/rec_folder_info" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentTop="true" + android:orientation="horizontal" + android:paddingBottom="2dp" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:paddingTop="2dp" > + + <TextView + android:id="@+id/folder_info" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + <TextView + android:id="@+id/current_count" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + </LinearLayout> + + <ListView + android:id="@+id/recording_list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_above="@+id/driver_info_container" + android:layout_below="@+id/rec_folder_info" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + + <LinearLayout + android:id="@+id/driver_info_container" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignWithParentIfMissing="true" + android:layout_marginTop="4dp" + android:background="@drawable/back" + android:orientation="vertical" + android:padding="2dp" > + + <TextView + android:id="@+id/drive_info" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:drawableLeft="@drawable/ic_drive" + android:drawablePadding="5dp" + android:gravity="center" > + </TextView> + + <ProgressBar + android:id="@+id/drive_info_pb" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="fill_parent" + android:layout_height="1dip" + android:indeterminate="false" /> + </LinearLayout> + </RelativeLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18sp" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:contentDescription="@string/sad_img" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18sp" /> + </LinearLayout> + +</ViewFlipper> + +<include layout="@layout/left_drawer" /> + +</android.support.v4.widget.DrawerLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/remote.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/remote.xml new file mode 100644 index 0000000..b251ca1 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/remote.xml @@ -0,0 +1,342 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/remoteroot" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" + android:padding="5dp"> + + <LinearLayout + android:id="@+id/resultwrapper" + android:layout_width="fill_parent" + android:layout_alignParentEnd="true" + android:layout_alignParentRight="true" + android:layout_alignParentTop="true" + android:layout_height="wrap_content"> + <de.androvdr.widget.AnimatedTextView + android:id="@+id/result" + android:maxLines="1" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:textSize="10sp" + android:gravity="right" /> + </LinearLayout> + + + + <LinearLayout + android:id="@+id/rows0" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:layout_marginBottom="10dp" + android:layout_below="@+id/resultwrapper"> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Power" + android:text="" + android:id="@+id/Power" /> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Back" + android:text="Back" /> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="" + /> + + + + + + + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Setup" + android:text="" /> + </LinearLayout> + + <RelativeLayout + android:id="@+id/navigation" + + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:layout_below="@+id/colorButtons" + android:layout_above="@+id/rows1"> + + <de.androvdr.widget.SquareButton + android:id="@+id/ok" + style="@style/cursorButton" + android:layout_centerVertical="true" + android:layout_gravity="center_horizontal" + android:layout_toLeftOf="@+id/right" + android:layout_toStartOf="@+id/right" + android:tag="Ok" + android:text="OK" /> + + + <de.androvdr.widget.SquareButton + android:id="@+id/right" + style="@style/cursorButton" + android:tag="Right" + android:text="▶" + android:layout_centerVertical="true" + android:layout_toRightOf="@+id/up" + android:layout_toEndOf="@+id/up" /> + + + <de.androvdr.widget.SquareButton + android:id="@+id/left" + style="@style/cursorButton" + android:tag="Left" + android:text="◀" + android:layout_centerVertical="true" + android:layout_toLeftOf="@+id/ok" + android:layout_toStartOf="@+id/ok" /> + + <de.androvdr.widget.SquareButton + android:id="@+id/up" + style="@style/cursorButton" + android:layout_gravity="center_horizontal" + android:tag="Up" + android:text="▲" + android:layout_above="@+id/ok" + android:layout_centerHorizontal="true" /> + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/ChannelUp" + style="@style/volChanButton" + + android:tag="Channel+" + android:text="" + android:layout_alignTop="@+id/up" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/VolumeUp" + style="@style/volChanButton" + android:layout_height="wrap_content" + android:tag="Volume+" + android:text="" + android:layout_alignTop="@+id/up" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + <de.androvdr.widget.SquareButton + android:id="@+id/down" + style="@style/cursorButton" + + android:layout_gravity="center_horizontal" + + android:tag="Down" + android:text="▼" + android:layout_below="@+id/ok" + android:layout_toLeftOf="@+id/right" + android:layout_toStartOf="@+id/right" /> + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/ChannelDown" + style="@style/volChanButton" + android:tag="Channel-" + android:text="" + android:layout_alignBottom="@+id/down" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" /> + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/VolumeDown" + style="@style/volChanButton" + android:tag="Volume-" + android:text="" + android:layout_alignBottom="@+id/down" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" /> + + </RelativeLayout> + + + + <LinearLayout + android:id="@+id/colorButtons" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_alignParentRight="true" + android:layout_alignParentEnd="true" + android:layout_below="@+id/rows0"> + + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/red" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Red" + android:text="" + android:textColor="@color/red" + /> + + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/green" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="" + android:tag="Green" + android:textColor="@color/green" + /> + + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/yellow" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Yellow" + android:text="" + android:textColor="@color/yellow" + /> + + + <de.androvdr.widget.FontAwesomeButton + android:id="@+id/blue" + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Blue" + android:text="" + android:textColor="@color/blue" + /> + + + </LinearLayout> + + + <LinearLayout + android:id="@+id/rows1" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentLeft="true" + android:layout_alignParentStart="true" + android:orientation="horizontal" + android:layout_above="@+id/rows2"> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Mute" + android:text="" /> + + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Info" + android:text="" /> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Back" + android:text="" /> + + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Menu" + android:text="" /> + + </LinearLayout> + + + <LinearLayout + + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:id="@+id/rows2" + android:orientation="horizontal" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:layout_alignParentBottom="true"> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Audio" + android:text="" /> + + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Subtitles" + android:text="S" /> + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="PrevChannel" + android:text="" /> + + + <de.androvdr.widget.FontAwesomeButton + style="?android:attr/buttonStyleSmall" + android:layout_width="0dp" + + android:layout_height="wrap_content" + android:layout_weight="1" + android:tag="Commands" + android:text="" /> + </LinearLayout> + + +</RelativeLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/search_epg_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/search_epg_list.xml new file mode 100644 index 0000000..d5cc5af --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/search_epg_list.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" > +<LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <ListView + android:id="@+id/whatson_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_below="@id/epg_list_channel_spinner" + android:layout_alignWithParentIfMissing="true" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground"/> + + <TextView + android:id="@+id/epg_list_search_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/epg_list_search_label"/> + + <LinearLayout android:orientation="vertical" + android:id="@+id/no_connection_layout" android:layout_width="fill_parent" + android:layout_height="fill_parent" android:visibility="gone"> + <LinearLayout android:layout_height="fill_parent" + android:gravity="center" android:layout_width="fill_parent" + android:orientation="horizontal"> + <TextView android:text="@string/no_connection" + android:layout_height="wrap_content" android:layout_width="wrap_content" + android:textSize="18dip" /> + <ImageView android:src="@drawable/sad" + android:layout_height="wrap_content" android:layout_width="wrap_content" /> + <Button android:text="@string/no_connection_retry" + android:textSize="18dip" android:layout_height="wrap_content" + android:layout_width="wrap_content" android:id="@+id/retry_button" /> + + </LinearLayout> + </LinearLayout> +</LinearLayout> + +<include layout="@layout/left_drawer"/> +</android.support.v4.widget.DrawerLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/time_epg_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/time_epg_list.xml new file mode 100644 index 0000000..f42ab32 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/time_epg_list.xml @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. --> +<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <ViewFlipper + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/whatson_time" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" > + + <TextView + android:id="@+id/epg_list_time_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/epg_list_time_label" + android:visibility="gone" /> + + <ImageView + android:id="@+id/epg_list_times" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:clickable="true" + android:src="@drawable/btn_search_times" /> + + <Spinner + android:id="@+id/epg_list_time_spinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="2dip" + android:layout_weight="1" + android:prompt="@string/epg_list_time_label" /> + + <ImageView + android:id="@+id/switch_epg_view" + style="?android:attr/buttonStyleSmall" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_centerHorizontal="true" + android:layout_gravity="center_horizontal" + android:background="@android:drawable/list_selector_background" + android:clickable="true" + android:src="@drawable/ic_menu_revert" /> + </LinearLayout> + + <ListView + android:id="@+id/whatson_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_below="@id/epg_list_time_spinner" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + + <TextView + android:id="@+id/epg_list_search_label" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/epg_list_search_label" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + </ViewFlipper> + + <include layout="@layout/left_drawer" /> + +</android.support.v4.widget.DrawerLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_detail.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_detail.xml new file mode 100644 index 0000000..b74d54e --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_detail.xml @@ -0,0 +1,167 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="10.0dip" android:paddingRight="10.0dip" + android:orientation="vertical"> + + <ScrollView + android:id="@+id/timer_detail_scroll" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_weight="0.5"> + + <LinearLayout + android:id="@+id/timer_detail_layout" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:orientation="vertical"> + + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_channel_title"/> + + <EditText + android:id="@+id/timer_detail_channel" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:enabled="false" + /> + + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_title_title"/> + + + <EditText + android:id="@+id/timer_detail_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_day_title"/> + + + <Button + android:id="@+id/timer_detail_day" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_repeat_title"/> + + + <Button + android:id="@+id/timer_detail_repeat" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/never" + android:editable="false"/> + + </LinearLayout> + + + </LinearLayout> + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + + + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_start_title"/> + + <Button + android:id="@+id/timer_detail_start" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="20:34" + android:editable="false"/> + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical"> + <TextView + android:paddingLeft="4.0dip" android:paddingBottom="2.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="2.0dip" + android:text="@string/timer_detail_end_title"/> + + <Button + android:id="@+id/timer_detail_end" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:editable="false"/> + + + </LinearLayout> + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal" android:id="@+id/timer_block"> + <TextView android:width="80dp" android:text="@string/timer_detail_use_vps" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + <CheckBox android:id="@+id/timer_detail_vps" android:layout_height="wrap_content" android:layout_width="wrap_content"/> + </LinearLayout> + + + + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <TextView android:width="80dp" android:text="@string/timer_detail_priority" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + + <EditText android:layout_height="wrap_content" android:numeric="integer" android:id="@+id/timer_detail_priority" android:layout_width="wrap_content" android:hint="@string/timer_detail_priority"/> + + + </LinearLayout> + + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="horizontal"> + + <TextView android:width="80dp" android:text="@string/timer_detail_lifetime" android:layout_width="wrap_content" android:layout_height="wrap_content" /> + + <EditText android:layout_height="wrap_content" android:numeric="integer" android:id="@+id/timer_detail_lifetime" android:layout_width="wrap_content" android:hint="@string/timer_detail_lifetime_hint"/> + + + </LinearLayout> + + </LinearLayout> + + </ScrollView> + +<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" > + + <Button + android:id="@+id/timer_details_cancel" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@android:string/cancel"/> + + <Button + android:id="@+id/timer_details_modify" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:visibility="gone" + android:text="@string/timer_details_save_title"/> + + + <Button + android:id="@+id/timer_details_save" + android:layout_width="0dip" android:layout_height="fill_parent" + android:layout_weight="1" + android:text="@string/timer_details_create_title"/> + + </LinearLayout> + +</LinearLayout> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_list.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_list.xml new file mode 100644 index 0000000..7a3ed02 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_list.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- A DrawerLayout is intended to be used as the top-level content view using match_parent for both width and height to consume the full space available. --> +<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/drawer_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <ViewFlipper + android:id="@+id/flipper" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:id="@+id/main_content" + android:layout_width="fill_parent" + android:layout_height="fill_parent" > + + <ListView + android:id="@+id/timer_list" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_alignParentTop="true" + android:layout_alignWithParentIfMissing="true" + android:layout_centerHorizontal="true" + android:cacheColorHint="?android:attr/colorBackground" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/no_connection_layout" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical" > + + <LinearLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center" + android:orientation="horizontal" > + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection" + android:textSize="18dip" /> + + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/sad" /> + + <Button + android:id="@+id/retry_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/no_connection_retry" + android:textSize="18dip" /> + </LinearLayout> + </LinearLayout> + </ViewFlipper> + + <include layout="@layout/left_drawer" /> + +</android.support.v4.widget.DrawerLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_operation_list_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_operation_list_item.xml new file mode 100644 index 0000000..16aa849 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/timer_operation_list_item.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="utf-8"?> +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="5dp" + android:paddingRight="5dp" + android:gravity= "center_vertical" + android:textAppearance="?android:textAppearanceLarge" + android:textColor="#000" + android:lines="2"/> diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdr_list_add_delete.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdr_list_add_delete.xml new file mode 100644 index 0000000..a8b0e85 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdr_list_add_delete.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + + + + <TextView + android:id="@+id/empty_view" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:padding="20.0dip" + android:text="@string/no_vdr" + android:textAppearance="?android:textAppearanceMedium" /> + + <Button + android:id="@+id/new_vdr" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + + android:text="@string/new_vdr" /> + + + <ListView + android:id="@+id/vdr_list" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:choiceMode="singleChoice" + android:drawSelectorOnTop="false" + android:fastScrollEnabled="true" + android:layout_above="@+id/new_vdr" + android:scrollingCache="true" /> +</RelativeLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrlist.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrlist.xml new file mode 100644 index 0000000..d04df91 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrlist.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" android:layout_height="fill_parent" + android:orientation="vertical"> + + <ListView android:id="@android:id/list" android:layout_width="fill_parent" + android:layout_height="wrap_content" /> + + <TextView android:id="@android:id/empty" android:layout_width="wrap_content" + android:layout_height="wrap_content" android:text="Empty set" /> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager.xml new file mode 100644 index 0000000..3959a9e --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager.xml @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingTop="10dp" + android:paddingBottom="20dp" + android:orientation="vertical"> + + <!-- <ListView android:id="@+id/vdrmanager_menu" android:layout_width="fill_parent" + android:layout_height="wrap_content" android:layout_below="@id/main_logo"/> --> + + + <ImageView android:id="@+id/main_logo" android:layout_width="fill_parent" + android:clickable="true" + android:layout_height="80dip" android:src="@drawable/vdr_logo" android:padding="10dip" /> + + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:orientation="horizontal"> + + <Button + android:id="@+id/action_menu_channels" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:drawableTop="@drawable/btn_channels" + android:text="@string/action_menu_channels" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_epg" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_epglist" + android:text="@string/action_menu_epg" + android:textColor="#FFF" /> + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:orientation="horizontal"> + + <Button + android:id="@+id/action_menu_recordings" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_recordings" + android:text="@string/action_menu_recordings" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_timers" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_timer" + android:text="@string/action_menu_timers" + android:textColor="#FFF" /> + </LinearLayout> + + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:orientation="horizontal"> + + <Button + android:id="@+id/action_menu_wakeup" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_wakeup" + + android:padding="5dip" + android:text="@string/action_menu_wakeup" + android:textColor="#FFF" /> + + <Button + android:id="@+id/action_menu_remote" + android:layout_width="0dip" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@android:drawable/list_selector_background" + android:cacheColorHint="?android:attr/colorBackground" + android:drawableTop="@drawable/btn_remote" + android:padding="5dip" + android:text="@string/action_menu_remote" + android:textColor="#FFF" /> + </LinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager_menu_item.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager_menu_item.xml new file mode 100644 index 0000000..1c793d8 --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/vdrmanager_menu_item.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<TextView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/vdrmanager_menu_item" + android:lines="2" + android:gravity="center_vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:paddingLeft="15dp" + android:paddingRight="15dp" + android:paddingTop="10dp" + android:paddingBottom="10dp"/> + +<!-- +<ImageButton xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/vdrmanager_menu_item" + android:lines="2" + android:gravity="center_vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content"/> +-->
\ No newline at end of file diff --git a/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/video.xml b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/video.xml new file mode 100644 index 0000000..595e02a --- /dev/null +++ b/vdrmanager/de.bjusystems.vdrmanager/src/main/res/layout/video.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:orientation="vertical"> + + <TextView + android:id="@+id/epg_search_title" + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:textStyle="bold"/> + + <VideoView + android:id="@+id/video_video" + android:layout_width="fill_parent" + android:layout_height="wrap_content"/> + + <Button + android:id="@+id/video_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="Start"/> + +</LinearLayout> + |