Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid - Thin transparent line running through spinners, device specific?
    primarykey
    data
    text
    <p><img src="https://i.stack.imgur.com/fBwkz.png" alt="Notice the white lines under the arrows"></p> <p>Mysterious transparent lines are showing up in our spinners on certain devices. I've seen this before but there must be a way to get rid of them... I'm assuming it's something janky with the 9-patch used for the graphic.</p> <p>Anyone have any advice? Layout snippet below:</p> <pre><code>&lt;TableRow&gt; &lt;Spinner android:id="@+id/spinnerPostPage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:layout_column="1" /&gt; &lt;/TableRow&gt; </code></pre> <p>UPDATE: Full layout below - no styling external to this layout is used:</p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/bg"&gt; &lt;RelativeLayout android:id="@+id/layoutHeader" android:layout_width="fill_parent" android:layout_height="55dp" android:padding="10dp" android:background="#008db9" &gt; &lt;TextView android:id="@+id/textViewTitle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:text="@string/create_a_craze" android:textSize="24dp" /&gt; &lt;Button android:id="@+id/buttonSave" android:layout_width="wrap_content" android:layout_height="35dp" android:layout_marginRight="5dp" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:text="@string/save" /&gt; &lt;/RelativeLayout&gt; &lt;ScrollView android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_below="@id/layoutHeader" &gt; &lt;RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;TableLayout android:id="@+id/layoutBody" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_below="@id/layoutHeader" android:padding="5dp" &gt; &lt;TableRow&gt; &lt;TextView android:id="@+id/textViewCrazeTitleLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:textColor="#a1a0a3" android:text="@string/craze_title_label" /&gt; &lt;EditText android:id="@+id/editTextCrazeTitle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:maxLength="50" android:hint="@string/craze_title"/&gt; &lt;/TableRow&gt; &lt;TableRow android:layout_width="fill_parent" android:layout_height="wrap_content" &gt; &lt;Button android:id="@+id/buttonAddImage" android:layout_width="wrap_content" android:layout_height="35dp" android:layout_gravity="center_vertical" android:text="@string/add_image" /&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="horizontal" android:gravity="center" &gt; &lt;ImageView android:id="@+id/imageViewThumbnailOne" android:layout_width="fill_parent" android:layout_height="75dp" android:layout_weight="1" android:layout_margin="2dp" android:visibility="gone" /&gt; &lt;ImageView android:id="@+id/imageViewThumbnailTwo" android:layout_width="fill_parent" android:layout_height="75dp" android:layout_weight="1" android:layout_margin="2dp" android:visibility="gone" /&gt; &lt;ImageView android:id="@+id/imageViewThumbnailThree" android:layout_width="fill_parent" android:layout_height="75dp" android:layout_weight="1" android:layout_margin="2dp" android:visibility="gone" /&gt; &lt;/LinearLayout&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;CheckBox android:id="@+id/checkBoxShareLocation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_column="1" android:textColor="#a1a0a3" android:text="@string/share_location_map" android:textSize="12dp" /&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TextView android:id="@+id/textViewPostToLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:textColor="#a1a0a3" android:text="@string/post_title_label" /&gt; &lt;Spinner android:id="@+id/spinnerPostOptions" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" /&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;Spinner android:id="@+id/spinnerPostPage" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:layout_column="1" /&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TextView android:id="@+id/textViewShareCrazeLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10dp" android:layout_gravity="center_vertical" android:textColor="#a1a0a3" android:text="@string/share_craze_label" /&gt; &lt;Spinner android:id="@+id/spinnerPrivacySettings" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:layout_column="1" /&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TextView android:id="@+id/textViewCrazeDescriptionLabel" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#a1a0a3" android:text="@string/craze_description_label" /&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; &lt;EditText android:id="@+id/editTextCrazeDescription" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="5dp" android:layout_marginRight="5dp" android:layout_marginBottom="5dp" android:layout_below="@id/layoutBody" android:minLines="3" android:maxLines="5" android:inputType="textMultiLine" /&gt; &lt;/RelativeLayout&gt; &lt;/ScrollView&gt; &lt;/RelativeLayout&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload