background for the logo img
This commit is contained in:
parent
5107684c04
commit
823b2674fa
2 changed files with 4 additions and 1 deletions
|
@ -82,6 +82,8 @@ public class TicketViewActivity extends TicketViewActivityBase {
|
|||
|
||||
barcode_img.setImageBitmap(passbook.getBarcodeBitmap(AXT.at(getWindowManager()).getSmallestSide() / 3));
|
||||
logo_img.setImageBitmap(passbook.getLogoBitmap());
|
||||
|
||||
logo_img.setBackgroundColor(passbook.getBackGroundColor());
|
||||
thumbnail_img.setImageBitmap(passbook.getThumbnailImage());
|
||||
|
||||
if (findViewById(R.id.map_container) != null) {
|
||||
|
|
|
@ -46,7 +46,8 @@
|
|||
|
||||
<ImageView
|
||||
android:id="@+id/logo_img"
|
||||
android:layout_width="wrap_content"
|
||||
android:padding="16dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:contentDescription="@string/logo"
|
||||
android:paddingBottom="10dp"
|
||||
|
|
Loading…
Reference in a new issue