Coder Social home page Coder Social logo

Listview and record view about recordview HOT 5 CLOSED

3llomi avatar 3llomi commented on July 18, 2024
Listview and record view

from recordview.

Comments (5)

marwensniper avatar marwensniper commented on July 18, 2024

This what happen when i scroll :

Screenshot_20200414_124939_comunik com comuniksaleslite

from recordview.

3llomi avatar 3llomi commented on July 18, 2024

Hey @marwensniper, that's weird!. can you send me a demo project to investigate into it?

from recordview.

marwensniper avatar marwensniper commented on July 18, 2024

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.

3llomi avatar 3llomi commented on July 18, 2024

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.

marwensniper avatar marwensniper commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.