Skip to content

Commit

Permalink
Workaround for visible horizontal line in SRI pano
Browse files Browse the repository at this point in the history
Bug: 7506612

Adjust the weight of the layout's so that the sum of the weights
is a factor of the height/width for vertical/horizontal linear layout
respectively.

Change-Id: I98f9a56ad0d496169d7395708c8059d4e2f2af79
TODO: Work with Frameworks to investigate the root cause.
  • Loading branch information
doris4lt committed Nov 10, 2012
1 parent 3e40e8d commit 09cad06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion res/layout-land/preview_frame_pano.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
android:visibility="invisible"
android:background="@drawable/ic_pan_border_fast"
android:layout_gravity="center"
android:layout_weight="1.67"
android:layout_weight="5"
android:layout_width="match_parent"
android:layout_height="0dp" />

Expand Down
2 changes: 1 addition & 1 deletion res/values-land/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<item name="android:alpha">1.0</item>
<item name="android:layout_height">0dp</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_weight">0.5</item>
<item name="android:layout_weight">1.5</item>
</style>
<style name="SettingPopupWindow_xlarge">
<item name="android:layout_width">wrap_content</item>
Expand Down

0 comments on commit 09cad06

Please sign in to comment.