add more bottom margin to bottom buttons
This commit is contained in:
parent
c013f85ce5
commit
e84ab36c79
|
@ -125,7 +125,7 @@ class MainActivity : SimpleActivity(), SensorEventListener, PreviewListener, Pho
|
|||
setContentView(R.layout.activity_main)
|
||||
initButtons()
|
||||
|
||||
(btn_holder.layoutParams as RelativeLayout.LayoutParams).setMargins(0, 0, 0, navBarHeight)
|
||||
(btn_holder.layoutParams as RelativeLayout.LayoutParams).setMargins(0, 0, 0, (navBarHeight + mRes.getDimension(R.dimen.activity_margin)).toInt())
|
||||
|
||||
mCurrCameraId = config.lastUsedCamera
|
||||
mPreview = Preview(this, camera_view, this)
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="@dimen/activity_margin"
|
||||
android:gravity="center_horizontal|bottom">
|
||||
|
||||
<ImageView
|
||||
|
|
Loading…
Reference in New Issue