android-developers
[Arriba] [Todas las Listas]

[android-developers] Re: HorizontalScrollView No mostrar fading el borde

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Re: HorizontalScrollView No mostrar fading el borde cuándo arrastra
From: ron <ronaldylee@xxxxxxxxx>
Date: Sun, 30 Oct 2011 08:55:10 -0700 (PDT)
Delivery-date: Sun, 30 Oct 2011 11:55:28 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:mime-version:date:in-reply-to:references:user-agent :x-http-useragent:message-id:subject:from:to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type :content-transfer-encoding; bh=ul5jTtdvGksQrWW39rt1ZmwMU/pzoMn9e8WvnVKFbOA=; b=3rfHUyQhcthOZq+3y2OrcEhxh2nWZ7cxJqrrZNGIEQ4dN2CzUBvgWVxH7mD9ZpJuBb Vhi7tBOaS9PJMVw8SreASLuRKGaBvXgdp7NNSdoepGeF0OA5qgYylr2RPZJf5sJ40rLM WQO5aXNHO6BohUuR2mXMIDmYm3NkDOkkt3F7g=
Envelope-to: traductor@xxxxxxxxxxx
In-reply-to: <1ac26b73-b985-450f-8b67-25ed96ebd241@s14g2000vbj.googlegroups.com>
List-archive: <http://groups.google.com/group/android-developers?hl=en_US>
List-help: <http://groups.google.com/support/?hl=en_US>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <http://groups.google.com/group/android-developers/post?hl=en_US>, <mailto:android-developers@googlegroups.com>
List-subscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <http://groups.google.com/group/android-developers/subscribe?hl=en_US>, <mailto:android-developers+unsubscribe@googlegroups.com>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
References: <e53767ef-1130-4f04-84b4-e89ac848cb61@y36g2000yqm.googlegroups.com> <1ac26b73-b985-450f-8b67-25ed96ebd241@s14g2000vbj.googlegroups.com>
Reply-to: android-developers@xxxxxxxxxxxxxxxx
Sender: android-developers@xxxxxxxxxxxxxxxx
User-agent: G2/1.0
Lo probé y no trabaja nada.

Recuerdo dentro *ListView puedo utilizar el "*android:*cacheColorHint" para
modificar el *color del *fading borde, pero *HorizontalScrollView no tiene aquello.

Incluso extiendo *HorizontalScrollView y *override funciones seguras pero
todavía no trabajando..

@*Override
	Público *int *getHorizontalFadingEdgeLength()
		#nom 0;
	}

	@*Override
	público *int *getVerticalFadingEdgeLength()
		#nom 0;
	}

	@*Override
	protegió *float *getLeftFadingEdgeStrength()
		#nom 0;
	}

	@*Override
	protegió *float *getRightFadingEdgeStrength()
		#nom 0;
	}

	@*Override
	público *int *getSolidColor()
	    #nom *Color.*argb(0*x00, 0*xaa, 0*xaa, 0*xaa);
	}

En *Oct 30, 4:53 soy, *Pent <supp...@xxxxxxxxxxxxxxxxxx> escribió:
> probaste poner el *fading longitud de borde a 0 ?
>
> *Pent
>
> > Tengo un *HorizontalScrollView y cuándo arrastro el *LinearLayout a la izquierda
> > y borde correcto, una naranja *color *gradient gradualmente aparecerá en
> > los bordes. Mi *quesiton es cómo para conseguir librado de ellos? Estos *gradient sólo
> > aparece cuándo arrastro la vista a la mayoría de izquierdo y correcto. Probé muchas
> > cosas (*fading borde/*foreground *color/*override *getSolidColor.. *etc) Y todavía
> > no podría conseguir librado de él.
>
> > *thanks.
> > Ronald

-- 
recibiste este mensaje porque eres *subscribed al *Google
Grupos "*Android *Developers" grupo.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx
A *unsubscribe de este grupo, envía *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx

Puesto que más opciones, visita este grupo en
*http://grupos.*google.*com/Grupo/*android-*developers?*hl=*en

I tried it and it doesn't work at all.

I remember in ListView I can use the "android:cacheColorHint" to
modify the color of the fading edge, but HorizontalScrollView doesn't
have that.

I even extend HorizontalScrollView and override certain functions but
still not working..

@Override
	public int getHorizontalFadingEdgeLength() {
		return 0;
	}

	@Override
	public int getVerticalFadingEdgeLength() {
		return 0;
	}

	@Override
	protected float getLeftFadingEdgeStrength() {
		return 0;
	}

	@Override
	protected float getRightFadingEdgeStrength() {
		return 0;
	}

	@Override
	public int getSolidColor() {
	    return Color.argb(0x00, 0xaa, 0xaa, 0xaa);
	}

On Oct 30, 4:53 am, Pent <supp...@xxxxxxxxxxxxxxxxxx> wrote:
> You tried setting the fading edge length to 0 ?
>
> Pent
>
> > I have a HorizontalScrollView and when I drag the LinearLayout to the
> > left and right edge, a orange color gradient will gradually appear on
> > the edges. My quesiton is how to get rid of them? These gradient only
> > appears when I drag the view to the most left and right. I tried many
> > things (fading edge/foreground color/override getSolidColor.. etc) and
> > still couldn't get rid of it.
>
> > thanks.
> > Ronald

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

<Anterior por Tema] Tema Actual [Siguiente por Tema>