...
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<scale xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_quint"
|
||||
android:fromXScale="1.0"
|
||||
android:toXScale="0.0"
|
||||
android:fromYScale="1.0"
|
||||
android:toYScale="0.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="200" />
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<scale xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot"
|
||||
android:fromXScale="0.0"
|
||||
android:toXScale="1.0"
|
||||
android:fromYScale="0.0"
|
||||
android:toYScale="1.0"
|
||||
android:pivotX="50%"
|
||||
android:pivotY="50%"
|
||||
android:duration="200" />
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot">
|
||||
<alpha
|
||||
android:fromAlpha="0"
|
||||
android:toAlpha="1"
|
||||
android:duration="300" />
|
||||
<translate
|
||||
android:fromXDelta="-15%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/overshoot">
|
||||
<alpha
|
||||
android:fromAlpha="0"
|
||||
android:toAlpha="1"
|
||||
android:duration="300" />
|
||||
<translate
|
||||
android:fromXDelta="15%p"
|
||||
android:toXDelta="0"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_quint">
|
||||
<alpha
|
||||
android:fromAlpha="1"
|
||||
android:toAlpha="0"
|
||||
android:duration="150" />
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="-30%p"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:interpolator="@android:interpolator/accelerate_quint">
|
||||
<alpha
|
||||
android:fromAlpha="1"
|
||||
android:toAlpha="0"
|
||||
android:duration="150" />
|
||||
<translate
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="30%p"
|
||||
android:duration="200" />
|
||||
</set>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 229 B |
@@ -1,7 +1,7 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp" android:height="24dp"
|
||||
android:viewportWidth="24" android:viewportHeight="24"
|
||||
android:tint="?attr/colorControlNormal">
|
||||
android:tint="@color/Color_White">
|
||||
<path
|
||||
android:fillColor="?android:attr/textColorPrimary"
|
||||
android:pathData="M11.35,16.75H12.7V12.7H16.75V11.35H12.7V7.25H11.35V11.35H7.25V12.7H11.35ZM12,21.5Q10.025,21.5 8.3,20.75Q6.575,20 5.287,18.725Q4,17.45 3.25,15.712Q2.5,13.975 2.5,12Q2.5,10.025 3.25,8.287Q4,6.55 5.287,5.262Q6.575,3.975 8.3,3.237Q10.025,2.5 12,2.5Q13.975,2.5 15.713,3.237Q17.45,3.975 18.738,5.262Q20.025,6.55 20.763,8.287Q21.5,10.025 21.5,12Q21.5,13.975 20.763,15.7Q20.025,17.425 18.738,18.712Q17.45,20 15.713,20.75Q13.975,21.5 12,21.5ZM12,20.15Q15.425,20.15 17.788,17.787Q20.15,15.425 20.15,12Q20.15,8.575 17.788,6.212Q15.425,3.85 12,3.85Q8.575,3.85 6.213,6.212Q3.85,8.575 3.85,12Q3.85,15.425 6.213,17.787Q8.575,20.15 12,20.15ZM12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Q12,12 12,12Z"/>
|
||||
|
||||
@@ -19,44 +19,64 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@id/tabs_sc"/>
|
||||
app:layout_constraintBottom_toTopOf="@id/current_address"/>
|
||||
|
||||
<HorizontalScrollView
|
||||
android:id="@+id/tabs_sc"
|
||||
<ImageButton
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/fragment_container"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:id="@+id/back"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="visible"
|
||||
android:background="@null"
|
||||
android:src="@drawable/back_vector"
|
||||
android:tint="@color/white"
|
||||
android:foregroundTint="@color/white"
|
||||
android:layout_width="40dp"
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp" />
|
||||
<TextView
|
||||
android:text="asdasdsadasd"
|
||||
android:id="@+id/current_address"
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintRight_toLeftOf="@id/share"
|
||||
app:layout_constraintLeft_toRightOf="@id/back"
|
||||
android:textColor="@color/white"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/_12sp"
|
||||
android:ellipsize="middle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="40dp"/>
|
||||
<ImageButton
|
||||
app:layout_constraintTop_toTopOf="@id/back"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_marginBottom="@dimen/_14sp"
|
||||
android:layout_height="wrap_content">
|
||||
<RadioGroup
|
||||
android:id="@+id/tabs"
|
||||
android:orientation="horizontal"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:singleSelection="true"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp">
|
||||
|
||||
</RadioGroup>
|
||||
|
||||
|
||||
</HorizontalScrollView>
|
||||
|
||||
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionMenu
|
||||
android:layout_marginRight="60dp"
|
||||
android:id="@+id/share"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="visible"
|
||||
android:background="@null"
|
||||
android:tint="@color/white"
|
||||
android:foregroundTint="@color/white"
|
||||
android:src="@drawable/ic_share"
|
||||
android:layout_width="40dp"
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp" />
|
||||
<bums.lunatic.launcher.view.FloatingActionMenu
|
||||
android:id="@+id/floating_action_menu"
|
||||
android:layout_margin="5dp"
|
||||
app:menu_colorNormal="#80FF0000"
|
||||
app:menu_fab_size="mini"
|
||||
app:menu_icon="@drawable/ic_add"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_width="match_parent"
|
||||
>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="feeds"
|
||||
android:id="@+id/feeds"
|
||||
app:fab_showShadow="true"
|
||||
@@ -64,7 +84,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="booktoki"
|
||||
android:id="@+id/books"
|
||||
app:fab_showShadow="true"
|
||||
@@ -72,7 +92,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="newtoki"
|
||||
android:id="@+id/webtoons"
|
||||
app:fab_showShadow="true"
|
||||
@@ -80,7 +100,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="manatoki"
|
||||
android:id="@+id/comics"
|
||||
app:fab_showShadow="true"
|
||||
@@ -88,7 +108,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="perplexity"
|
||||
android:id="@+id/perplexity"
|
||||
app:fab_showShadow="true"
|
||||
@@ -96,7 +116,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="zota"
|
||||
android:id="@+id/zota"
|
||||
app:fab_showShadow="true"
|
||||
@@ -104,7 +124,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="twitter"
|
||||
android:id="@+id/twitter"
|
||||
app:fab_showShadow="true"
|
||||
@@ -112,7 +132,7 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
<aeonlabs.solutions.common.layout.fab.FloatingActionButton
|
||||
<bums.lunatic.launcher.view.FloatingActionButton
|
||||
app:fab_label="magnet"
|
||||
android:id="@+id/magnet"
|
||||
app:fab_showShadow="true"
|
||||
@@ -120,5 +140,5 @@
|
||||
android:onClick="floatClick"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="20dp"/>
|
||||
</aeonlabs.solutions.common.layout.fab.FloatingActionMenu>
|
||||
</bums.lunatic.launcher.view.FloatingActionMenu>
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
@@ -23,23 +23,10 @@
|
||||
android:foregroundTint="@color/finestSilver"
|
||||
tools:ignore="ContentDescription,UseAppTint"
|
||||
android:layout_height="30dp" />
|
||||
|
||||
<ImageButton
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:id="@+id/back"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="visible"
|
||||
android:background="@null"
|
||||
android:src="@drawable/back_vector"
|
||||
android:tint="@color/white"
|
||||
android:foregroundTint="@color/white"
|
||||
android:layout_width="40dp"
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp" />
|
||||
<ImageButton
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@id/back"
|
||||
android:id="@+id/vote"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
@@ -65,20 +52,7 @@
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp"
|
||||
/>
|
||||
<ImageButton
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintRight_toLeftOf="@id/hide"
|
||||
android:id="@+id/share"
|
||||
android:scaleType="fitCenter"
|
||||
android:adjustViewBounds="true"
|
||||
android:visibility="visible"
|
||||
android:background="@null"
|
||||
android:tint="@color/white"
|
||||
android:foregroundTint="@color/white"
|
||||
android:src="@drawable/ic_share"
|
||||
android:layout_width="40dp"
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp" />
|
||||
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/home"
|
||||
@@ -105,22 +79,7 @@
|
||||
android:adjustViewBounds="true"
|
||||
tools:ignore="ContentDescription"
|
||||
android:layout_height="40dp"/>
|
||||
<ImageButton
|
||||
android:layout_marginLeft="10dp"
|
||||
android:id="@+id/privateBtn"
|
||||
app:layout_constraintTop_toTopOf="@id/home"
|
||||
app:layout_constraintBottom_toBottomOf="@id/home"
|
||||
app:layout_constraintLeft_toRightOf="@id/bookmark"
|
||||
android:src="@drawable/bookmark"
|
||||
android:scaleType="fitCenter"
|
||||
android:background="@null"
|
||||
android:layout_width="20dp"
|
||||
android:tint="@color/finestSilver"
|
||||
android:foregroundTint="@color/finestSilver"
|
||||
android:alpha="0.2"
|
||||
android:adjustViewBounds="true"
|
||||
tools:ignore="ContentDescription,UseAppTint"
|
||||
android:layout_height="20dp"/>
|
||||
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
||||
|
||||
@@ -14,4 +14,87 @@
|
||||
<attr name="cbd_calendar_row"/>
|
||||
</declare-styleable>
|
||||
|
||||
|
||||
<declare-styleable name="FloatingActionButton">
|
||||
<attr name="fab_colorNormal" format="color" />
|
||||
<attr name="fab_colorPressed" format="color" />
|
||||
<attr name="fab_colorDisabled" format="color" />
|
||||
<attr name="fab_colorRipple" format="color" />
|
||||
<attr name="fab_showShadow" format="boolean" />
|
||||
<attr name="fab_shadowColor" format="color" />
|
||||
<attr name="fab_shadowRadius" format="dimension" />
|
||||
<attr name="fab_shadowXOffset" format="dimension" />
|
||||
<attr name="fab_shadowYOffset" format="dimension" />
|
||||
<attr name="fab_size" format="enum">
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="mini" value="1" />
|
||||
</attr>
|
||||
<attr name="fab_showAnimation" format="reference" />
|
||||
<attr name="fab_hideAnimation" format="reference" />
|
||||
<attr name="fab_label" format="string" />
|
||||
<attr name="fab_elevationCompat" format="dimension" />
|
||||
<attr name="fab_progress_color" format="color" />
|
||||
<attr name="fab_progress_backgroundColor" format="color" />
|
||||
<attr name="fab_progress_indeterminate" format="boolean" />
|
||||
<attr name="fab_progress_max" format="integer" />
|
||||
<attr name="fab_progress" format="integer" />
|
||||
<attr name="fab_progress_showBackground" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="FloatingActionMenu">
|
||||
<attr name="menu_showShadow" format="boolean" />
|
||||
<attr name="menu_buttonSpacing" format="dimension" />
|
||||
<attr name="menu_labels_margin" format="dimension" />
|
||||
<attr name="menu_labels_showAnimation" format="reference" />
|
||||
<attr name="menu_labels_hideAnimation" format="reference" />
|
||||
<attr name="menu_labels_paddingTop" format="dimension" />
|
||||
<attr name="menu_labels_paddingLeft" format="dimension" />
|
||||
<attr name="menu_labels_paddingRight" format="dimension" />
|
||||
<attr name="menu_labels_paddingBottom" format="dimension" />
|
||||
<attr name="menu_labels_padding" format="dimension" />
|
||||
<attr name="menu_labels_textColor" format="reference|color" />
|
||||
<attr name="menu_labels_textSize" format="dimension" />
|
||||
<attr name="menu_labels_cornerRadius" format="dimension" />
|
||||
<attr name="menu_labels_showShadow" format="boolean" />
|
||||
<attr name="menu_labels_colorNormal" format="color" />
|
||||
<attr name="menu_labels_colorPressed" format="color" />
|
||||
<attr name="menu_labels_colorRipple" format="color" />
|
||||
<attr name="menu_labels_position" format="enum">
|
||||
<enum name="left" value="0" />
|
||||
<enum name="right" value="1" />
|
||||
</attr>
|
||||
<attr name="menu_icon" format="reference" />
|
||||
<attr name="menu_animationDelayPerItem" format="integer" />
|
||||
<attr name="menu_buttonToggleAnimation" format="reference" />
|
||||
<attr name="menu_labels_singleLine" format="boolean" />
|
||||
<attr name="menu_labels_ellipsize" format="enum">
|
||||
<enum name="none" value="0" />
|
||||
<enum name="start" value="1" />
|
||||
<enum name="middle" value="2" />
|
||||
<enum name="end" value="3" />
|
||||
<enum name="marquee" value="4" />
|
||||
</attr>
|
||||
<attr name="menu_labels_maxLines" format="integer" />
|
||||
<attr name="menu_fab_size" format="enum">
|
||||
<enum name="normal" value="0" />
|
||||
<enum name="mini" value="1" />
|
||||
</attr>
|
||||
<attr name="menu_labels_style" format="reference" />
|
||||
<attr name="menu_labels_customFont" format="string" />
|
||||
<attr name="menu_shadowColor" format="color" />
|
||||
<attr name="menu_shadowRadius" format="dimension" />
|
||||
<attr name="menu_shadowXOffset" format="dimension" />
|
||||
<attr name="menu_shadowYOffset" format="dimension" />
|
||||
<attr name="menu_colorNormal" format="color" />
|
||||
<attr name="menu_colorPressed" format="color" />
|
||||
<attr name="menu_colorRipple" format="color" />
|
||||
<attr name="menu_openDirection" format="enum">
|
||||
<enum name="up" value="0" />
|
||||
<enum name="down" value="1" />
|
||||
</attr>
|
||||
<attr name="menu_backgroundColor" format="color" />
|
||||
<attr name="menu_fab_label" format="string" />
|
||||
<attr name="menu_fab_show_animation" format="reference" />
|
||||
<attr name="menu_fab_hide_animation" format="reference" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
@@ -39,4 +39,9 @@
|
||||
<dimen name="main_top_height">30dp</dimen>
|
||||
<dimen name="textview_padding">15dp</dimen>
|
||||
<dimen name="setting_item_height">45dp</dimen>
|
||||
|
||||
<dimen name="fab_size_normal">56dp</dimen>
|
||||
<dimen name="fab_size_mini">40dp</dimen>
|
||||
<dimen name="labels_text_size">14sp</dimen>
|
||||
|
||||
</resources>
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<item name="fab_label" type="id"/>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user