Initial Blank screen layout.

Change-Id: I I I I7af89267be559a44cc3ed2c3ae999a252709b730
This commit is contained in:
Andrzej J.R. Hunt
2012-07-28 15:32:24 +02:00
committed by Michael Meeks
parent 1a7054c054
commit 0ce7b3e9f1
5 changed files with 66 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<size
android:height="240dip"
android:width="320dip" />
<solid android:color="@color/black" />
</shape>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dip"
android:gravity="left"
android:orientation="vertical" >
<ImageView
android:id="@+id/blankscreen_blankimage"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/rectangle_black" />
<ImageView
android:id="@+id/blankscreen_divider"
android:layout_width="fill_parent"
android:layout_height="1dip"
android:layout_below="@+id/blankscreen_blankimage"
android:layout_centerHorizontal="true"
android:layout_marginTop="10dip"
android:src="@color/medium_grey" />
<ImageView
android:id="@+id/blankscreen_slidepreview"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_below="@id/blankscreen_divider"
android:layout_toLeftOf="@+id/blankscreen_return"
android:src="@drawable/rectangle_black" />
<TextView
android:id="@+id/blankscreen_return"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:gravity="center"
android:layout_below="@id/blankscreen_divider"
android:text="@string/blankscreen_return" />
</RelativeLayout>

View File

@@ -17,4 +17,5 @@
<string name="options_autodecline">Auto-decline calls</string>
<string name="options_volumeswitching">Change slides using volume buttons</string>
<string name="options_switchcomputer">Switch computer</string>
<string name="blankscreen_return">Return to Slide</string>
</resources>

View File

@@ -4,7 +4,9 @@
<color name="orange">#EE4400</color>
<color name="grey">#303030</color>
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>
<color name="light_grey">#E8E9E8</color>
<color name="medium_grey">#C1C2C1</color>
<integer name="thumbnail_border_width">3</integer>
@@ -45,7 +47,7 @@
<item name="android:textAppearanceLargePopupMenu">@style/Theme.ImpressRemote.ActionBarMenuItem</item> <!-- <item name="android:actionBarWidgetTheme">@style/Theme.ImpressRemote.ActionBarWidget</item> -->
<item name="android:actionDropDownStyle">@style/Theme.ImpressRemote.ActionBarMenu</item>
<item name="android:windowBackground">@color/light_grey</item>
<item name="android:homeAsUpIndicator">@drawable/up_indicator_white</item>
<item name="android:homeAsUpIndicator">@drawable/up_indicator_white</item>
</style>
</resources>

View File

@@ -0,0 +1,7 @@
package org.libreoffice.impressremote;
import android.app.Fragment;
public class BlankScreenFragment extends Fragment {
}