Patch for Issue 10- Need better graphics for on-screen buttons

6 views
Skip to first unread message

Mark Guerra

unread,
Jan 27, 2010, 12:04:41 AM1/27/10
to Android Boxee Remote
Hi,

I did some work on this, please have a look at this patch (Checked out
R62).
Note that I renamed the image files that were submitted to avoid
conflicts and illegal names. Place the renamed images in res/drawable.
Contact me if you'd like a zip containing the patch (diff), renamed
images, and the modified res/layout/navigation.xml. Or for whatever
else.

List of files:
face_seek_hide.png
face_boxee_back.png
face_seek_show.png
face_boxee_ok.png
face_up.png
face_down.png
face_left.png
face_right.png
face_xbmc_back.png
face_xbmc_ok.png

Here's a diff of the navigation.xml


Index: Boxee Remote/res/layout/navigation.xml
===================================================================
--- Boxee Remote/res/layout/navigation.xml (revision 62)
+++ Boxee Remote/res/layout/navigation.xml (working copy)
@@ -5,7 +5,7 @@
android:focusable="false" android:layout_weight="1">
<TableRow android:layout_weight="1"
android:layout_height="fill_parent"
android:layout_width="fill_parent" android:focusable="false">
- <ImageButton android:id="@+id/up" android:src="@drawable/up"
+ <ImageButton android:id="@+id/up" android:src="@drawable/face_up"
android:layout_column="1" android:layout_height="wrap_content"
android:layout_width="wrap_content" android:focusable="false"
android:scaleType="fitXY" />
@@ -13,25 +13,25 @@

<TableRow android:layout_height="fill_parent"
android:layout_weight="1" android:focusable="false">
- <ImageButton android:id="@+id/left" android:src="@drawable/left"
- android:layout_width="75dp" android:scaleType="fitXY"
- android:focusable="false" />
- <ImageButton android:id="@+id/select" android:src="@drawable/ok"
- android:layout_width="75dp" android:scaleType="fitXY"
- android:focusable="false" />
+ <ImageButton android:id="@+id/left" android:src="@drawable/
face_left"
+ android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:scaleType="fitXY" android:focusable="false" />
+ <ImageButton android:id="@+id/select" android:src="@drawable/
face_boxee_ok"
+ android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:scaleType="fitXY" android:focusable="false" />

- <ImageButton android:id="@+id/right" android:src="@drawable/right"
- android:layout_width="75dp" android:scaleType="fitXY"
- android:focusable="false" />
+ <ImageButton android:id="@+id/right" android:src="@drawable/
face_right"
+ android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:scaleType="fitXY" android:focusable="false" />
</TableRow>
<TableRow android:layout_height="fill_parent"
android:layout_weight="1">
- <ImageButton android:id="@+id/back" android:src="@drawable/cancel"
- android:layout_width="75dp" android:scaleType="fitXY"
- android:focusable="false" />
- <ImageButton android:id="@+id/down" android:src="@drawable/down"
- android:layout_width="75dp" android:scaleType="fitXY"
- android:layout_column="1" android:focusable="false" />
+ <ImageButton android:id="@+id/back" android:src="@drawable/
face_boxee_back"
+ android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:scaleType="fitXY" android:focusable="false" />
+ <ImageButton android:id="@+id/down" android:src="@drawable/
face_down"
+ android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:scaleType="fitXY" android:focusable="false" />
</TableRow>

</TableLayout>
\ No newline at end of file

Mark Guerra

unread,
Feb 19, 2010, 12:45:30 AM2/19/10
to Android Boxee Remote
This issue is resolved in revision 67.
Reply all
Reply to author
Forward
0 new messages