diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-14 18:27:53 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-08-14 18:29:34 +0200 |
commit | 0357b778956a453a700d7b7002a7850071bde70d (patch) | |
tree | a58d54fced7db9daaded20fbd63499c9c3880f80 /android/sdremote/res | |
parent | e02468f6e8b5d15635c2c9986ca249a8254192d1 (diff) |
Implemented rotation of slideshow view.
Change-Id: Ib518e1609d21463273a00fcf161f20c80eae6a67
Diffstat (limited to 'android/sdremote/res')
-rw-r--r-- | android/sdremote/res/drawable/image_loading.png | bin | 0 -> 287 bytes | |||
-rw-r--r-- | android/sdremote/res/layout-land/fragment_presentation.xml | 8 | ||||
-rw-r--r-- | android/sdremote/res/layout/activity_startpresentation.xml | 22 | ||||
-rw-r--r-- | android/sdremote/res/values/strings.xml | 4 |
4 files changed, 29 insertions, 5 deletions
diff --git a/android/sdremote/res/drawable/image_loading.png b/android/sdremote/res/drawable/image_loading.png Binary files differnew file mode 100644 index 000000000000..24e8ebdf12b2 --- /dev/null +++ b/android/sdremote/res/drawable/image_loading.png diff --git a/android/sdremote/res/layout-land/fragment_presentation.xml b/android/sdremote/res/layout-land/fragment_presentation.xml index 1cdd4d3f3312..66de90528808 100644 --- a/android/sdremote/res/layout-land/fragment_presentation.xml +++ b/android/sdremote/res/layout-land/fragment_presentation.xml @@ -13,8 +13,8 @@ <pl.polidea.coverflow.CoverFlow xmlns:coverflow="http://schemas.android.com/apk/res/org.libreoffice.impressremote" android:id="@+id/presentation_coverflow" - android:layout_width="fill_parent" - android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:layout_height="match_parent" android:layout_marginTop="5dip" coverflow:imageHeight="150dip" coverflow:imageWidth="180dip" @@ -42,8 +42,8 @@ <ScrollView android:id="@+id/presentation_scrollview" - android:layout_width="match_parent" - android:layout_height="wrap_content" > + android:layout_width="wrap_content" + android:layout_height="match_parent" > <WebView android:id="@+id/presentation_notes" diff --git a/android/sdremote/res/layout/activity_startpresentation.xml b/android/sdremote/res/layout/activity_startpresentation.xml new file mode 100644 index 000000000000..25bf55ab86d0 --- /dev/null +++ b/android/sdremote/res/layout/activity_startpresentation.xml @@ -0,0 +1,22 @@ +<?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" > + + <TextView + android:id="@+id/startpresentation_instruction" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_margin="5dip" + android:text="@string/startpresentation_instruction" /> + + <Button + android:id="@+id/startpresentation_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:text="@string/startpresentation_button" /> + +</LinearLayout>
\ No newline at end of file diff --git a/android/sdremote/res/values/strings.xml b/android/sdremote/res/values/strings.xml index c86d5c92c94c..060652cdc2e6 100644 --- a/android/sdremote/res/values/strings.xml +++ b/android/sdremote/res/values/strings.xml @@ -24,7 +24,9 @@ <string name="wifi">WI-FI</string> <string name="selector_noservers">Searching for computers…</string> <string name="pairing_instructions_1">In Impress, click on the "Slideshow" menu and select "Impress Remote".</string> - <string name="pairing_instructions_2_deviceName">Choose "{1}" as your device.</string> + <string name="pairing_instructions_2_deviceName">Choose \"{0}\" as your device.</string> <string name="pairing_instructions_3">Then input this PIN:</string> + <string name="startpresentation_instruction">No presentation is currently running.</string> + <string name="startpresentation_button">Start Presentation</string> </resources>
\ No newline at end of file |