How can I get a working vertical SeekBar in Android?

Here is a working VerticalSeekBar implementation: package android.widget; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.MotionEvent; public class VerticalSeekBar extends SeekBar { public VerticalSeekBar(Context context) { super(context); } public VerticalSeekBar(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } public VerticalSeekBar(Context context, AttributeSet attrs) { super(context, attrs); } protected void onSizeChanged(int w, int h, … Read more

How to make a vertical SeekBar in Android?

For API 11 and later, can use seekbar’s XML attributes(android:rotation=”270″) for vertical effect. <SeekBar android:id=”@+id/seekBar1″ android:layout_width=”match_parent” android:layout_height=”wrap_content” android:rotation=”270″/> For older API level (ex API10), only use Selva’s answer: https://github.com/AndroSelva/Vertical-SeekBar-Android

Custom seekbar (thumb size, color and background)

All done in XML (no .png images). The clever bit is border_shadow.xml. All about the vectors these days… Screenshot: This is your SeekBar (res/layout/???.xml): SeekBar <SeekBar android:id=”@+id/seekBar_luminosite” android:layout_width=”300dp” android:layout_height=”wrap_content” android:progress=”@integer/luminosite_defaut” android:progressDrawable=”@drawable/seekbar_style” android:thumb=”@drawable/custom_thumb”/> Let’s make it stylish (so you can easily customize it later): style res/drawable/seekbar_style.xml: <?xml version=”1.0″ encoding=”utf-8″?> <layer-list xmlns:android=”http://schemas.android.com/apk/res/android” > <item android:id=”@android:id/background” android:drawable=”@drawable/border_shadow” > … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)