diff options
author | junjiez <junjiez@codeaurora.org> | 2018-07-20 15:17:56 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-03 03:13:22 -0700 |
commit | 04a57b545525db1de7e5fc69b2feb26753692ef4 (patch) | |
tree | 1768c533012d80e155c130df2152fa2950f1ccaa /res | |
parent | fd59af7220a45395048c4a86fa58c0bde365b878 (diff) | |
download | android_packages_apps_Snap-04a57b545525db1de7e5fc69b2feb26753692ef4.tar.gz android_packages_apps_Snap-04a57b545525db1de7e5fc69b2feb26753692ef4.tar.bz2 android_packages_apps_Snap-04a57b545525db1de7e5fc69b2feb26753692ef4.zip |
SnapdragonCamera:Fix stats visualizer
catch the IllegalArgumentException in case
of HAL doesn't have needed vendor tags,
and update the layout to fit the size of
the bitmap in view.
Change-Id: Ieab9d260e5a152eca7136d65724f96757f5f171d
Diffstat (limited to 'res')
-rwxr-xr-x | res/layout/capture_module.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/capture_module.xml b/res/layout/capture_module.xml index 17f14069f..1c012c5c7 100755 --- a/res/layout/capture_module.xml +++ b/res/layout/capture_module.xml @@ -91,15 +91,15 @@ <com.android.camera.Camera2BGBitMap android:id="@+id/bg_stats_graph" android:visibility="gone" - android:layout_width="120dip" - android:layout_height="160dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_marginTop="68dip" android:layout_marginLeft="16dip" /> <com.android.camera.Camera2BEBitMap android:id="@+id/be_stats_graph" android:visibility="gone" - android:layout_width="120dip" - android:layout_height="160dip" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_marginTop="68dip" android:layout_marginLeft="16dip" /> <com.android.camera.DrawAutoHDR2 |