diff --git a/Android/build.gradle b/Android/build.gradle index daec4d827d..6429ed60bf 100644 --- a/Android/build.gradle +++ b/Android/build.gradle @@ -9,8 +9,6 @@ dependencies { compile "com.google.android.gms:play-services-location:${play_services_version}" compile "com.google.android.gms:play-services-analytics:${play_services_version}" - compile 'com.sothree.slidinguppanel:library:2.0.2' - compile "com.android.support:support-v4:${support_lib_version}" compile "com.android.support:appcompat-v7:${support_lib_version}" compile "com.android.support:cardview-v7:${support_lib_version}" @@ -26,6 +24,7 @@ dependencies { compile 'me.grantland:autofittextview:0.2.1' compile(name:'shimmer-android-release', ext:'aar') compile(name:'libuvccamera-release', ext:'aar') + compile(name:'sliding-up-panel-3.3.0', ext:'aar') compile files('libs/droneapi-java-0.3-SNAPSHOT.jar') compile files('libs/protobuf-java-2.5.0.jar') diff --git a/Android/libs/sliding-up-panel-3.3.0.aar b/Android/libs/sliding-up-panel-3.3.0.aar new file mode 100644 index 0000000000..4442d50d5c Binary files /dev/null and b/Android/libs/sliding-up-panel-3.3.0.aar differ diff --git a/Android/res/layout/fragment_flight_data.xml b/Android/res/layout/fragment_flight_data.xml index e2a0dc2106..cd17177602 100644 --- a/Android/res/layout/fragment_flight_data.xml +++ b/Android/res/layout/fragment_flight_data.xml @@ -1,100 +1,120 @@ - + android:orientation="vertical"> - + + + android:gravity="bottom" + android:layout_above="@+id/warningContainer" + sothree:umanoDragView="@+id/flightActionsFragment" + sothree:umanoFadeColor="@android:color/transparent" + sothree:umanoOverlay="true" + sothree:umanoParallaxOffset="0dp" + sothree:umanoShadowHeight="0dp"> - + android:layout_height="match_parent" + > - + - - - - - - - + - + + + android:clickable="false" + android:focusable="false" + android:orientation="vertical" + > - + - + android:clickable="true"> - - - + android:background="@color/transparent_light_grey" + android:minHeight="@dimen/flight_actions_container_height" + > + + + + + + + + + + + + - \ No newline at end of file + \ No newline at end of file diff --git a/Android/res/values-land/styles.xml b/Android/res/values-land/styles.xml index be6e5020a1..c597f99ae0 100644 --- a/Android/res/values-land/styles.xml +++ b/Android/res/values-land/styles.xml @@ -4,4 +4,10 @@ start 55dp + + \ No newline at end of file diff --git a/Android/res/values/styles.xml b/Android/res/values/styles.xml index 6c177b0149..4f760c2e72 100644 --- a/Android/res/values/styles.xml +++ b/Android/res/values/styles.xml @@ -446,6 +446,11 @@ center_horizontal + +