diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-09-25 07:39:48 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-09-25 07:39:48 +0000 |
commit | 1b983c1ff84fc9b8d27830d6801ad63e99d603fa (patch) | |
tree | 7fdcfc1ed9db19b122a81efe493a6ac08c165569 /app/src/main/res/layout | |
parent | b6ebcf1c4c4b849e581c95110c8eeb36926ac72d (diff) | |
download | infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar.gz infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar.bz2 infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar.lz infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar.xz infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.tar.zst infinity-for-reddit-1b983c1ff84fc9b8d27830d6801ad63e99d603fa.zip |
Add options to customize FAB.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/fragment_customize_bottom_app_bar.xml | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml b/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml index 281f7448..fa948016 100644 --- a/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml +++ b/app/src/main/res/layout/fragment_customize_bottom_app_bar.xml @@ -209,6 +209,39 @@ </LinearLayout> + <LinearLayout + android:id="@+id/main_activity_fab_linear_layout_customize_bottom_app_bar_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:text="@string/settings_bottom_app_bar_fab" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_16" + android:fontFamily="?attr/font_family" /> + + <TextView + android:id="@+id/main_activity_fab_text_view_customize_bottom_app_bar_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:textColor="?attr/secondaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> + + </LinearLayout> + <View android:id="@+id/divider_2_customize_bottom_app_bar_fragment" android:layout_width="match_parent" @@ -394,6 +427,39 @@ </LinearLayout> + <LinearLayout + android:id="@+id/other_activities_fab_linear_layout_customize_bottom_app_bar_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingTop="16dp" + android:paddingBottom="16dp" + android:paddingStart="72dp" + android:paddingEnd="16dp" + android:clickable="true" + android:focusable="true" + android:background="?attr/selectableItemBackground"> + + <TextView + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:text="@string/settings_bottom_app_bar_fab" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_16" + android:fontFamily="?attr/font_family" /> + + <TextView + android:id="@+id/other_activities_fab_text_view_customize_bottom_app_bar_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:textColor="?attr/secondaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> + + </LinearLayout> + </LinearLayout> </androidx.core.widget.NestedScrollView>
\ No newline at end of file |