Hello Group -

 I am hoping someone that has formatted rating bars on a Droid, or
Nexus One can help me.

I had a few users with Droid s report oddities with rating bars in my
application.  Everything looked fine on my G1 but when I recently
upgraded to a Nexus One ( for $49 !! ) and I see the issue they are
talking about.

You only see the top half of 3 stars. When it should be a full 5 star
bank. The user must rotate for a landscape layout to see all 5.

(image) http://images.webbmaster.org/device.png

My layout is pretty standard, this is a dialog (pastebin) 
http://pastebin.org/79473;
------
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
  xmlns:android="http://schemas.android.com/apk/res/android";
  android:id="@+id/active_rating_layout"
  android:layout_width="fill_parent"
  android:layout_height="wrap_content"
  android:orientation="vertical">
<RatingBar android:id="@+id/ActiveRatingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"/>
<Button android:background="@drawable/no_interest_drk"
android:paddingLeft="24px"
android:layout_below="@id/ActiveRatingBar"
android:layout_centerHorizontal="true"
android:layout_marginTop="45dp"
android:layout_marginBottom="50dp"
android:paddingRight="5dp"
android:text="@string/no_thanks" android:id="@+id/no_thanks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"></Button>
</RelativeLayout>
----



The Market rating bar fits the screen just fine.  - I am just not sure
how they are doing it...

Perhaps a custom layout for those type of screens - but what do i set
differently?
Do I need to override the measure function, or specify something
differently for Droid and Nexus type screens?

Regards!
Eddie
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to