-
Notifications
You must be signed in to change notification settings - Fork 423
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
加载一个线性 xml布局 左右滑动不了 单纯的图片imageview是没问题的 #112
Comments
请描述清楚一点,或者添加一下截图+代码 |
就是item布局里面 是一个单纯的linearlayout 里面存放几个textview控件 这样就造成bannerview展示的这个item 手动滑动不了
…------------------ 原始邮件 ------------------
发件人: "JayZhou"<[email protected]>;
发送时间: 2019年8月5日(星期一) 上午10:56
收件人: "pinguo-zhouwei/MZBannerView"<[email protected]>;
抄送: "∑═/aiq═→"<[email protected]>;"Author"<[email protected]>;
主题: Re: [pinguo-zhouwei/MZBannerView] 加载一个线性 xml布局 左右滑动不了 单纯的图片imageview是没问题的 (#112)
请描述清楚一点,或者添加一下截图+代码
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我抽空验证一下,应该是没问题的 |
完了我这边确定了 是手势冲突问题 让item外层的线性布局不拦截手势就没问题了 但是不明白 viewpager和线性布局为什么会存在手势冲突问题
…------------------ 原始邮件 ------------------
发件人: "JayZhou"<[email protected]>;
发送时间: 2019年8月5日(星期一) 中午11:04
收件人: "pinguo-zhouwei/MZBannerView"<[email protected]>;
抄送: "∑═/aiq═→"<[email protected]>;"Author"<[email protected]>;
主题: Re: [pinguo-zhouwei/MZBannerView] 加载一个线性 xml布局 左右滑动不了 单纯的图片imageview是没问题的 (#112)
我抽空验证一下,应该是没问题的
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical">
<TextView
android:id="@+id/rank"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:singleLine="true"
android:textColor="#FFDD65"
android:layout_marginTop="18dp"
android:gravity="center_horizontal"
android:textSize="10dp"
tools:text = "第2名"/>
<TextView
android:id="@+id/text2"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:singleLine="true"
android:textSize="9dp"
android:gravity="center_horizontal"
android:textColor="#FFFFFF"
tools:text="距离上一名"
android:clickable="false"/>
<TextView
android:id="@+id/text3"
android:layout_width="70dp"
android:layout_height="wrap_content"
android:singleLine="true"
android:textColor="#FFDD65"
android:gravity="center_horizontal"
android:textSize="12dp"
tools:text = "200"/>
</LinearLayout>
item是这个布局的时候 手势滑动就不好使 你可以试试 我们这边有点急 看看能先帮忙看下不 谢谢
…------------------ 原始邮件 ------------------
发件人: "JayZhou"<[email protected]>;
发送时间: 2019年8月5日(星期一) 中午11:04
收件人: "pinguo-zhouwei/MZBannerView"<[email protected]>;
抄送: "∑═/aiq═→"<[email protected]>;"Author"<[email protected]>;
主题: Re: [pinguo-zhouwei/MZBannerView] 加载一个线性 xml布局 左右滑动不了 单纯的图片imageview是没问题的 (#112)
我抽空验证一下,应该是没问题的
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题
The text was updated successfully, but these errors were encountered: