Commit 0323ee3d authored by Thomas Krex's avatar Thomas Krex
Browse files

-wechsel zwischen fullscreen und extended view impelemntiert mit View

Switcher, entsprechendes Menü item hinzugefügt
parent 04a303bd
...@@ -22,40 +22,46 @@ public final class R { ...@@ -22,40 +22,46 @@ public final class R {
} }
public static final class drawable { public static final class drawable {
public static final int ic_launcher=0x7f020000; public static final int ic_launcher=0x7f020000;
public static final int my_border=0x7f020001;
} }
public static final class id { public static final class id {
public static final int action_settings=0x7f08000e; public static final int action_settings=0x7f08000f;
public static final int add=0x7f08000d; public static final int add=0x7f08000e;
public static final int button_save=0x7f080009; public static final int button_save=0x7f08000a;
public static final int feedDetailsLv=0x7f08000b; public static final int extend=0x7f080010;
public static final int feed_list=0x7f08000a; public static final int feedDetailsLv=0x7f08000c;
public static final int feed_list=0x7f08000b;
public static final int feedback_button=0x7f080002; public static final int feedback_button=0x7f080002;
public static final int indexScrollView=0x7f080004; public static final int indexScrollView=0x7f080003;
public static final int playerView=0x7f080003; public static final int playerView_extended=0x7f080004;
public static final int playerView_extended=0x7f080005; public static final int playerView_fullscreen=0x7f080006;
public static final int progressBar=0x7f08000c; public static final int progressBar=0x7f08000d;
public static final int scrollView1=0x7f080006; public static final int scrollView1=0x7f080005;
public static final int test_button=0x7f080000; public static final int test_button=0x7f080000;
public static final int tx_name=0x7f080008; public static final int tx_name=0x7f080009;
public static final int tx_url=0x7f080007; public static final int tx_url=0x7f080008;
public static final int viewSwitcher=0x7f080007;
public static final int watch_button=0x7f080001; public static final int watch_button=0x7f080001;
} }
public static final class layout { public static final class layout {
public static final int activity_main=0x7f030000; public static final int activity_main=0x7f030000;
public static final int activity_player=0x7f030001; public static final int activity_player_extended=0x7f030001;
public static final int activity_player_extended=0x7f030002; public static final int activity_player_fullscreen=0x7f030002;
public static final int dialog_feeds=0x7f030003; public static final int activity_player_main=0x7f030003;
public static final int feed_activity=0x7f030004; public static final int dialog_feeds=0x7f030004;
public static final int feed_details_activity=0x7f030005; public static final int feed_activity=0x7f030005;
public static final int feed_details_activity=0x7f030006;
} }
public static final class menu { public static final class menu {
public static final int feed_menu=0x7f070000; public static final int feed_menu=0x7f070000;
public static final int main=0x7f070001; public static final int main=0x7f070001;
public static final int player_menu=0x7f070002;
} }
public static final class string { public static final class string {
public static final int action_settings=0x7f050001; public static final int action_settings=0x7f050001;
public static final int app_name=0x7f050000; public static final int app_name=0x7f050000;
public static final int hello_world=0x7f050002; public static final int hello_world=0x7f050002;
public static final int wait=0x7f050003;
} }
public static final class style { public static final class style {
/** /**
......
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<stroke
android:width="10dip"
android:color="@android:color/darker_gray" >
</stroke>
</shape>
\ No newline at end of file
...@@ -7,8 +7,9 @@ ...@@ -7,8 +7,9 @@
<ScrollView <ScrollView
android:id="@+id/indexScrollView" android:id="@+id/indexScrollView"
android:layout_width="200dp" android:layout_width="200dp"
android:layout_height="wrap_content" android:layout_height="fill_parent"
android:layout_weight="3" > android:layout_weight="3"
android:paddingLeft="5dip" >
</ScrollView> </ScrollView>
<ImageView <ImageView
...@@ -17,7 +18,9 @@ ...@@ -17,7 +18,9 @@
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_toRightOf="@+id/scrollView1" android:layout_toRightOf="@+id/scrollView1"
android:layout_weight="5" android:layout_weight="5"
android:scaleType="fitXY" android:background="@drawable/my_border"
android:padding="10dip"
android:scaleType="centerInside"
android:src="@drawable/ic_launcher" /> android:src="@drawable/ic_launcher" />
</LinearLayout> </LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:orientation="horizontal" > android:orientation="horizontal" >
<ImageView <ImageView
android:id="@+id/playerView" android:id="@+id/playerView_fullscreen"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignParentLeft="true" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" /> android:layout_alignParentTop="true" />
</RelativeLayout> </LinearLayout>
\ No newline at end of file \ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment