Closed iluhcm closed 8 years ago
Hi,
The project is so good to me and everyone. I just use it for a few days and found something that I can't handle with the DiscreteSeekBar...
Here is my xml file activity_test.xml:
activity_test.xml
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <org.adw.library.widgets.discreteseekbar.DiscreteSeekBar android:id="@+id/discrete3" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" android:visibility="gone" app:dsb_indicatorFormatter="%04d" app:dsb_max="1000" app:dsb_min="1" /> </RelativeLayout>
TestActivity.java
public class TestActivity extends BaseActivity { private DiscreteSeekBar mDiscreteSeekBar; @Override protected int getLayoutResource() { return R.layout.activity_test; } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mDiscreteSeekBar = (DiscreteSeekBar) findViewById(R.id.discrete3); mDiscreteSeekBar.setVisibility(View.VISIBLE); } }
The bubble can't be seen for this condition. No matter whether I set android:visibility="gone/invisible"
When I remove the code from the xml file, the bubble is back.
Hi,
The project is so good to me and everyone. I just use it for a few days and found something that I can't handle with the DiscreteSeekBar...
Here is my xml file
activity_test.xml
:TestActivity.java
The bubble can't be seen for this condition. No matter whether I set android:visibility="gone/invisible"
When I remove the code from the xml file, the bubble is back.