-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
是否支持下标指示器固定宽度时左对齐 #36
Comments
这个暂时没有呢,最近比较忙,估计没时间弄,你可以参考 ResAction ,修改 config 的坐标值,用自定义 action 的方式试试呢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问下是否支持下标指示器固定宽度的情况下左对齐呢,现在设置app:tab_width="50dp"固定宽度后,如果title文字较长的情况下,指示器是相对文字居中显示的,是否只是左对齐显示呢?
<com.zhengsr.tablib.view.flow.TabFlowLayout
android:id="@+id/resflow"
android:layout_width="wrap_content"
android:layout_marginTop="10dp"
app:tab_type="res"
android:background="#6D8FB0"
app:tab_item_res="@drawable/indictor"
app:tab_width="50dp"
app:tab_height="30dp"
app:tab_click_animTime="250"
app:tab_item_autoScale="true"
app:tab_scale_factor="1.2"
app:tab_text_select_color="@color/white"
app:tab_text_unselect_color="@color/unselect"
android:layout_height="wrap_content"/>
final TabVpFlowLayout flowLayout = findViewById(R.id.resflow);
The text was updated successfully, but these errors were encountered: