[Libreoffice-commits] .: android/sdremote

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Sep 17 00:59:37 PDT 2012


 android/sdremote/AndroidManifest.xml                      |    2 +
 android/sdremote/res/drawable/actionbar_icon_computer.png |binary
 android/sdremote/res/layout/activity_selector.xml         |    4 +--
 android/sdremote/res/values-v10/styles.xml                |   18 ++++++++++++++
 android/sdremote/res/values/strings.xml                   |    1 
 android/sdremote/res/values/styles.xml                    |    5 +++
 6 files changed, 28 insertions(+), 2 deletions(-)

New commits:
commit ee181f82aa0de60c0d468dc81b028d4917a2fa3c
Author: Andrzej J.R. Hunt <andrzej at ahunt.org>
Date:   Mon Sep 17 09:57:09 2012 +0200

    Styling and icons for Selector Activity complete.
    
    Change-Id: I11e26c9c97c4e9aea465c0d9f6b7863a260a3577

diff --git a/android/sdremote/AndroidManifest.xml b/android/sdremote/AndroidManifest.xml
index 6572366..7ccc1f0 100644
--- a/android/sdremote/AndroidManifest.xml
+++ b/android/sdremote/AndroidManifest.xml
@@ -17,6 +17,8 @@
         android:theme="@style/Theme.ImpressRemote" >
         <activity
             android:name=".SelectorActivity"
+            android:icon="@drawable/actionbar_icon_computer"
+            android:label="@string/selector_choose_a_computer"
             android:uiOptions="splitActionBarWhenNarrow" >
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
diff --git a/android/sdremote/res/drawable/actionbar_icon_computer.png b/android/sdremote/res/drawable/actionbar_icon_computer.png
new file mode 100644
index 0000000..ce76471
Binary files /dev/null and b/android/sdremote/res/drawable/actionbar_icon_computer.png differ
diff --git a/android/sdremote/res/layout/activity_selector.xml b/android/sdremote/res/layout/activity_selector.xml
index c5c734b..2c16abe 100644
--- a/android/sdremote/res/layout/activity_selector.xml
+++ b/android/sdremote/res/layout/activity_selector.xml
@@ -6,8 +6,8 @@
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content"
-        android:layout_margin="10dip"
-        android:orientation="vertical" >
+        android:orientation="vertical"
+        android:padding="10dip" >
 
         <TextView
             android:id="@+id/selector_label_none"
diff --git a/android/sdremote/res/values-v10/styles.xml b/android/sdremote/res/values-v10/styles.xml
new file mode 100644
index 0000000..c43c00d
--- /dev/null
+++ b/android/sdremote/res/values-v10/styles.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:android="http://schemas.android.com/apk/res/android">
+
+    <style name="Theme.ImpressRemote.Dialog" parent="@android:style/Theme.Dialog">
+        <item name="android:windowBackground">@color/light_grey</item>
+        <item name="android:topDark">@color/grey</item>
+        <item name="android:topBright">@color/grey</item>
+        <item name="android:centerDark">@color/light_grey</item>
+        <item name="android:bottomDark">@color/light_grey</item>
+        <item name="android:fullBright">@color/light_grey</item>
+        <item name="android:centerBright">@color/light_grey</item>
+        <item name="android:bottomBright">@color/light_grey</item>
+        <item name="android:bottomMedium">@color/light_grey</item>
+        <item name="android:centerMedium">@color/light_grey</item>
+        <item name="android:textColor">@color/grey</item>
+    </style>
+
+</resources>
\ No newline at end of file
diff --git a/android/sdremote/res/values/strings.xml b/android/sdremote/res/values/strings.xml
index 8e2f629..3a5fbb5 100644
--- a/android/sdremote/res/values/strings.xml
+++ b/android/sdremote/res/values/strings.xml
@@ -24,6 +24,7 @@
     <string name="wifi">WI-FI</string>
     <string name="selector_noservers">Searching for computers…</string>
     <string name="selector_delete">Remove server</string>
+    <string name="selector_choose_a_computer">Choose a Computer</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 \"{0}\" as your device.</string>
     <string name="pairing_instructions_3">Then input this PIN:</string>
diff --git a/android/sdremote/res/values/styles.xml b/android/sdremote/res/values/styles.xml
index eb71393..80a4b4a 100644
--- a/android/sdremote/res/values/styles.xml
+++ b/android/sdremote/res/values/styles.xml
@@ -59,6 +59,10 @@
         <item name="android:textColor">@color/grey</item>
     </style>
 
+    <style name="Theme.ImpressRemote.Dialog.Title" parent="@android:style/Theme.Dialog">
+        <item name="android:textColor">@color/grey</item>
+    </style>
+
     <style name="Theme.ImpressRemote" parent="Theme.Sherlock.Light.DarkActionBar">
         <item name="android:actionBarStyle">@style/Theme.ImpressRemote.ActionBar</item>
         <item name="actionBarStyle">@style/Theme.ImpressRemote.ActionBar</item>
@@ -70,6 +74,7 @@
         <item name="android:homeAsUpIndicator">@drawable/up_indicator_white</item>
         <item name="android:textColor">@color/text_grey</item>
         <item name="android:alertDialogStyle">@style/Theme.ImpressRemote.Dialog</item>
+
     </style>
 
 </resources>
\ No newline at end of file


More information about the Libreoffice-commits mailing list