Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Commit

Permalink
Fixed drawing of long texts on the info overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
markhaehnel committed Jul 27, 2016
1 parent eec77ad commit 66d5e8e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,26 @@
android:id="@+id/textNewVersionAvailable"
android:textColor="#b2ffffff"
android:visibility="invisible"
android:layout_gravity="left|bottom"
android:layout_marginLeft="32dp"
android:layout_gravity="start|bottom"
android:layout_marginStart="32dp"
android:layout_marginBottom="32dp"
android:background="@color/overlayBackground"
android:paddingLeft="16dp"
android:paddingTop="8dp"
android:paddingRight="16dp"
android:paddingBottom="8dp"
android:drawableLeft="@android:drawable/ic_menu_info_details"
android:singleLine="false"
android:drawableStart="@android:drawable/ic_menu_info_details"
android:maxLines="1"
android:gravity="center" />

<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_gravity="left|center_vertical"
android:layout_gravity="start|center_vertical"
android:id="@+id/containerSchedule"
android:background="@color/overlayBackground"
android:visibility="invisible"></LinearLayout>
android:visibility="invisible" />

<LinearLayout
android:orientation="vertical"
Expand All @@ -86,7 +86,6 @@
android:textColor="#b2ffffff"
android:visibility="visible"
android:textAlignment="textEnd"
android:layout_column="1"
android:layout_gravity="end" />

<LinearLayout
Expand All @@ -109,7 +108,8 @@
android:textColor="#b2ffffff"
android:visibility="visible"
android:textAlignment="textEnd"
android:layout_column="1"
android:maxLines="1"
android:ellipsize="end"
android:layout_gravity="end" />
</LinearLayout>

Expand Down

0 comments on commit 66d5e8e

Please sign in to comment.