Closed Inzimam-Tariq closed 6 years ago
I will work on this within the week and update you.
Thanks
On Mon, Jan 29, 2018 at 3:04 PM, Kofi Gyan notifications@github.com wrote:
I will work on this within the week and update you.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/kofigyan/StateProgressBar/issues/28#issuecomment-361196792, or mute the thread https://github.com/notifications/unsubscribe-auth/AOcW4g60DuFCISxYoNlwSryGo2ZbXkcnks5tPZe3gaJpZM4RvJ4S .
any update on the Right to Left ? for arabic
@Inzimam-Tariq and @kassemitani is done. I am just preparing to upload it soon. See screenshots below :
Hi @Inzimam-Tariq and @kassemitani ,please can you look at the the implementation of the description of each state and confirm to me whether is consistent with Arabic style of writing.
String[] descriptionData = {"Details", "Status", "Photo", "Confirm" , "Done"};
@Override public void setContentView(int layoutResID) { super.setContentView(layoutResID); stateProgressBar.setStateDescriptionData(descriptionData); }
English(Ascending)
Arabic (Descending)
great job @kofigyan , is it possible to allow to add any drawable inside the circle shape?? Instead of numbers and checkmark.
Thanks @kassemitani for the feedback. I will look into the drawable inside the circle shape request and give you a feedback soon.
Hi @kassemitani , to clarify my question, what should be the proper Arabic representation of this code :
String[] descriptionData = {"Details", "Status", "Photo", "Confirm" , "Done"};
Please is it 1 or 2 ? :
2 is correct
Thank you @kassemitani for the feedback. I will finish with these features and quickly look into your feature(drawable inside the circle shape) request.
Thank you @kofigyan for your awesome work! Let us know when you going to commit changes.
Hi @kassemitani , l will make all the features available to the public most likely this week. This round of updates cover many of the feature requests from users. I am putting the finishing touches to it.
Hi @kassemitani and @Inzimam-Tariq the features are fully implemented now and available to the general public. How to use :
Add to build.gradle
implementation 'com.kofigyan.stateprogressbar:stateprogressbar:0.0.8'
Add attribute in xml file
app:spb_stateNumberIsDescending="true"
Eg.
<com.kofigyan.stateprogressbar.StateProgressBar android:id="@+id/state_progress_bar" android:layout_width="wrap_content" android:layout_height="wrap_content" app:spb_currentStateNumber="three" app:spb_maxStateNumber="four" app:spb_stateNumberIsDescending="true" />
Or add in java code
stateProgressBar.setStateNumberIsDescending(true);
I will be working on full documentation tomorrow after l finish lecturing my students.
Good to know You have fixed it, I will use it in my project. thanks
You are welcome @kassemitani .
I'm developing app in Arabic so I need it to to show step number from RTL like 4, 3, 2, 1 but currently its LTR like 1, 2, 3, 4. How can I do that?