Comments (5)
This what happen when i scroll :
from recordview.
Hey @marwensniper, that's weird!. can you send me a demo project to investigate into it?
from recordview.
hi @3llomi hope you are well, i can"t send you the apk because you should authentificate with account of client sorry. if you need any other explain i'm here.
from recordview.
i don't need your APK neither this exact project, i just need a 'Sample Project' that demonstrates this issue that you have.
you can create a new dummy project and implement a similar Setup to your project, just to demonstrate the issue.
from recordview.
Finaly, i found a solution :
i create 2 constraintlayout first have android:elevation="2dp"
and the second i add elevation to item with 16dp, and it work :D
This is my new layout :
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:elevation="2dp">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/listviewtimeline"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="8dp"
android:layout_marginTop="4dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tabsDealDetail" />
<com.github.clans.fab.FloatingActionMenu
android:id="@+id/optionDealMenu"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginLeft="11dp"
android:layout_marginRight="11dp"
android:layout_marginBottom="11dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:menu_animationDelayPerItem="55"
app:menu_backgroundColor="@android:color/transparent"
app:menu_buttonSpacing="0dp"
app:menu_colorNormal="@color/colorPrimary"
app:menu_colorPressed="@color/colorDealPerdue"
app:menu_colorRipple="#99d4d4d4"
app:menu_fab_size="normal"
app:menu_icon="@drawable/fab_add"
app:menu_labels_colorNormal="#333"
app:menu_labels_colorPressed="#444"
app:menu_labels_colorRipple="#66efecec"
app:menu_labels_cornerRadius="3dp"
app:menu_labels_ellipsize="none"
app:menu_labels_hideAnimation="@anim/fab_slide_out_to_right"
app:menu_labels_margin="0dp"
app:menu_labels_maxLines="-1"
app:menu_labels_padding="8dp"
app:menu_labels_position="left"
app:menu_labels_showAnimation="@anim/fab_slide_in_from_right"
app:menu_labels_showShadow="true"
app:menu_labels_singleLine="false"
app:menu_labels_textColor="#f2f1f1"
app:menu_labels_textSize="15sp"
app:menu_openDirection="up"
app:menu_shadowColor="#00FFFFFF"
app:menu_shadowRadius="4dp"
app:menu_shadowXOffset="1dp"
app:menu_shadowYOffset="4dp"
app:menu_showShadow="true"
tools:ignore="MissingConstraints">
<com.github.clans.fab.FloatingActionButton
android:id="@+id/bOptionAddNote"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_note_add_24px"
app:fab_colorNormal="#FFFFFF"
app:fab_label="Ajouter une note"
app:fab_size="mini" />
<com.github.clans.fab.FloatingActionButton
android:id="@+id/bOptionAddAudio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_mic_24px"
app:fab_colorNormal="#FFFFFF"
app:fab_label="Enregistrement vocal"
app:fab_size="mini"
app:iconTint="@android:color/white" />
<com.github.clans.fab.FloatingActionButton
android:id="@+id/bOptionAddFichier"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_cloud_upload_24px"
app:fab_colorNormal="#FFFFFF"
app:fab_label="Télécharger un fichier"
app:fab_size="mini"
app:iconTint="@android:color/white" />
</com.github.clans.fab.FloatingActionMenu>
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabsDealDetail"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_gravity="bottom"
android:layout_marginTop="8dp"
android:background="#FFFFFF"
android:elevation="2dp"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/bWonDeal"
app:tabIndicatorColor="@android:color/holo_red_dark"
app:tabMode="fixed"
app:tabTextAppearance="@style/MineCustomTabText">
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Timeline" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Détails" />
</com.google.android.material.tabs.TabLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<com.devlomi.record_view.RecordButton
android:id="@+id/record_button_deal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentBottom="true"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:background="@drawable/recv_bg_mic"
android:scaleType="centerInside"
android:visibility="gone"
android:elevation="16dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:mic_icon="@drawable/recv_ic_mic_white" />
<com.devlomi.record_view.RecordView
android:id="@+id/record_view_deal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:elevation="16dp"
app:counter_time_color="#ff0000"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:slide_to_cancel_arrow="@drawable/recv_ic_arrow"
app:slide_to_cancel_arrow_color="#000000"
app:slide_to_cancel_bounds="8dp"
app:slide_to_cancel_margin_right="10dp"
app:slide_to_cancel_text="Slide To Cancel" />
</androidx.constraintlayout.widget.ConstraintLayout>
from recordview.
Related Issues (20)
- Attempt to invoke interface method 'boolean com.devlomi.record_view.RecordPermissionHandler.isPermissionGranted()' on a null object reference HOT 1
- Recorded Audio HOT 1
- java.lang.NullPointerException: Attempt to invoke virtual method 'void com.devlomi.record_view.RecordView.onActionDown(com.devlomi.record_view.RecordButton, android.view.MotionEvent)' on a null object reference HOT 1
- if the phone's system font size is too large, the audio recording will be canceled as soon as it starts HOT 4
- Can't change the Growing animation scale-up value.
- how change cancel direction HOT 1
- recordview causes recyclerview to malfunction HOT 13
- How can I solve this error? HOT 3
- Seen Weird behaviour when using with epoxy recycler view and parent is constraint layout HOT 1
- Render problems from example app HOT 1
- Render problems from example app HOT 2
- just click on mic HOT 1
- Lock View Like Whatsapp HOT 1
- Listener for recording LOCKED event HOT 1
- UI allignment issue and swipe to cancel not working properly HOT 1
- Exception in MessageQueue callback: handleReceiveCallback java.lang.NullPointerException: Attempt to invoke virtual method 'void com.devlomi.record_view.RecordView.onActionDown(com.devlomi.record_view.RecordButton, android.view.MotionEvent)' on a null object reference HOT 1
- Plugin crashes when quickly tapping on the record button [Very rare] HOT 1
- No display HOT 3
- Lock feature implementation HOT 1
- Lock feature is not properly working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recordview.