diff options
author | Javier <dev.git@javispedro.com> | 2020-08-20 17:31:26 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-08-20 17:31:26 +0200 |
commit | be37f7361f211a95604cb6eaf1566e5de5b7531b (patch) | |
tree | 389379119699b5470f1e9569e316be9f55950e52 /app/src/main/res/layout | |
parent | cdbc20ef11639e8e953a88b458c3046dfc26bd5d (diff) | |
download | wallmotion-be37f7361f211a95604cb6eaf1566e5de5b7531b.tar.gz wallmotion-be37f7361f211a95604cb6eaf1566e5de5b7531b.zip |
add new floating action button to directly open video file picker
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 4521d0a..3081e15 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -32,13 +32,27 @@ </com.google.android.material.appbar.AppBarLayout> - <com.google.android.material.floatingactionbutton.FloatingActionButton - android:id="@+id/set_wallpaper" + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" android:layout_margin="@dimen/fab_margin" - app:srcCompat="@drawable/ic_action_wallpaper" /> + android:orientation="vertical"> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/set_file" + android:layout_width="match_parent" + android:layout_height="wrap_content" + app:srcCompat="@drawable/ic_action_video_library" /> + + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/set_wallpaper" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="@dimen/fab_margin" + app:srcCompat="@drawable/ic_action_wallpaper" /> + </LinearLayout> + </FrameLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |