Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

Fab to CircularRevealFrameLayout example

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout
        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"
        tools:context=".MainActivity">

    <com.google.android.material.circularreveal.CircularRevealLinearLayout
            android:id="@+id/dial"
            android:layout_height="match_parent"
            android:layout_width="match_parent"
            android:orientation="horizontal"
            android:layout_gravity="bottom|center_horizontal"
            android:visibility="invisible"
            android:layout_marginBottom="16dp"
            app:layout_anchor="@id/fab"
            app:layout_anchorGravity="top|center_horizontal"
            android:background="@color/colorPrimary"
            app:layout_behavior="com.google.android.material.transformation.FabTransformationSheetBehavior">

        <ImageButton
                android:id="@+id/back" 
                android:layout_width="wrap_content" 
                android:layout_height="wrap_content"
                android:src="@drawable/back"/>

    </com.google.android.material.circularreveal.CircularRevealLinearLayout>


    <com.google.android.material.floatingactionbutton.FloatingActionButton
            android:id="@+id/fab"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|end"
            android:layout_margin="@dimen/fab_margin"
            android:backgroundTint="@color/colorPrimary"
            app:srcCompat="@android:drawable/ic_dialog_email"/>

</androidx.coordinatorlayout.widget.CoordinatorLayout>
Comment

PREVIOUS NEXT
Code Example
Java :: nitrite get repo structure 
Sql :: FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False to suppress this warning. 
Sql :: delete all nodes neo4j 
Sql :: search text in all sql server stored procedure 
Sql :: mysql create user 
Sql :: uninstall mysql ubuntu 
Sql :: brew restart mysql 
Sql :: postgresql update sequence next value 
Sql :: cant install mysqlclient 
Sql :: apex execute batch job 
Sql :: sql add column after another 
Sql :: finding last created table mysql 
Sql :: join first name and last name sql 
Sql :: create database if not exists 
Sql :: sql now - 1 day 
Sql :: sql add year to date 
Sql :: mysql drop database if exists 
Sql :: restart postgresql.service Failed to restart postgresql.service: Unit not found. 
Sql :: oracle list packages 
Sql :: search stored procedures by name 
Sql :: oracle add column 
Sql :: mysql where one year ago 
Sql :: oracle table statistics last analyzed 
Sql :: postgresql print variable 
Sql :: postgresql drop primary key constraint 
Sql :: how to get all table names in sql query 
Sql :: sql eliminare un record 
Sql :: mysql remove last empty newline 
Sql :: what is meant by trigger in dbms 
Sql :: funzioni plsql 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =